Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried to search a comprehensive how-to around and here in these forums, but I could not find something for me.
I have 2 hard disks; on the first (master) there's Windows XP; the second is a 240 Gb Maxtor with a single NTFS partition, which i've been using as a "repository" of files, music, etc.
I'd like to install linux on this second hd, so that to have a dual boot (in case of success, my wife would keep on using windows, while I finally would use linux only!). The secondary question is: do i have to make a little ntfs on this second hd to allow files exchange between Xp and linux (i think linux can't write on ntfs?)
Thanks a lot in advance
I'm not sure if it can write to ntfs.
I usually setup a small FAT32 partition.
but you don't need to do this from windows, tools like parted
can do it. and of course you can always change it afterwards.
I would also create at least 2 linux partitions (apart from swap)
1 at least for your /home directories, so you can
keep that stable between installs upgrades and what not.
say about 10G for root / directory would be easy big enough.
The usual way is that you create an ext3/reiser/x fs on the second harddisk. File exchange between windows/linux is then done e.g. by using ext3-drivers for windows. Writing NTFS with linux is very experimental (correct me if this is no longer the truth).
So you have to decrease your NTFS partition on the second hd and create new partitions for linux (you should also have a swap partition).
Thanks both for your replies, let me ask one final question before doing everything: what about the dual boot? I mean, once linux is nstalled in the second drive, how can I boot alternatelly disk 1 or disk 2?
Resize the ntfs partition to make free space for Linux, then go ahead and do the Linux installation in the free space and let it do a default installation where it will create it's own partitions as the designers of the distribution see fit. Then install the "stable" ntfs-3g package if it is not installed by default, Fedora will install it if it sees ntfs partitions. This will allow you to read/write to the ntfs partition. During installation at the boot loader stage, usually you just go with the default location the installer wants to put it which should be the MBR of the first drive with Windows, like /dev/hda or /dev/sda. Normally, when you re-boot you'll get a menu with a choice of either Linux or Windows to boot, Linux will be the default to boot if you don't make a selection within 5 or so seconds. Use the arrow keys to select either one.
Don't be afraid to let it put the boot loader where it is best to put it, it only takes two minutes to restore the Windows boot loader in it's MBR with the Windows installation disk if something does not go right. Usually when things don't go right, it's because the user made a wrong choice instead of just going with the default selections.
Seems to me that there is no reason to keep any ntfs partition on the second hard disc. I have exactly this set up. My PC has two hard drives with Windows XP on the first. The second has a number of paritions for Linux. I also have a FAT 32 partition for sharing files between XP and Linux though you can read and write to ntfs from Linux quite reliably nowadays.
I have not set up drivers to enable Windows to read Linux partitions. One of the reasons I have gone for Linux is security worries with Windows. I would rather keep Windows from being able to interfere with my Linux files.
Dual booting is not a problem and your installation will probably set it up for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.