You are not logged in.

#1 2004-03-25 15:21:09

Kingnubian
Member
Registered: 2004-03-04
Posts: 11

Grub & error trying to boot other linux partition

My 40 gig hard drive is partitioned like this

hda1 = Arch Linux partition (XFS file system, Grub installed to MBR)
hda5 = swap partition for Arch

hda6 = Vector Linux partiton (Reiser file system, LILO installed to superblock)
hda7 = swap partition for Vector

Here is my Grub menu.1st


menu.lst            [B---] 51 L:[  1+40  41/ 41] *(1251/1251b)= <EOF>
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS
#
#  Old /dev    DevFS                    Grub
# -----------------------------------------------
#  /dev/fd0    /dev/floppy/0            (fd0)
#  /dev/hda    /dev/discs/disc0/disc    (hd0)
#  /dev/hdb2   /dev/discs/disc1/part2   (hd1,1)
#  /dev/hda3   /dev/discs/disc0/part3   (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +----------------------------------------+
#          | 640x480 800x600 1024x768 1280x1024
#      ----+-----------------------------------
#      256 |   0x301   0x303    0x305     0x307
#      32K |   0x310   0x313    0x316     0x319
#      64K |   0x311   0x314    0x317     0x31A
#      16M |   0x312   0x315    0x318     0x31B
#     +----------------------------------------+

# general configuration:
timeout   10
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#-*

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/discs/disc0/part1 ro

# (1) Vector Linux
title Vector Linux  [/boot/vmlinuz]
root   (hd0,5)
kernel /boot/vmlinuz root=/dev/discs/disc0/part6 ro


The problem is I can't get Vector to boot. The "Uncompressing Linux" message is follwed by all the usual messages and then at the end thses lines pop up.

VFS: cannot open root device "discs/disc0/part6" or 00:00
please append a correct "root=" boot option
Kernel panic:VFS: unable to mount fs on 00:00

I have tried changing the grub parameters to try .../part7 and ....part5 but part7 should be the swap so that won't work naturally.

Both had1 and hda6 are set as bootable btw.

Can I get some insight as to what I am doing wrong???

Offline

#2 2004-03-25 16:52:44

normnmiles
Member
From: /US/IL
Registered: 2004-03-20
Posts: 64

Re: Grub & error trying to boot other linux partition

Have you tried?
# (1) Vector Linux
title Vector Linux [/boot/vmlinuz]
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6 ro

Not really sure if it will work but something I woudl try.

Offline

#3 2004-03-25 17:49:56

Kingnubian
Member
Registered: 2004-03-04
Posts: 11

Re: Grub & error trying to boot other linux partition

That works!!

I must have been confused with the Grub/Lilo differences. Thanks a million for the answer!!

Offline

#4 2004-03-25 18:05:18

normnmiles
Member
From: /US/IL
Registered: 2004-03-20
Posts: 64

Re: Grub & error trying to boot other linux partition

No problem.  I am glad I was able to help.  big_smile

FYI,  In the grub entry for Vector you used the devfs (Arch) style (/dev/discs/disc0/partx) to define the root partition instead of the older dev system (/dev/hdax) that Vector expected.  Besides that there was nothing wrong with your grub entries.

Offline

#5 2004-03-27 21:18:24

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,488

Re: Grub & error trying to boot other linux partition

readthefuckinwiki.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

Board footer

Powered by FluxBB