Re: grub



On Thu, May 31, 2007 at 01:42:19PM +0000, bobsetch@xxxxxxxxxxx wrote:
I'm still a linux newbie and I've gone from bad to worst. I used to have a working etch system but in an attempt to get my printer working I reinstalled etch several times and when it reboots it comes up in grub instead of the gnome desktop. Any ideas out there?

if you are seeing a GRUB prompt after booting, then that is just the
bootloader and your /boot/grub/menu.lst has gotten hosed. you'll have
to boot it manually. please substitute appropriate information as
needed.

grub> root (hd0,0)

this assumes your boot partition is the first partition on the first
drive.

grub> kernel /vmlinux<tab><tab>

this will give you a tab completed list of kernels. you'll have to put
in a couple things like root=<real root> etc. here's mine.

grub> kernel /vmlinuz-2.6.18-4-k7 root=/dev/hda2 ro vga=791

this will load the kernel

grub> initrd /initrd.img-2.6.18-4-k7

this should match the kernel number...

grub> boot

will boot the system. once you're up, then as root run 'update-grub'
to fix that up.

A

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: Etch on USB-HD wont boot - race condition?
    ... notebook but the kernel cannot find the root filesystem. ... I had an initial problem that I think I got solved: On boot, ... Begin: Mounting root file system... ... SCSI device sda: 78140159 512-byte hdwr sectors ...
    (Debian-User)
  • Re: changing default os in grub
    ... > I've just installed a 2.6.8 kernel in Sarge and was ... > hoping the adjustment to grub would return Sarge to ... # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ... # This entry automatically added by the Debian installer for an existing ...
    (Debian-User)
  • Re: booting linux using a floppy
    ... which kernel of the list to boot from. ... Note that this will at this point remove your ability to boot into windows. ... I think I recall that you said the grub loader... ... and grub will search for a partition containing grub's stage2 file ...
    (comp.os.linux.misc)
  • Re: Debian bootable on external USB-harddisk
    ... > They are all on the external harddisk since I want to boot from this ... >> fail if you have placed the kernel and initrd on the external ... >> available from BIOS. ... >> grub stage one on the external disk. ...
    (comp.os.linux.setup)
  • Re: 2.6.9-rc2-mm1
    ... Fails to boot on my Altix. ... diff between 2.6.9-rc1-mm4 and 2.6.9-rc2 indicates some kind of PCI, ... Mounted root readonly. ... -doneshowconsole: Warning: the ioctl TIOCGDEV is not known by the kernel ...
    (Linux-Kernel)