LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-04-2012, 09:56 PM   #1
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Rep: Reputation: Disabled
triple booting system with ubuntu debian and windows xp


i want to triple boot my system with debian ubuntu and windows xp. i already have uuntu and windows xp and i want to install debian without getting ubuntu effected. what is the selection of the root criteria as presently dev/sda7 but i have free space and while trying to install debian the root moutn point is being set to this free space. is thia going to cause problem and if yes how should i install debian. Thank You
 
Old 04-06-2012, 09:22 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,389

Rep: Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939
I'm not sure what you mean by "Free Space".

Free space does not have a /dev/sda associated with it. ie free space is not partitioned. Is this what you have? If yes, then create a partition, big enough for Debain, and do your install. I would suggest you make a partition for /home as well. Don't try to use the same /home as Ubuntu, you will cause application problems.

What is on /dev/sda7 now?
 
Old 04-06-2012, 11:40 AM   #3
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
i aplogize for putting my question in a cryptic fashion. i'm trying to build the LFS system someone on this forum suggested me to use debian since ubuntu had problems regarding glibc. for what i'm worried for the istallation of a new os is that some time back i was trying to install fedora with ubuntu and windows already present and i dnt what caused up an error tha none of the linux system were recoverable with the eror reading unable to find root partition. now at present while installing ubuntu i had given 4.1 GB swap space, 10GB ext4 partition mounted at /, and 85 GB ext4 partition mounted at /home. Now i have a 41 GB ext 3 file system for LFS partition and 49 GB free space which i would like to use to istall for debian. my windows partition uses 54 GB file system. while trying to istall debian the 49 GB free space was mounted at /; so my question is will there be any error so as to the 10GB axt4 partition which was mounted at / as there were no mount point seen with the other two ext4 partition.
After running sudo fdisk -l the following is the output

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa42d04a3

Device Boot Start End Blocks Id System
/dev/sda1 63 257039 128488+ de Dell Utility
/dev/sda2 * 257040 105113294 52428127+ 7 HPFS/NTFS/exFAT
/dev/sda3 105113356 604669951 249778298 5 Extended
/dev/sda4 604670535 625137344 10233405 db CP/M / CTOS / ...
/dev/sda5 105113358 234147374 64517008+ 7 HPFS/NTFS/exFAT
/dev/sda6 234147840 242147327 3999744 82 Linux swap / Solaris
/dev/sda7 242149376 262148095 9999360 83 Linux
/dev/sda8 262150144 428888063 83368960 83 Linux
/dev/sda9 428890112 507992063 39550976 b W95 FAT32
ankit@ankit-Inspiron-1012:~$

i have attached the screenshot of the disks partitioning as given by disk utility
Thank You
Attached Thumbnails
Click image for larger version

Name:	Screenshot at 2012-04-06 21:40:13.png
Views:	17
Size:	116.8 KB
ID:	9400  
 
Old 04-06-2012, 02:06 PM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,389

Rep: Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939
I think much of the problem here is you do not understand what happens ( big picture ) when you boot a linux system. I'm guessing you are using grub2, since that is the default boot loader installed with Ubuntu. Since your system was booting windoze and Ubuntu without problems.

O.K. so after POST finishes, ( that is a BIOS hardware function ), the bios code reads the MBR ( Master Boot Record ). That code sends the disk to read the boot loader ( Grub2 ). Depending on user input, Grub2 will send the disk hardware off to read and start loading the OS of the users choice.

Now for linux, you have to specify what partition the system ( the /boot directory ) is on. The kernel is loaded and takes over the boot process. For linux, it will find the file called /etc/fstab. This file controls what partitions are mounted. If a partition is not mounted, it is never read, or written to by the system. You have an /etc/fstab file for each system you install.

If you install a new system on the 49 gig partition, you control during the install what partitions will be added to /etc/fstab. You specify this by putting the root partition on
/dev/sda10 ( that is your free space ). If you do not put /home on its own partition, then it will be created on the same partition as the / ( root ) file system. That is O.K. it will work.

There is no reason to believe this will cause any issue with your Ubuntu system, or what ever you put on the 41 gig partition ( LFS ? ).

One thing you have to be careful of is NOT to install another boot loader to the MBR. After your Debain install is finished, there will not be an entry to boot Debain in Grub2. You will need to boot the system you installed the Grub2 with, and add the entry in Grub2 with that system.

There are How To tutorials on many boards on how to edit grub2 files and add an OS.

If you were to install another boot loader to the MBR with your Debain install, then other OS's won't boot.

So, the simple answer to your question is, the new system will not affect any other installed system.
 
Old 04-10-2012, 12:44 AM   #5
Zssfssz
Member
 
Registered: Sep 2011
Location: Las Vegas!
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339

Rep: Reputation: Disabled
Ubuntu's problems with glibc are maily becaue it comes form Debian's unstable branch and is therefor... Unstable.
 
  


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
Triple-booting Windows 7, Debian (6) and OpenSUSE (Newest: haven't installed yet) Omnilogist Linux - General 3 08-09-2011 04:31 PM
in a dual boot system debian not booting after re-installing windows xp manojpai Debian 3 03-26-2010 03:03 AM
triple booting windows, ubuntu and osx86: passing boot options from grub to osx86? opaltoad Linux - General 1 01-05-2010 08:38 PM
triple booting XP, Ubuntu and Suse SVwander SUSE / openSUSE 3 02-09-2008 10:06 PM
Triple Booting 2 Linux Distros and Windows kwosource Linux - Newbie 5 03-03-2005 12:16 PM

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

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