|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I am trying to make a CDROM Grub boot disc so that I can boot my system
if the MBR is overwritten or the default partition is removed. I made an eltorito CD with stage2_eltorito and my menu.lst file in the CD's /boot/grub using the instructions in the manual at http://www.gnu.org/software/grub/man...ble-CD_002dROM The CD boots and the blue menu is displayed, but none of the menu items will boot anything. These are the messages on the screen: Booting 'Debian GNU/Linux, kernel 2.6.18-3-686' root (hd0,5) Filesystem type is extfs, partition type 0x83 kernel /boot/vmlinuz-2.6.18-3-686 root=/dev/hda6 ro [Linux-bzImage, setup=0x1e00, size=0x131990] initrd /boot/initrd.img-2.6.18-3-686 [Linux-initrd @ 0xfb37000, 0x4a8421 bytes] savedefault Error 15: File not found Press any key to continue... Pressing a key returns me to the menu. Trying again always results in Booting 'Debian GNU/Linux, kernel 2.6.18-3-686' Error 25: Disk read error Press any key to continue... Can anyone please suggest why Grub does not boot the system? -- Chris. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Fri February 23 2007 08:55, Chris Lale wrote:
> I am trying to make a CDROM Grub boot disc so that I can boot my system > if the MBR is overwritten or the default partition is removed. > > I made an eltorito CD with stage2_eltorito and my menu.lst file in the > CD's /boot/grub using the instructions in the manual at > http://www.gnu.org/software/grub/man...UB-bootable-CD >_002dROM.html#Making-a-GRUB-bootable-CD_002dROM > > The CD boots and the blue menu is displayed, but none of the menu items > will boot anything. These are the messages on the screen: > > Booting 'Debian GNU/Linux, kernel 2.6.18-3-686' > > root (hd0,5) > Filesystem type is extfs, partition type 0x83 > kernel /boot/vmlinuz-2.6.18-3-686 root=/dev/hda6 ro > [Linux-bzImage, setup=0x1e00, size=0x131990] > initrd /boot/initrd.img-2.6.18-3-686 > [Linux-initrd @ 0xfb37000, 0x4a8421 bytes] > savedefault > > Error 15: File not found > > Press any key to continue... > > > Pressing a key returns me to the menu. Trying again always results in > > Booting 'Debian GNU/Linux, kernel 2.6.18-3-686' > > Error 25: Disk read error > > Press any key to continue... > > > Can anyone please suggest why Grub does not boot the system? I can't see anything wrong with the above.. but the latest etch install disks do have a rescue mode so you can boot that way if need be. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Fri, Feb 23, 2007 at 04:55:14PM +0000, Chris Lale wrote:
> I am trying to make a CDROM Grub boot disc so that I can boot my system > if the MBR is overwritten or the default partition is removed. > > I made an eltorito CD with stage2_eltorito and my menu.lst file in the > CD's /boot/grub using the instructions in the manual at > http://www.gnu.org/software/grub/man...ble-CD_002dROM > > The CD boots and the blue menu is displayed, but none of the menu items > will boot anything. These are the messages on the screen: > > Booting 'Debian GNU/Linux, kernel 2.6.18-3-686' > > root (hd0,5) > Filesystem type is extfs, partition type 0x83 > kernel /boot/vmlinuz-2.6.18-3-686 root=/dev/hda6 ro > [Linux-bzImage, setup=0x1e00, size=0x131990] > initrd /boot/initrd.img-2.6.18-3-686 > [Linux-initrd @ 0xfb37000, 0x4a8421 bytes] > savedefault > > Error 15: File not found > > Press any key to continue... so grub cannot find the file, probably the kernel. have you tried the grub command line? maybe you've got the disks misnamed or something. A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF3y3RaIeIEqwil4YRAn+fAJ9QfiS/vZH4afXaaZ01t/GhIRy96QCg0s0Z ei7jRMbcWAJPWsEP66UugBA= =3Sqh -----END PGP SIGNATURE----- |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Andrew Sackville-West wrote:
> On Fri, Feb 23, 2007 at 04:55:14PM +0000, Chris Lale wrote: > >> [...] >> >> Error 15: File not found >> >> Press any key to continue... >> > > so grub cannot find the file, probably the kernel. have you tried the > grub command line? maybe you've got the disks misnamed or something. > > I narrowed the problem down to menu.lst. Thanks, Andrew, for suggesting the command line which worked fine, after booting from the Grub boot CD, despite reporting an error for the "savedefault" command: grub> savedefault Error 27: Unrecognised command This error does not arise when I boot and use the command line from a Grub boot floppy. I am guessing that this error is something to do with the CD being read-only. My solution is to remove all the "savedefault" commands from the copy of menu.lst on the CD. I have documented the whole process here: http://newbiedoc.berlios.de/wiki/How...U/Linux_system Thanks to Alan and Andrew. -- Chris. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Mon, Feb 26, 2007 at 01:42:12PM +0000, Chris Lale wrote:
> Andrew Sackville-West wrote: > >On Fri, Feb 23, 2007 at 04:55:14PM +0000, Chris Lale wrote: > > > >>[...] > >> > >> Error 15: File not found > >> > >> Press any key to continue... > >> > > > >so grub cannot find the file, probably the kernel. have you tried the > >grub command line? maybe you've got the disks misnamed or something. > > > > > > I narrowed the problem down to menu.lst. Thanks, Andrew, for suggesting > the command line which worked fine, after booting from the Grub boot CD, > despite reporting an error for the "savedefault" command: > > grub> savedefault > Error 27: Unrecognised command I *think* the savedefault command saves to the boot record, which, obviously, can't be done on a cd. That's just a guess though. glad you got it sorted. A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF416waIeIEqwil4YRAjmGAKCoJKjeokfjrd4TNK4+4L rpcoU6MgCfbDcG ay74UKWxSUhBGP03Au7sTQM= =hS+q -----END PGP SIGNATURE----- |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Andrew Sackville-West wrote:
> On Mon, Feb 26, 2007 at 01:42:12PM +0000, Chris Lale wrote: >> Andrew Sackville-West wrote: >>> On Fri, Feb 23, 2007 at 04:55:14PM +0000, Chris Lale wrote: >>> >>>> [...] >>>> >>>> Error 15: File not found >>>> >>>> Press any key to continue... >>>> >>> so grub cannot find the file, probably the kernel. have you tried the >>> grub command line? maybe you've got the disks misnamed or something. >>> >>> >> I narrowed the problem down to menu.lst. Thanks, Andrew, for suggesting >> the command line which worked fine, after booting from the Grub boot CD, >> despite reporting an error for the "savedefault" command: >> >> grub> savedefault >> Error 27: Unrecognised command > > I *think* the savedefault command saves to the boot record, which, > obviously, can't be done on a cd. That's just a guess though. > > glad you got it sorted. > > A Followed the wiki, removed the savedefault command from menu.lst and still got: Error 25: Disk Read Error Hugo -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|