LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-15-2004, 08:51 PM   #1
sdpeelejr
Member
 
Registered: Mar 2004
Location: South Carolina
Distribution: Fedora Core 1, Mandrake Linux 10.0
Posts: 51

Rep: Reputation: 15
Question before dual-boot installation


Will the linux distrubtion I install have a partion program on it during installation?

ie. will i be able to create partitions during installation so I can dual boot? or is it more to it than that.

Thanks,

Stevie
 
Old 06-15-2004, 10:01 PM   #2
theabyyss
Member
 
Registered: Aug 2001
Location: CT
Distribution: Debian Sarge (2.6.9-albooksleep) on a PPC
Posts: 64

Rep: Reputation: 15
in direct answer to your question, it depends on which distribution you install. some, like mandrake and redhat, have easy to use graphical partition tools for you. others, like slackware, debian, and gentoo use the typical text tool fdisk, or a similar utility. if you're asking this question, i'm guessing the distribution you're looking at had a graphical one, since you're probably looking at very ease-of-use oriented distros.

in addition to this, you should know that if you have an existing windows installation, and you want to shrink its partition to make room for linux, you MUST defragment your windows partition before installing (specifically the shrinking of the windows partition) because windows leaves some files on the end of the partition. if you have a version of windows where the defragmenter includes a graphic representation of where file pieces are, you might want to repeat this if the defragmenter leaves some files towards the end of the partition.
 
Old 06-16-2004, 04:39 AM   #3
hirakendu
LQ Newbie
 
Registered: Jun 2004
Location: India
Distribution: Gentoo
Posts: 18

Rep: Reputation: 0
Why dont you use some 3rd party partitioning tools like partition magic etc in windows. and about boot loader, there is no problem with fedora,redhat and mandrake.Dont know with other distros.
I run a triple boot of win98,winXP and fc1 with windows boot loader.
 
Old 06-16-2004, 05:13 AM   #4
HuSMG
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
Greetings.

In case you want to install a distro like Debian, and, you don't fell at ease with fdisk, you can always use a distro like Mandrake, partition your hard drive, and then abort the instalation, after that, you install your other distro. Don't forget to defrag your windows partition, if you have one.

The experience I have is, that there is no problem with the boot loaders, anyway, if anything unusual happens, have a floppy on hand, preferably with w98 configuration, boot from the floppy and type "fdisk /mbr" and you will have access to your windows partition, but you'll have to reinstall the boot loader, or even, reinstall all the linux system.


Regards
 
Old 06-16-2004, 07:48 AM   #5
sdpeelejr
Member
 
Registered: Mar 2004
Location: South Carolina
Distribution: Fedora Core 1, Mandrake Linux 10.0
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks for the help!
 
Old 06-16-2004, 10:52 AM   #6
sdpeelejr
Member
 
Registered: Mar 2004
Location: South Carolina
Distribution: Fedora Core 1, Mandrake Linux 10.0
Posts: 51

Original Poster
Rep: Reputation: 15
Okay, I ran defrag about 6 times and I got the C compacted pretty well. This was what I ended up with. Is that good enough? I want to allot 5 MB to the Linux Partition and I have Partition Magic on CD.

Any help is welcome.

Thanks,

Stevie
 
Old 06-16-2004, 11:51 AM   #7
theabyyss
Member
 
Registered: Aug 2001
Location: CT
Distribution: Debian Sarge (2.6.9-albooksleep) on a PPC
Posts: 64

Rep: Reputation: 15
you could probly even cut the windows partition in half if you wanted to, and use the end of the disk for the linux partion. though i hope the 5 mb is a typo, some kernels don't even fit in 5mb. i'm assuming you meant 5 gb. which there's plenty of space for.
 
Old 06-16-2004, 12:52 PM   #8
sdpeelejr
Member
 
Registered: Mar 2004
Location: South Carolina
Distribution: Fedora Core 1, Mandrake Linux 10.0
Posts: 51

Original Poster
Rep: Reputation: 15
lol. Yeah, i meant 5GB. (which I think should be plenty)

Okay, so, should I just now use Partition Magic/Linux installation to partition now?

Thanks so much!

Stevie
 
Old 06-16-2004, 01:55 PM   #9
muyo76
LQ Newbie
 
Registered: Mar 2003
Location: Madrid, Spain
Distribution: Debian/ex-Red Hat/Mandrake/Suse/slackware
Posts: 16

Rep: Reputation: 0
If you want to install a Debian based system, you can do it graphically thru Progeny's Anaconda port for Debian: http://platform.progeny.com/anaconda/index.html

I found Knoppix very user friendly. I'd try a CD install. There are several tutorials online.
 
Old 06-16-2004, 04:18 PM   #10
sdpeelejr
Member
 
Registered: Mar 2004
Location: South Carolina
Distribution: Fedora Core 1, Mandrake Linux 10.0
Posts: 51

Original Poster
Rep: Reputation: 15
So, I just need to make the partition and when the install comes up, choose the partition I made?

Thanks
 
