LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-01-2005, 01:46 AM   #1
sgzlit
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Rep: Reputation: 0
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
 
Old 03-01-2005, 09:52 PM   #2
KurtAKARebuild
LQ Newbie
 
Registered: Feb 2005
Location: Australia
Distribution: Debian, Reformed Slackwareist
Posts: 20

Rep: Reputation: 0
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]
 
Old 03-01-2005, 09:56 PM   #3
KurtAKARebuild
LQ Newbie
 
Registered: Feb 2005
Location: Australia
Distribution: Debian, Reformed Slackwareist
Posts: 20

Rep: Reputation: 0
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

Last edited by KurtAKARebuild; 03-07-2005 at 06:48 PM.
 
Old 03-02-2005, 08:08 PM   #4
sgzlit
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 03-03-2005, 02:20 AM   #5
sgzlit
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 03-07-2005, 07:40 PM   #6
KurtAKARebuild
LQ Newbie
 
Registered: Feb 2005
Location: Australia
Distribution: Debian, Reformed Slackwareist
Posts: 20

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi linux redhat + SuSE ,no reisfer FS in redhat linux? sgzlit SUSE / openSUSE 9 03-03-2005 07:34 PM
SuSe Linux Pro 9.0 Or RedHat? Grafixx01 Linux - Newbie 6 02-13-2005 10:42 AM
SATA support for linux ( redhat 9 / Suse 9 / Fedora Coe 1) TechnoBod Linux - Hardware 1 02-03-2004 07:05 AM
What's the difference between Suse, Mandrake, Redhat, and Vector Linux? javaarmy Linux - Distributions 7 09-28-2003 12:24 PM
Dual booting Redhat Linux 7.2 with Redhat Linux 7.3 gautamrc Linux - General 2 02-27-2003 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration