[linux] Re: Wanneer grub niet booten wil (i.c.m. SuSE 10.2)]

Robert M. Stockmann stock op stokkie.net
Do Mrt 8 19:49:52 CET 2007


On Thu, 8 Mar 2007, Julien Michielsen wrote:

> Date: Thu, 08 Mar 2007 17:27:56 +0100
> From: Julien Michielsen <julien op michkloo.xs4all.nl>
> Reply-To: linux op lists.nllgg.nl
> To: Liinux lijst <linux op nllgg.nl>
> Subject: [linux] Wanneer grub niet booten wil (i.c.m. SuSE 10.2)]
> 
> Wanneer ik mijn machine opstart komt het bootproces niet verder dan
> GRUB
> en houdt er daarna mee op. Om de boel wel werkend te krijgen leg ik de
> SuSE CD in de la, boot opnieuw, en ga dan in het menu verder met "boot
> from hard disk". Er staat een goede menu.lst op mijn machine, en wanneer
> de eerste boot-stappen zijn gezet gaat het vandaar allemaal goed. Heb
> gekeken of ik yast nog kan vertellen wat er moet gebeuren om verder te
> gaan, maar ik heb nog geen ingeving gekregen. Iemand een suggestie?
> (De bovenste regels uit  menu.lst:
> 
> gfxmenu (hd0,0)/boot/message
> title openSUSE 10.2
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/hda1 vga=0x31a
> resume=/dev/hdf1 splash=silent showopts
> initrd /boot/initrd-2.6.18.2-34-default
> 
> Verder staat /dev/hda1 geactiveerd als boot-baar.
> bvd
> ---
> Julien Michielsen
> 

http://crashrecovery.org/CrashRecoveryKit/iso/2.6.11.10/HOWTO-261110.iso  :

Recovering and re-installing GRUB :

1. boot your machine with the kit.
   Next mount your root (/) partition on /mnt :

   # mount /dev/hda2 /mnt          (root filesystem which contains all stuff)
   # mount /dev/hda1 /mnt/boot     (boot filesystem, if on a seperate partition)
   # /mnt/usr/sbin/chroot /mnt     (invoke chroot to /mnt and run from your 
				    linux installation mounted on /mnt e.g. 
				    RedHat 9)
   # /sbin/grub-install /dev/hda   (freshly install GRUB again on the MBR of 
				    /dev/hda )
   # sync
   # sync
   # exit                          (leave the chroot shell)
   # sync
   # sync
   # umount /mnt/boot
   # umount /mnt
   # umount /cdrom
   # shutdown -r now

   Sofar i haven't found an analoge option like -r inside LILO, to be used 
   with GRUB to avoid the mandatory use of the chroot shell.


Vr.gr.

Robert
-- 
Robert M. Stockmann - RHCE
Network Engineer - UNIX/Linux Specialist
crashrecovery.org  stock op stokkie.net




More information about the Linux mailing list