LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Multi linux redhat + SuSE ,no reisfer FS in redhat linux? (https://www.linuxquestions.org/questions/red-hat-31/multi-linux-redhat-suse-no-reisfer-fs-in-redhat-linux-296143/)

sgzlit 03-01-2005 01:46 AM

Multi linux redhat + SuSE ,no reisfer FS in redhat linux?
 
Multi linux redhat + SuSE ,no reisfer FS in redhat linux?

Now I have installed Multi linux OS on my PC,Redhat and SuSE
the boodloader is redhat GRUB.and the FS in redhat is Ext3 and the SuSE is reisfer

Though they all have been in the grub.cof, but the Suse can not be loaded from the redhat grub.

[root@redhat1 grub]# mount /dev/sda6 /mnt/cdrom/
mount: fs type reiserfs not supported by kernel

fdisk -l output:
/dev/sda1 1 65 522081 83 Linux
/dev/sda2 1913 9725 62757922+ f Win95 Ext'd (LBA)
/dev/sda3 9726 9726 8032+ 7f Unknown
/dev/sda4 66 1912 14836027+ 83 Linux
/dev/sda5 4463 4724 2104483+ 82 Linux swap
/dev/sda6 * 4725 7335 20972826 83 Linux
/dev/sda7 1913 2043 1052194+ 82 Linux swap

The grub.cf output:
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Enterprise Linux ES (2.4.21-15.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-15.EL ro root=LABEL=/
initrd /initrd-2.4.21-15.EL.img
title Red Hat Enterprise Linux ES (2.4.21-9.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-9.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-9.ELsmp.img
title Red Hat Enterprise Linux ES-up (2.4.21-9.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-9.EL ro root=LABEL=/
initrd /initrd-2.4.21-9.EL.img
title suse
rootnoverify (hd0,5)
chainloader +1


I wonder know how can I boot the reisfer FS from redhat?

thx alot

Ray

KurtAKARebuild 03-01-2005 09:52 PM

Re: Multi linux redhat + SuSE ,no reisfer FS in redhat linux?
 
Quote:

[root@redhat1 grub]# mount /dev/sda6 /mnt/cdrom/
mount: fs type reiserfs not supported by kernel
if your just looking to mount your reiserfs, make sure the kernel module is loaded

$ modprobe reiserfs

then try mounting your filesystem

<snip>

Quote:

title suse
rootnoverify (hd0,5)
chainloader +1
grub's chainloader command will only work if SuSE was set up to boot from a partition (not the MBR).
You need to make an entry more like the redhat ones to get SuSE to boot if this wasn't the case (which it most likely isn't)

try this

1. copy grub's reiserfs_stage1_5 file to /boot/grub if it isn't there already.
This can usually found in /lib/grub/i386-pc, but this may be different on your system.
2. adjust your SuSE entry in grub.conf to look like
title suse
root (hd0,5)
kernel /vmlinuz ro <-- adjust this for your kernel
initrd /initrd.img <-- adjust this for your initrd

you can find out which kernel and initrd to use by looking the root or boot directory of your SuSE system

so if you mounted /dev/sda6 on /mnt/cdrom, lookin in /mnt/cdrom or /mnt/cdrom/boot for the correct vmlinuz and initrd files.


good luck
Kurt
[KRW Digital - www.krwdigital.com]

KurtAKARebuild 03-01-2005 09:56 PM

almost forgot, that kernel line also needs a root filesystem

kernel /vmlinuz ro root=/dev/sda6

(but you still need to adjust the vmlinuz part for your kernel)

Kurt

sgzlit 03-02-2005 08:08 PM

Very thx you Sir!
I first chang the grub.conf
due to the SuSE location is in the /dev/hdc6(in SuSE it is /dev/hdc6,I don`t know why it is different with RH output.),I set the root =/dev/hdc6

title suse
root (hd0,0)
kernel (hd0,5)/boot/vmlinuz ro root=/dev/hdc6 vga=791
initrd (hd0,5)/boot/initrd

The secend ,I try to modprobe but failed
[root@redhat1 root]# find / -name reiserfs_stage1_5
/boot/grub/reiserfs_stage1_5
/usr/share/grub/i386-redhat/reiserfs_stage1_5
[root@redhat1 root]# modprobe reiserfs
modprobe: Can't locate module reiserfs

So I can`t mount the SuSE FS
[root@redhat1 root]# mount /dev/sda6 /mnt/cdrom/
mount: fs type reiserfs not supported by kernel
[root@redhat1 root]#

pls give me some idea,any suggestion is appreciate.
Thx a lot

Ray

sgzlit 03-03-2005 02:20 AM

I think if I Re-install the GRub for the system ,and then it may be booted the from the suse.
So I have just tried to do the test of grub-install
but failed ,I have tried for any way,such as bellow:
[root@redhat1 root]# grub-install /dev/hda
/dev/hda does not have any corresponding BIOS drive.
[root@redhat1 root]# grub-install /dev/hdc
/dev/sda1 does not have any corresponding BIOS drive.
[root@redhat1 root]# grub-install /dev/hdc6
/dev/sda1 does not have any corresponding BIOS drive.
[root@redhat1 root]# grub-install /dev/sda
/dev/sda does not have any corresponding BIOS drive.
[root@redhat1 root]# grub-install /dev/sda6
/dev/sda6 does not have any corresponding BIOS drive.

Then ,I just tried to run grub
grub>configfile (hd0,5)/boot/grub/menu.lst
after I modified the items,I found that I can not save it.:(

Would you like give some suggestions?
And is it correct of my test?
thx

KurtAKARebuild 03-07-2005 07:40 PM

If you are using RHEL then this article may be helpful for your efforts to mount your SuSE partition

http://lists.ibiblio.org/pipermail/u...st/000161.html

on the grub problem, you really need to figure out which is your root partition for SuSE

if it is /dev/hdc6 then you need to use (hd2,5)

also your

'/dev/[*] does not have any corresponding BIOS drive'

error messages are most likely the result of missing entrys in your device.map file (found in /boot/grub)

you'll need to have an entry like

(hd2) /dev/hdc

good luck

Kurt


All times are GMT -5. The time now is 06:05 AM.