Old 06-16-2004, 05:31 PM   #11
muyo76
LQ Newbie
 
Registered: Mar 2003
Location: Madrid, Spain
Distribution: Debian/ex-Red Hat/Mandrake/Suse/slackware
Posts: 16

Rep: Reputation: 0
It's usually as simple as that. I guess you have to decide a distro to go, and check some step-by-step review to make sure. It's a question of self-confidence, I guess

Some people use old hard drives or whole old computers.
 
Old 06-16-2004, 09:42 PM   #12
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
I'm not sure where you are at on things now.

As mentioned earlier, most all Linux installers will allow you to partition your hard drive, but not all of them will allow you to non-destructively reduce the size of an existing NTFS on like you have. The ones that do include a program called ntfs-resize which is part of the ntfs tools package. I don't think gnu-parted does NTFS yet (another free re-partitioner program, available as a bootable floppy), but maybe it does. Of course if you have Partition Magic or some such commercial program, you can use it instead, otherwise you have to hunt down the free open source tools listed above (or included in an installer) to do the job.

Once you get your NTFS partition shrunk down, which is the scary part (I've successfully used resize-ntfs however), then it is a simple matter of making a big partition for your Linux root file system and a small (100 Megs or so) one for a Linux "swap" partition.

Most full sized Linux distros like to have around 3 Gigs these days, this includes a fair (but not overly generous) amount of free space.

So it sounds like you have plenty of free space for this once you steal it away from Windows.

When you install Linux, I usually install the boot loader (lilo or grub) on the Linux partition instead of the master boot record. This way Windows doesn't know anything is there, and won't mess with it. Then you just set the "active partition" to your Linux partition to be able to boot into your Linux based Windows -vs- Linux selector program (like lilo or grub). If anything goes wrong, just set the active partition back to Windows and Windows will boot just as before. Once again, Partition Magic can do this too.

Note: I don't know grub, but I do this all the time with lilo.
 
Old 06-16-2004, 11:07 PM   #13
Robert G. Hays
Member
 
Registered: Jan 2003
Location: Atlanta, Ga., USA
Distribution: Gentoo, Mandrake, ~others
Posts: 157

Rep: Reputation: 30
DANGER WILL ROBINSON...

many computers still cannot boot an OS that is more than some specific distance out into the HD; here is what I suggest:

part_1 = 70 0r 80 Megabytes, Linux format, will mount as /boot
part_2 = your NTFS, resized to your needs
part_3 = extended, containing:
part_5 = 100 Megabytes Linux SWAP format, 'mounts' as swap
part_6 = Linux format, mounts as /
Keep using Partition Magic to do all that, & then *if* linux barks at you that it does not like the / partition, use PM to delete it, and tell you Linux to create a / partition in the unused space.

I have had *many* easy instals in *ALL* sorts of setups this way !! 8)

My two-cents-worth on boot-loaders:

I have played with lilo for last two years, I recently tried grub, and I will never go back; more power, easier doings.

Put grub in your part_1 above first; may HAVE to be in the MBR; I do not know much about the Win NT/2K/XP group in a mixed environment...

Last edited by Robert G. Hays; 06-16-2004 at 11:11 PM.
 
Old 06-17-2004, 02:31 AM   #14
muyo76
LQ Newbie
 
Registered: Mar 2003
Location: Madrid, Spain
Distribution: Debian/ex-Red Hat/Mandrake/Suse/slackware
Posts: 16

Rep: Reputation: 0
Back in the day they grouped horribly. That's how I developed the habit of using separate HDs, making them both standalone, bootable HDs and then making LILO or GRUB cheat the slave HD into being secondary. This way I can install the OSs indepently, and if a HD goes South, I still have a working environment (with a working internet connection) to boot.

My other .02€
 
Old 06-17-2004, 09:00 AM   #15
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
Can anyone point out a computer made in the last 6 years that has a BIOS problem where it can't boot on a partition that is out past 1024 cylinders? Is there any that have a problem past the old LBA 8 Gig limit? Anyway, unless you are using old hardware, (I have one such dinosaur) then I wouldn't worry too much about it.

The second HD idea is a good one (unless you don't have one), it is a little easier to go back to your original (windows only) configuration, if for some strange reason, you want too.

The truth is, it is well worth learning about how PC boot up, how hard drives are partitioned, etc. The lilo documentation is a good place for this information, but there is probably other documents around too. I still get surprised sometimes when I get the BIOS and bootloader confused about what and where your hard drives are. I find that booting problems in Linux are a lot easier to fix than booting problems in Windows, which is why I like to leave the Windows booting procedure alone as much as possible.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot installation niteshg Linux - General 1 09-18-2005 10:50 PM
Dual Boot Installation kaplan71 Linux - General 1 04-27-2005 01:50 PM
Dual Installation Question Dillius Linux - General 3 04-22-2005 08:34 PM
Partioning in Dual Boot installation canilk Linux - Software 3 10-12-2004 07:50 AM
Dual boot Linux installation aksood Linux - General 3 09-30-2001 06:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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