LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2005, 12:25 PM   #1
pete138
LQ Newbie
 
Registered: Aug 2004
Distribution: Suse 9.3
Posts: 14

Rep: Reputation: 0
Tri-Boot


I have three harddisks. The first one is Windows, second Suse 9.3 and third all my data. I want to put Suse and Xandros on the second harddisk. How do I resize and/or install the two operating systems on the second harddisk?

Thanks in advance.
 
Old 10-08-2005, 06:03 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
The resizing is up to you. A "safe" size would be 5GB, but it could but smaller or bigger, depending what you want to install (full system or just the base?).
The installing will not be any different than the usual, but make sure you choose the correct drive/partition (otherwise you will destroy your other OSes). The only tricky part is about the boot loader, make sure it contains an entry for every OS you may have before rebooting or you won't be able to boot other system. Usually Linux is bright enought to find other system and to make you a working configuration of the boot loader, but a tri-os is maybe something it won't expect.
 
Old 10-09-2005, 03:33 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Half_Elf is right, but I would just add that tri- (or more) booting is made easier if when you are first partitioning your disks, you have one (small eg 20MB) partition for /boot that is shared between the different distros.

Each distro can share the same swap partition, so you only need one of those.

Each distro needs its own / partition (obviously!).

If you share /home between distros, make sure you have different usernames for each distro eg: /home/suse-me and home/xandros-me because of course each distro will set up your "home" slightly differently.

Hope this makes sense.
 
Old 10-09-2005, 04:54 AM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
One option to get tri boot to work (as far as the boot loader is concerned) is to not allow the setup to install the boot loader when you install the sys. It will still write a grub.conf file (if that's the default for the system). Then you simply reboot into your existing linux installation and mount the new partitoin which contains /boot. You read grub.conf from that partition and add the necessary lines to your own grub.conf.
 
Old 10-09-2005, 07:42 AM   #5
pete138
LQ Newbie
 
Registered: Aug 2004
Distribution: Suse 9.3
Posts: 14

Original Poster
Rep: Reputation: 0
I have managed to install Xandros and Suse on the same disk, but grub (suse's bootloader) does not recognise Xandros. How do I add it to the bootloader's configuration?
 
Old 10-09-2005, 07:59 AM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
have you mounted the partition that contains the xandros /boot folder?
cd to xandros's /boot/grub and the open grub.conf in your favourite text editor. You should find a couple of lines not very different from:

title Fedora Core (2.6.13-1.1526_FC4)
root (hd0,1)
kernel /vmlinuz-2.6.13-1.1526_FC4 ro root=/dev/hda9 rhgb quiet
initrd /initrd-2.6.13-1.1526_FC4.img

copy it into Suse's grub.conf (and check the device naming is correct, that is the partitions it points to are the ones where the xandros kernel and initrd are located) That should do it.
 
Old 10-09-2005, 11:48 AM   #7
pete138
LQ Newbie
 
Registered: Aug 2004
Distribution: Suse 9.3
Posts: 14

Original Poster
Rep: Reputation: 0
I am new to this stuff, so I don't know how to mount the partition. At this time I can't get into Xandros's operating system.
 
Old 10-09-2005, 11:58 AM   #8
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
as root: make a mount point

#mkdir /mnt/xandros

mount the xandros partition:

#mount -t ext3 /dev/hdx? /mnt/xandros (hdx? -> x should be a for first ide master, bfor 1st ide slave etc, ? corresponds to the number of the partition. If you don't know, run cfdisk and try to figure it out from there. Change ext3 for the filsystem type you chose during setup if necessary)
 
Old 10-09-2005, 12:13 PM   #9
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
#fdisk -l (try '/sbin/fdisk -l' if your system complains it can't find fdsik) will give you a list of all available devices.
 
Old 10-09-2005, 01:40 PM   #10
pete138
LQ Newbie
 
Registered: Aug 2004
Distribution: Suse 9.3
Posts: 14

Original Poster
Rep: Reputation: 0
I've entered the following into grub's configuration:
root (hd1,2)
kernel /boot/vmlinuz-2.6.9-reiser root=dev/hdb1,2 rw acpi=on noapic
initrd /bootinitrd-2.6.9-x1

I then get the following message when trying to boot:

Filesystem type is reiserfs, partition type 0x83
kernel /boot/vmlinuz-2.6.9-reiser root=dev/hdb1,2 rw acpi=on noapic
Error 15: File not found
 
Old 10-09-2005, 02:19 PM   #11
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
There's slash missing in the root designation. Also hd1,2 is the grub way of saying hdb3 (grub starts counting at 0). So it should be /dev/hdb3.
,
 
  


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
Tri-boot simeandrews Linux - General 16 09-23-2005 07:31 PM
SuSE 9.1 tri boot ?? MacWinLinux SUSE / openSUSE 10 09-21-2005 07:43 AM
tri boot? spork545 Linux - General 16 08-06-2003 07:53 PM
Is it possible to have something like a tri boot? Ekim Gram Linux - Newbie 26 06-02-2003 09:41 PM
tri boot lacrimae Linux - Software 1 03-08-2002 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:11 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