LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-22-2005, 05:51 AM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
SuSE, FC & Windows multi-boot


I had installed Windows XP on hda1 & Fedora Core (FC) on hda2 & hda3.
I want to install SuSE 9.0 on an empty partition.

# fdisk -l

Disk /dev/hda: 15.0 GB, 15020457984 bytes
240 heads, 63 sectors/track, 1940 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 729 5511208+ 7 HPFS/NTFS
/dev/hda2 947 1854 6864480 83 Linux
/dev/hda3 1855 1940 650160 82 Linux swap

My plan is:
1. install SuSE 9.0 with the "new installation" option.
2. install to empty space 730 - 946.
3. create two partitions:
one for swap & one for /.
Is that hda4 & hda5?

4. Existing menu.lst is:
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu

title Fedora Core (2.6.9-1.667)
root (hd0,1)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img

title Windows
rootnoverify (hd0,0)
chainloader +1

How to add the new boot title for SuSE 9.0 for triple boot with SuSE, Windows XP & FC?
 
Old 04-22-2005, 07:40 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
You can use swap for both Linux systems (you can only run one at a time anyway). This way you don't need to create an extended partition (there is only room for 4 primary partitons, so you would need to create the extended partition hda4 and two logical partitions hda5 and hda6 for root and swap).
The menu.lst entry for SUSE would probably look like this:
Code:
title SUSE
root (hd0,3)
kernel /boot/vmlinuz vga=something
initrd /boot/initrd
EDIT: To be sure about this entry, tell YaST to install the bootloader on a floppy (instead of your HDD's MBR), then copy the entry from SUSE's /boot/grub/menu.lst to the one in your other system.

Last edited by abisko00; 04-22-2005 at 07:41 AM.
 
Old 04-22-2005, 08:54 AM   #3
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Rep: Reputation: 16
Like abisko00 said,
Quote:
EDIT: To be sure about this entry, tell YaST to install the bootloader on a floppy (instead of your HDD's MBR), then copy the entry from SUSE's /boot/grub/menu.lst to the one in your other system.
Its always a wise idea to do that,

But for you, this is my menu.lst,
Code:
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.2
    kernel (hd0,8)/boot/vmlinuz root=/dev/hda9 vga=0x314 selinux=0 splash=silent resume=/dev/hda8 desktop elevator=as showopts
    initrd (hd0,8)/boot/initrd

###This is for Fedora Core 3###
title Fedora Core (2.6.9-1.667)
        root (hd0,1)
        kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-1.667.img

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    root (hd0,0)
    chainloader +1
Hope you get it right,
Good Luck.
 
Old 04-22-2005, 09:57 AM   #4
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
I had already created two swap partitions for my first computer but following your advice, I created only one swap partition for my second computer.
How to eliminate the extra swap partition for my first computer?

Quote:
Originally posted by abisko00
You can use swap for both Linux systems (you can only run one at a time anyway). This way you don't need to create an extended partition (there is only room for 4 primary partitons, so you would need to create the extended partition hda4 and two logical partitions hda5 and hda6 for root and swap).
 
Old 04-22-2005, 10:01 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
I guess first you should point swap to the 'other' partition in /etc/fstab and reboot. Then you are free to delete the remaining swap partition and use it for something else.
 
Old 04-22-2005, 03:38 PM   #6
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
My menu.lst for Fedora Core is:
title Fedora Core
root (hd0,4)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667.img

When I boot into the fedora core partition, this error message appear:
mkrootdev: label / not found
mount: error 2 mounting ext3
mount: error 2 mounting none
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic -- not syncing: Attempted to kill init!

The computer hangs.

How to fix this problem?

Fedora Core is installed at hda5 & hda6:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3213 25808391 7 HPFS/NTFS
/dev/hda2 4519 9726 41833260 f Win95 Ext'd (LBA)
/dev/hda3 3214 3342 1036192+ 82 Linux swap
/dev/hda4 3343 4518 9446220 83 Linux
/dev/hda5 4519 4531 104391 83 Linux
/dev/hda6 4532 9726 41728806 8e Linux LVM
 
Old 04-23-2005, 10:35 AM   #7
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Is FC using a extra /boot partition? hda5 seems a little small for the root filesystem.

Try to append root=/dev/hda6 (if this is the root filesystem) to the menu.lst entry.

If you are not using extra /boot, then probably hda6 harbours all of FC3. In this case you need to change 'root (hd0,4)' to 'root (hd0,5)' in order to point to hda6.
 
Old 04-25-2005, 09:57 AM   #8
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
I tried this in the menu.lst file.
This got the same "mkrootdev: label / not found, ..." error.
title Fedora Core (2.6.9-1.667_hda6)
root (hd0,4)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/dev/hda6 rhgb quiet
initrd /initrd-2.6.9-1.667.img

This got the "file not found" error.
title Fedora Core (2.6.9-1.667_hda6hd0,5)
root (hd0,5)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667.img

title Fedora Core (2.6.9-1.667_hda6hd0,5hda6)
root (hd0,5)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/dev/hda6 rhgb quiet
initrd /initrd-2.6.9-1.667.img


Quote:
Originally posted by abisko00
Is FC using a extra /boot partition? hda5 seems a little small for the root filesystem.

Try to append root=/dev/hda6 (if this is the root filesystem) to the menu.lst entry.

If you are not using extra /boot, then probably hda6 harbours all of FC3. In this case you need to change 'root (hd0,4)' to 'root (hd0,5)' in order to point to hda6.
 
Old 04-25-2005, 10:31 AM   #9
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
If you do not have a /boot partition, the kernel is probably /boot/vmlinuz. That mean you are pointing grub to the wrong place. Also the option root=LABEL=/ seems a little strange (SUSE doesn't use 'LABEL'). Try 'root=/dev/hdaX' instead.

Code:
title Fedora Core (2.6.9-1.667)
root (hd0,5)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=/dev/hda6 rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
 
Old 04-25-2005, 01:38 PM   #10
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
Try the following in the menu.lst and get a error message:
Filesystem type unknown, partition type 0x8e.
...
Error 17: Cannot mount selected partition.

Quote:
Originally posted by abisko00
If you do not have a /boot partition, the kernel is probably /boot/vmlinuz. That mean you are pointing grub to the wrong place. Also the option root=LABEL=/ seems a little strange (SUSE doesn't use 'LABEL'). Try 'root=/dev/hdaX' instead.

Code:
title Fedora Core (2.6.9-1.667)
root (hd0,5)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=/dev/hda6 rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
 
Old 04-26-2005, 02:08 AM   #11
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
I guess we are back to the LVM issue. Still don't know how to solve that...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to boot into multi Linux & Windows olkar Linux - Newbie 9 11-20-2005 11:12 PM
How to boot into multi Linux & Windows olkar Linux - Newbie 1 10-12-2005 08:08 PM
How to Boot Multi Windows & Multi Linux olkar Linux - Newbie 5 10-03-2005 11:52 AM
Multi Boot XP 64, SuSe 9.3 Fedora Core 4 and Windows 98 NobsterTheLobster Linux - General 2 07-08-2005 03:20 PM
Ahhh, Windows XP/suse 9.0 multi-boot problems. somedude88 Linux - Newbie 7 01-13-2005 02:36 PM


All times are GMT -5. The time now is 03:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration