Re: GRand Unified Boot misery and Fedora Core 4

From: imotgm (imotgm_REM_at_invalid-yahoo.com)
Date: 11/19/05


Date: Sat, 19 Nov 2005 13:37:54 GMT

On Sat, 19 Nov 2005 12:29:38 +0100, ### Coralys.com ### wrote:

> I was sure this GRUB thing was not to be trusted and like I said it was
> thanks to a couple of GRUB disasters back in 2002.

<snip whiney shit>

> The only thing I get to read for a short while is some message about "Kernel
> panic" and "Unable to mount /dev/sdb1" or something like that.
>
> I am able to mount those partitions when I boot a Knoppix 4 DVD. I see that
> the kernel/initrd images are there as well where expected, and that that
> /boot is indeed /dev/sdb1
>
> So what on earth is going on here? hopefully somebody comes up with some
> good idea before I reformat that "Linux" disk as NTFS ;-) I am VERY GLAD I
> did not install GRUB on the MBR.

If you had, as part of the installation, it would be working right!

> Help anybody?

With your totally crappy attitude, you don't really deserve help, but on
the off chance that you might not be trolling, and are just frustrated,
I'll make an attempt.

Take a deep breath, calm down, and pay attention.

First off, grub is doing exactly what it's supposed to do, and is working
fine. Grubs only job is to find the kernel, and initrd, load them into
memory, and tell the kernel where you say the / partition is. Once the
kernel is loaded into memory, and starts the boot process, grub's job is
done. Your problem is finding out why your kernel is panicking while
trying to load your OS.

You say "/boot is indeed /dev/sdb1", so the question I have is where is /?
That is what grub wants to know too. If you tell it where / is, it will
probably boot up just fine.

### Print this out, so you can follow this exactly from Knoppix ###

Boot your Knoppix disk, log in as root, and in a terminal, type;

# fdisk -l /dev/sdb > /root/test.txt <Enter> (Thats the "Enter" key)

then type;

# mount /dev/sdb1 -t ext3 /mnt/ <Enter>

# cat /mnt/grub/menu.conf >> /root/test.txt <Enter>

# umount /mnt <Enter>

# mount /dev/sda1 -t ntfs /mnt <Enter>

# cp /root/test.txt /mnt/test.txt <Enter>

You now have a file named "test.txt" in the root directory of your Windows
OS. Shutdown Knoppix, reboot to Windows, and post the contents of
"test.txt" back here. You can open it with notepad, and copy/paste it into
your newsreader.

-- 
imotgm   
       "Lost? Lost? I've never been lost... Been a tad confused for a
        month or two, but never lost."


Relevant Pages

  • Re: Naming harddisks (Linux)
    ... But I also see that for an USB drive it uses /dev/sdas the ... Does GRUB recognize SCSI drives? ... The first step in understanding the boot process is to ... The bootloader's job is to load the OSs kernel. ...
    (comp.os.linux.misc)
  • 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: GRand Unified Boot misery and Fedora Core 4
    ... > thanks to a couple of GRUB disasters back in 2002. ... > I am able to mount those partitions when I boot a Knoppix 4 DVD. ... Grubs only job is to find the kernel, and initrd, load them into ...
    (comp.os.linux.setup)
  • 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)