bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject): grub recog of 3drives (2 linux)


From: Melissa Golter
Subject: Re: (no subject): grub recog of 3drives (2 linux)
Date: Tue, 11 Nov 2003 14:39:02 -0600 (CST)


On Tue, 11 Nov 2003, Jeff Sheinberg wrote:

> Melissa Golter writes:
>  > all drives are mapped but, no matter if i use 
>  > kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/ hda=ide-scsi
>  > or
>  > kernel /vmlinuz-2.4.20-8smp ro root=/dev/sdd2 hda=ide-scsi
>  > 
>  > I get error 15
>  > root (hd2,0)
>  >  Filesystem type is ext2fs, partition type 0x83
>  > kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/ hda=ide-scsi
>  > (or
>  > kernel /vmlinuz-2.4.20-8smp ro root=/dev/sdd2 hda=ide-scsi)
>  > 
>  > Error 15: File not found
>  > 
>  > / is on partition 2 on sdd (hd2)
>                                ^^^
> 
> How do you know that this is the case?
> 
> Grub can show you its view of the world if you just ask it to.
> 
> First, reboot your computer, then, when the grub menu appears, do
> the following,
> 
>     type: the ESC key - puts you into grub interactive command mode
> 
>     type: root (hd<TAB> - that means ... lettter h, letter d, then TAB key
>

I have done this (previously)
grub> root (hd<TAB>

i still get hd0 hd1 hd2

grub> root (hd0,<TAB>

i still get Possible partitions are:
for Partitions 0,1,4,5,6 i still get Filesystem type is ext2fs, partition
type 0x83 (partition 2 on hd2 is a swap partition, 3 is extended 4-6)

the strange part comes next (and this happened when installing rh9 on hd2
and trying to access hd1, too):

note: hd2 is clearly rh9 from its /etc/fstab when i mount it from within
hd1 which is clearly rh7.3 from its fstab account...

grub> root (hd2,0) kernel /<TAB>
yields possible files with rh7.3 linux kernel numbers
(vmlinux-2.4.18-3...) 

and 
grub> root (hd1,0) kernel /<TAB>
yields Eror 23: Error while parsing number
even tho when using
grub> root (hd1,<TAB>
i get the partition system i set up when installing rh7.3

and yes, i have tried to plunge into the docs -- and have done most of
what you are suggesting already...what I can't do is to make have the
right file found on hd2...all seem to be written correctly.  I don't know
if it is something particular to rh9, or rh or grub or what.  Hence the
questions. I have run out of permutations for labeling where root is on
hd2.

(or alternatively hd1 when installing OS on hd2 and trying to boot up hd1)

i guess i just have not made that clear?  I did see one post on your list
for similar problem...but there was either no resolution (just a question
in response) or the resolution didn't fit this particular prob, i don't
remember... 


thanks for any further info on the strange boot access problem...






> Okay, here is an example from the grub shell (running under linux,
> where kernel & rootfs is on /dev/hda7 on my computer), but you
> need to do this from the *real* grub bootloader on your computer,
> 
>     grub> root (hd<TAB>
>      Possible disks are:  hd0 hd1 hd2
> 
>     grub> root (hd0,<TAB>
>      Possible partitions are:
>        Partition num: 0,  Filesystem type is fat, partition type 0x6
>        Partition num: 2, [BSD sub-partitions immediately follow]
>          BSD Partition num: 'a',  Filesystem type is ffs, partition type 0xa9
>          BSD Partition num: 'b',  Filesystem type unknown, partition type 0xa9
>          BSD Partition num: 'e',  Filesystem type is fat, partition type 0xa9
>          BSD Partition num: 'f',  Filesystem type is ext2fs, partition type 
> 0xa9
>          BSD Partition num: 'g',  Filesystem type unknown, partition type 0xa9
>          BSD Partition num: 'h',  Filesystem type is ext2fs, partition type 
> 0xa9
>          BSD Partition num: 'i',  Filesystem type is ext2fs, partition type 
> 0xa9
>          BSD Partition num: 'j',  Filesystem type is ext2fs, partition type 
> 0xa9
>          BSD Partition num: 'k',  Filesystem type is ext2fs, partition type 
> 0xa9
>        Partition num: 3,  Filesystem type is ext2fs, partition type 0x83
>        Partition num: 4,  Filesystem type unknown, partition type 0x82
>        Partition num: 5,  Filesystem type is ext2fs, partition type 0x83
>        Partition num: 6,  Filesystem type is ext2fs, partition type 0x83
>        Partition num: 7,  Filesystem type is ext2fs, partition type 0x83
>        Partition num: 8,  Filesystem type is ext2fs, partition type 0x83
> 
>     grub> root (hd0,6)<ENTER>
>      Filesystem type is ext2fs, partition type 0x83
> 
>     grub> kernel /boot/vmlinuz-2.4.2<TAB>
>      Possible files are: vmlinuz-2.4.21-4 vmlinuz-2.4.22-2
> 
>     grub> help<ENTER>
>     blocklist FILE                         boot
>     cat FILE                               chainloader [--force] FILE
>     clear                                  color NORMAL [HIGHLIGHT]
>     configfile FILE                        device DRIVE DEVICE
>     displayapm                             displaymem
>     find FILENAME                          geometry DRIVE [CYLINDER HEAD 
> SECTOR [
>     halt [--no-apm]                        help [--all] [PATTERN ...]
>     hide PARTITION                         initrd FILE [ARG ...]
>     kernel [--no-mem-option] [--type=TYPE] makeactive
>     map TO_DRIVE FROM_DRIVE                md5crypt
>     module FILE [ARG ...]                  modulenounzip FILE [ARG ...]
>     pager [FLAG]                           partnew PART TYPE START LEN
>     parttype PART TYPE                     quit
>     reboot                                 root [DEVICE [HDBIAS]]
>     rootnoverify [DEVICE [HDBIAS]]         serial [--unit=UNIT] [--port=PORT] 
> [--
>     setkey [TO_KEY FROM_KEY]               setup [--prefix=DIR] 
> [--stage2=STAGE2_
>     terminal [--dumb] [--no-echo] [--no-ed terminfo [--name=NAME 
> --cursor-address
>     testvbe MODE                           unhide PARTITION
>     uppermem KBYTES                        vbeprobe [MODE]
> 
> The TAB key is your friend, so is the "find" and "geometry" commands.
> 
>     grub> geometry (hd2)<ENTER>
>     drive 0x82: C/H/S = 527/255/63, The number of sectors = 8467200, /dev/sdb
>        Partition num: 1, [BSD sub-partitions immediately follow]
>          BSD Partition num: 'a',  Filesystem type is ffs, partition type 0xa5
>          BSD Partition num: 'b',  Filesystem type is ext2fs, partition type 
> 0xa5
>          BSD Partition num: 'e',  Filesystem type is ext2fs, partition type 
> 0xa5
>          BSD Partition num: 'f',  Filesystem type unknown, partition type 0xa5
>          BSD Partition num: 'g',  Filesystem type is ext2fs, partition type 
> 0xa5
>          BSD Partition num: 'h',  Filesystem type is ext2fs, partition type 
> 0xa5
>        Partition num: 2,  Filesystem type is ext2fs, partition type 0x83
>        Partition num: 3,  Filesystem type is ext2fs, partition type 0x83
>        Partition num: 4,  Filesystem type unknown, partition type 0x82
>        Partition num: 5,  Filesystem type is ext2fs, partition type 0x83
>        Partition num: 6,  Filesystem type is ext2fs, partition type 0x83
> 
> Have you read the grub info docs yet?
> 
> -- 
> Jeff Sheinberg
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]