[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (no subject): grub recog of 3drives (2 linux)
From: |
Jeff Sheinberg |
Subject: |
Re: (no subject): grub recog of 3drives (2 linux) |
Date: |
Tue, 11 Nov 2003 15:09:12 -0500 |
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
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