This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001254] New: "i386 PC Hardware Setup" is out of date
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: unassigned at bugs dot ecos dot sourceware dot org
- Date: Tue, 31 May 2011 16:43:07 +0100
- Subject: [Bug 1001254] New: "i386 PC Hardware Setup" is out of date
- Auto-submitted: auto-generated
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001254
Summary: "i386 PC Hardware Setup" is out of date
Product: eCos
Version: 3.0
Platform: pc (i386 PC target)
OS/Version: Other
Status: UNCONFIRMED
Severity: enhancement
Priority: low
Component: User's Guide
AssignedTo: unassigned@bugs.ecos.sourceware.org
ReportedBy: stephen@centtech.com
CC: ecos-bugs@ecos.sourceware.org
Class: Advice Request
The documentation under "I386 PC Hardware Setup" in the
eCos User's Guide is out of date. For example, the grub
information is obsolete since the release of Grub 2.0.
I would like to update this information and add a USB key
boot section. The floppy method is probably not an
option for most people these days.
Here's my original email:
Thanks,
Stephen
--------------------------------------------------------------
Hello,
I've spent a very frustrating two days trying to
get redboot onto a usb drive. Fortunately, I having it working
now. It seems to me that a lot of this time could have
been avoided if the "i386 PC Hardware Setup" section in the
"eCos User Guide" was updated. It is seriously out of date.
For example, one of the steps for Floppy Disk Support
is to mount the drive with the following command:
mount -f -b //./a: /dev/fd0
The "-b" is no longer supported. It has been changed
to "-o binary". So, things like this need to be updated.
More importantly, the GRUB section needs to updated for the
GRUB 2 configuration file "grub.cfg" instead of "menu.lst".
This assumes that most distributions of linux are shipping with
GRUB 2 now. Cygwin comes with GRUB2.
I would be interested in updating the
"i386 PC Hardware Setup" section if given the chance. Here's
a quick run down of my steps to install grub on a usb drive.
Thanks,
Stephen
CYGWIN
======
1) format drive using Windows Explorer
2) mount -f -o binary //./a: /dev/fd0
3) cat /proc/partitions
# find your install drive
major minor #blocks name
8 0 156290904 sda
8 1 102400 sda1
8 2 156185600 sda2
8 16 2008064 sdb
8 17 2000061 sdb1
4) grub-install --root-directory=/cygdrive/e /dev/sdb
5) cd /cygdrive/e/boot/grub
6) vi grub.cfg
---------------------------------
# Timeout for menu
set timeout=10
# Set default boot entry as Entry 0
set default=0
# Entry 0 - redboot
menuentry "redboot from hd0,1" {
set root=(hd0,1)
multiboot /boot/redboot.elf
}
---------------------------------
7) cp redboot.elf /cygdrive/e/boot
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.