LinuxQuestions.org
Help answer threads with 0 replies.
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 09-17-2005, 10:01 AM   #1
Berticus
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 159

Rep: Reputation: 31
Dual booting


I'm somewhat new to Linux, and I'm completely new to partitioning. I did it once and it messed up everything. I want to dual boot Fedora Core 4 with Ubuntu 5. I have Ubuntu's installation cd and live cd, and Fedora's installation cds.

Basically, I want to have two OS on 1 harddrive. I would like them to be able to access each other's filesystem. So if I'm on Fedora, I can always access Ubuntu's files, and vice versa.

Can someone please give me step by step instructions on how to do this? I was suggested somewhere else to have 3 partition (1 100MB boot, 1 swap equal to my RAM, and root which will be divided in half for each OS). Is that the right way going about doing that? Or is there a better way?
 
Old 09-17-2005, 10:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
what files would you want to access in ubuntu? why would you wish to access an executable or library on a different distro? if you mean your home directories in each one? if so you can go a step further easily and share a /home partition, just choose to use the existing /home on the new install and tell it not to format it.

if you really do wish to make all other filesystems available, just mount them yourself, it's nothing clever.

as for 3 partitions.. nope. you even say you'll "divide" third one in half... so that's 4 anyway!
 
Old 09-17-2005, 10:29 AM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
You can make it alot easier on yourself to get another hard drive then you can let the installer partition,make the filesystems and set the mount points.Then you can install Fedora or Ubuntu, boot into it and print out or write down /boot/grub/menu.lst or /boot/grub/grub.conf. Then install the other one on hdb, let it use the entire disk and add the entry you wrote down to that /boot/grub/menu.lst. Install grub to the mbr on both.That how I did it in the beginning, later you can do it a number of ways but it is hard to explain because there are so many variables.
 
Old 09-17-2005, 02:33 PM   #4
Var2
Member
 
Registered: Sep 2005
Location: India
Distribution: Fedora 4 (past)
Posts: 36

Rep: Reputation: 15
Question Help in LINSPIRE

hi
iam using Windows Xp already and have two hard disk one is 40 gb IDE hardisk and other is 80GB SATA hard diskand i thought to install linspire aslo so i used linspir 5 live cd.I firslty run linspire from cd but i was shocked when linspire didn't showed my 4 partations actualy i use 40gb hard disk having two partation C and D, in C xp is isatled and my 80 GB SATA is used as as dump only ,but linspire was showing only two partions of my 40GB hardisk and last parttion of sata which is I .

And also tell me that will i have to get drivers of my modem,graphic card,printer etc. for linspire, i have it for windows .

So plz help me bcoz untill i don't get solution of it i didn't insatll linspire .i am raely unkown to Linux.plz help
 
Old 09-18-2005, 01:21 AM   #5
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,025

Rep: Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538
Ubuntu and Fedora have different ways of naming partitions. I would install debian and Fedora. Install debian first, then Fedora. In debian, make two partitions for "root". Make the mount point for the second root partition "/local". Make one partition for "/home" for both. Debian has a good partitioner, and it is better than Ubuntu. Debian will install to the partition with the mount point "/", or "root". Configure debian as "desktop workstation". Do not manually add software until debian is installed.

Use the ext3 filesystem in debian, and whatever Fedora tells you to. After Fedora is installed, the system won't boot to debian, so boot to Fedora. Go to "/boot/grub/menu.lst" file. Edit it so the root device is not a volume label. That is, make "root=/dev/sda2", or whatever partition the root for each root partition is on. These will be different for debian, and Fedora, but grub will use the menu.lst file from the last distro installed.

menu.lst entries look like:

title debian 2.6.8
kernel hd(0,1)/boot/vmlinuz root=/dev/sda1 acpi=off
initrd hd(0,1)/boot/initrd
savedefault
boot /dev/sda1

or

title Fedora 2.6.8
kernel hd(0,2)/boot/vmlinuz root=/dev/sda2
initrd hd(0,2)/boot/initrd


"vmlinuz" and "initrd" have to be the exact filename. Sometimes there is a version number after them. Sometimes they are specified by symbolic links in "/". Use the actual filenames in "/boot"
If there are other options specified use them. Debian 2.6.8 doesn't always need "acpi=off" kernel command, but you might want to start with that.

Go into "/etc/fstab" in fedora and change the root partition to not be a volume label, and fill out the full fstab line for it like:

"/dev/sda2 / ext3 defaults 0 1"

You can add filesystems to fstab, such as the root filesystem for the other distro. If you use ext3 for everything it will be easy to remember. Don't use reiserfs unless you are using SuSE.
Then both os's should be in the boot menu. Both debian, and fedora are rude to the other when installed last. You always have to change something manually if you want both of them on one HDD. Each one wants to be the only one. Neither can stand it when you have a place for both in your heart.
 
Old 09-18-2005, 06:02 PM   #6
Var2
Member
 
Registered: Sep 2005
Location: India
Distribution: Fedora 4 (past)
Posts: 36

Rep: Reputation: 15
Plz answer my question

hi
iam raely worried by my prblm which i asked above so anybody will answrer me bcoz i raely want to insatll linspire on my set. Plz answer

i will raely thank u who answer my question !
 
Old 09-19-2005, 12:06 AM   #7
Berticus
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 159

Original Poster
Rep: Reputation: 31
How do I specify the mounting point? I tried MEPIS once, and during their installation process, there's one step dedicated to specifying the mounting point. Does Debian have something like that? I don't remember seeing it for Fedora's...
 
Old 09-19-2005, 02:39 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
Mountpoints ultimately go back to /etc/fstab. I dare say there's some cute gui somewhere that might hadnle this, but writing fstab entries is just painfully easy really.

Var2, please don't hijack threads. ask your own questions in a seperate thread.
 
Old 09-20-2005, 02:25 PM   #9
Berticus
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 159

Original Poster
Rep: Reputation: 31
AwesomeMachine, I'm taking your advice and going to do the dual boot with debian. I erased all partitions and was making new ones. So all I need is 3 partitions (/. /local, and /home)? How big should each one be? I only have 60 gigs, so gotta distribute the space wisely.
 
  


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
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 05:44 PM
dual booting hariiyer Linux - General 5 11-08-2004 03:07 PM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 02:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM
booting ,dual booting kmadhukar Linux - Newbie 1 02-02-2002 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:47 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration