LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-13-2004, 10:15 PM   #1
chridrake
LQ Newbie
 
Registered: Aug 2004
Location: Lexington, KY
Posts: 1

Rep: Reputation: 0
Install Question


Hey folks I was wondering can I install linux onto my secondary hard drive? like from the ISO file. like make the HD with a linux partition or do I have to make it primary and install it that away?
 
Old 08-14-2004, 12:30 AM   #2
J.K
Member
 
Registered: Dec 2003
Location: Australia
Distribution: mandrake 10.1 Official
Posts: 218

Rep: Reputation: 30
Are you trying to dual boot with windows?
 
Old 08-14-2004, 05:23 AM   #3
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Yes, you can install Linux on any drive you want.

No, Linux does not have to be installed to a primary partition (although many automatic partitioning utilities in the installers will in fact do this, it is not required), and in fact, when dual booting with Windows, especially if Windows 2000 or above, it is much better to install Linux to logical partitions rather than primary. Otherwise, Windows attempts to load drivers and mount the partitions, which it can't do, which means you have to wait for it to fail, timeout, retry, fail, timeout before it will load your desktop.

So it it definitely worth either pre-partitioning to make some extra logical partitions, or using any "custom" partitioning option in your distro's install routine to make sure that Linux is installed to logical partitions rather than primary.

Hope this helps.
 
Old 09-09-2004, 10:20 PM   #4
Makaelin
Member
 
Registered: Mar 2004
Posts: 93

Rep: Reputation: 15
Can the swap partition also be a logical drive in the overall extended linux partition? Ressurecting and hijacking this thread, since it answered one question for me already.

Basically, I want to have Linux be first on the HD. So want an extended partition at the beginning of the drive, with logical drives for Swap, /, /var, and /tmp. Then a primary partition for WindowsXP to be installed to. Will this setup work? And also, is there any performance differences in linux running on logical drives as opposed to primary?

Also, will WindowsXP suffer performance issues from being further on the drive? I only use it for gaming.

Last edited by Makaelin; 09-09-2004 at 10:22 PM.
 
Old 09-10-2004, 12:29 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo on headless; Arch on everything that requires a GUI
Posts: 6,941

Rep: Reputation: 137Reputation: 137
Quote:
Originally posted by Makaelin
Can the swap partition also be a logical drive in the overall extended linux partition?
Yes.
Quote:
Basically, I want to have Linux be first on the HD. So want an extended partition at the beginning of the drive, with logical drives for Swap, /, /var, and /tmp. Then a primary partition for WindowsXP to be installed to. Will this setup work? And also, is there any performance differences in linux running on logical drives as opposed to primary?

Also, will WindowsXP suffer performance issues from being further on the drive? I only use it for gaming.
Windoze will have to be first on your drive, or you have to jump through a bunch
of hoops to get it to boot, if you can. You will not see any performance gain by that.
Btw - Windoze XP always suffers performance issues - they're built into the OS. ;-)
I'm not sure if you can make an Extended partition come before a Primary, but there
is absolutely no need to do this (if it's possible).

If you install Linux first, Windoze will write over your bootloader and you'll have to fix it.
When you install Linux last, you can install LILO and setup your dual boot with Windoze
and Linux. So install Windoze first, then Linux.
 
Old 09-10-2004, 12:46 AM   #6
Makaelin
Member
 
Registered: Mar 2004
Posts: 93

Rep: Reputation: 15
Well, see, right now the drive only has XP on it. So I've got PartitionMagic that I can use to set up all the partitions ahead of time. That's the way that I can set up the linux partition to be at the beginning of the drive. Then install XP to its partition, then install linux after that.

Or will that not work at all?
 
Old 09-10-2004, 12:49 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo on headless; Arch on everything that requires a GUI
Posts: 6,941

Rep: Reputation: 137Reputation: 137
I had to reformat a drive with XP installed Tuesday, and I could NOT move the
stinking NTFS first partition with PM7, nor could I add unallocated space that
was in the extended partition to it and format it. (NTFS was the first partition,
which in Linux language is /dev/hda1.)

My suggestion, and the way I do it, is leave everything for Linux as unallocated
space, then partition it with cfdisk and format it when you do the install. Btw -
which Linux OS are you installing? Gone to buy parts to build a new comp...
 
Old 09-10-2004, 01:49 AM   #8
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Quote:
Originally posted by Chinaman
I had to reformat a drive with XP installed Tuesday, and I could NOT move the
stinking NTFS first partition with PM7, nor could I add unallocated space that
was in the extended partition to it and format it. (NTFS was the first partition,
which in Linux language is /dev/hda1.)
This is probably due to the version of PM. I only point it out because these things are important-- if you use XP (with it's newer version of NTFS), or want to create ext3 Linux partitions as below (although this is not recommended), you really need PM v.8, as v.7 did not have some of the functionality that one needs to manage current filesystems on both sides of the fence.

Quote:
Originally posted by Chinaman
My suggestion, and the way I do it, is leave everything for Linux as unallocated
space, then partition it with cfdisk and format it when you do the install.
Absolutely!!! It is definitely best to leave the space unallocated if possible. If that is not possible, the second best option is to make any Linux partitions made via PM as ext2 -- then reformat them to the appropriate filesystem during the Linux install (even if that fs is ext2, just like they're already supposed to be).

The rule to remember: Use Windows tools to manage Windows filesystems, and use Linux tools to manage Linux filesystems wherever possible. Linux can manage Windows filesystems adequately, but Windows doesn't manage Linux filesystems well at all, and both OSes manage their native filesystems better than they do foreign ones.
 
  


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
Install Question brokenflea Slackware 3 09-30-2004 12:32 PM
question about an install bosewicht Linux - Newbie 0 06-16-2004 05:18 PM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 09:39 PM
Install question wayneinmpls Slackware 2 12-11-2003 09:25 PM
install question bobsacamano Slackware 1 11-10-2003 05:13 PM

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

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