View previous topic :: View next topic |
Author |
Message |
alkats n00b
Joined: 15 Feb 2005 Posts: 21
|
Posted: Thu Mar 10, 2005 4:30 pm Post subject: Dual Boot Setup with common (WinXP data)+(Linux /home) |
|
|
I hope the title said it all. I have a small 11.5 GB laptop HD and would like to setup a dual system: WinXP+Linux. I wonder, if somehow I could share common data area where I would keep files from both systems. Something like this:
hda1__primary___/boot_____EXT2_________15 MB
hda2__primary___WinXP____NTSF_________5000 MB <-stock WinXP files
hda3__primary___data______FAT32________4000 MB <- this partition is to share the common data space
hda5__logical_____/________EXT3_________150 MB
hda6__logical_____/usr_____EXT3__________2100 MB
hda7__logical_____swap____SWAP_________ 245 MB
Please, let me know with actual commands, if you can, because I am a newbie and not very familiar with the whole plethora of commands. I will be able to follow them and read "man" pages if I am pointed to.
In one of posts which I recearched earlier, I read that in general it is possible, by including in kernel a module to access FAT32, including this line in fstab file to mount this partition:
/dev/hda3 /home vfat defaults,users,fmask=0111,dmask=0022 0 0
Then I read that it would be better to symbolically link /home with /dev/hda3
Since I am a noob, I understood only general things. If somehow I would get it working I would be very greatful.
I am very vague about syntax of these commands and would appreciate if somebody would walk me through the procedure.
I am planning installing Gentoo+2.6 kernel on my IBM 600X laptop. Previously I did install Gentoo separately and WinXP separately without any difficulties.
Thank you all nice people. |
|
Back to top |
|
|
marcolovato n00b
Joined: 13 Sep 2004 Posts: 39 Location: Porto Alegre/RS/Brasil
|
Posted: Thu Mar 10, 2005 5:06 pm Post subject: |
|
|
Good. The same idea I had.
Code: |
/dev/hda2 /mnt/d vfat uid=510,gid=100,dmask=077,fmask=177,shortname=winnt 0 0
|
This will mount your FAT partition, for user 510 (me!), RWX for folders, and RW for files.
And you can reference files or folders without worring with CaSe, like windows.
BUT... (there is also a but)
Somehow files I wrote thru linux did not appear on FAT partition, and about 3 times Windows ask me to run ScanDisk.
Then I got back to Linux, and the files were still there!
I heard that NTFS is newer, but more reliable. But never tried this one...
You have to add to your Kernel the proper support to VFAT, NTFS and NTFS Write.
Here is my dual system:
/dev/hda1 on /mnt/c type ntfs (ro,uid=510,gid=100)
/dev/hda2 on /mnt/d type vfat (ro,uid=510,gid=100,dmask=077,fmask=177,shortname=winnt)
/dev/hda5 on /boot type ext2 (rw)
/dev/hda6 SWAP
/dev/hda7 on / type reiserfs (rw,noatime,notail)
Your sizes are almost correct.
Consider putting "/" and "/usr" togheter, to save some HDD space.
And try to distribute space according yout system usage.
Where do you will install windows games? /dev/hda2? You will run out of space very quickly.
My suggestion is 3Gb Windows, 5Gb Data (you can always use this space to install some app), 3Gb Linux, 256Mb LinuxSwap...
And the boot partition does not need to be hda1 nor on primary partitions...
If you have any doubt, please let me know. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|