FAQ   Search   Memberlist  
Profile    Log in to check your private messages    Register    Log in
Windows Partitions

 
Post new topic   Reply to topic    BLAG Forum Index -> support
View previous topic :: View next topic  
Author Message
Chris
PostPosted: Tue Apr 13, 2004 4:24 am    Post subject: Windows Partitions Reply with quote

Anyone know how to read a windows partition using Blag? I have used mandrake linux once and it let me read my windows drive without any work at all. Is there a way to set blag up to do this?
Jason
PostPosted: Tue Apr 13, 2004 12:11 pm    Post subject: Reply with quote

Yeah its quite easy do but your Windows drive needs to be FAT. You may be able to get it working with NTFS too but its easy for data to be corrupted it seems.

So assuming its fat, simply click the Star > System Tools > Hardware Browser.

Click Hard Drives and you will see something like Drive /dev/hda. Note this down as you will need it.

Open a terminal and type pico /etc/fstab

You will see the format the syntax is in, so just add

Code:
/dev/hda  /mnt/data  vfat  defaults     0 0


and just make sure its under the text above it.

Now press ctrl & O at the same time to save. Then ctrl & x to exit. Now reboot.

Obviously yours may not say /dev/hda as your Hardware Browser may have told you something different. My /etc/fstab file looks like this.

Code:

LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda3               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/hdb5               /mnt/data               vfat    defaults        0 0


Now when you reboot it will be auto mounted for you. [/code]

jebba
PostPosted: Tue Apr 13, 2004 1:42 pm    Post subject: Reply with quote

I'll also add that:

/mnt/data

is a directory you must create.

Code:
mkdir /mnt/data


You can make this directory anything you like. When I'm mounting someone else's windoz drive for them, I usually do:
/windoz

I'm trying to figure out how this is done automatically as I'd like it so folks didn't have to do it manually....

-Jeff

Chris
PostPosted: Tue Apr 13, 2004 5:03 pm    Post subject: Reply with quote

Ok, I can give this a try. The only problem with this is that my drive is NTFS because it is an 80gb hard drive. Drives this big cannot be used with fat32 partitions.
jebba
PostPosted: Tue Apr 13, 2004 5:59 pm    Post subject: Reply with quote

NTFS partitions can be read, but I believe it is a bit dodgy to write to them. You may have to run something like:

Code:
modprobe ntfs
mount -t ntfs /dev/hdb1 /windoz

Jason
PostPosted: Tue Apr 13, 2004 7:15 pm    Post subject: Reply with quote

Chris wrote:
Ok, I can give this a try. The only problem with this is that my drive is NTFS because it is an 80gb hard drive. Drives this big cannot be used with fat32 partitions.


I never knew that. I have a 40GB drive using fat32 without any issues as my share drive for dual booting. Are you sure thats the case? I know Windows doesn't actually give you much option when installing though so it tends to lie a little to get you onto NTFS which is understandable as it will crash every 5 minutes on fat32 as opposed to once every 15 minutes on NTFS.

What I would do is lay my hard drive out like this

5GB Windows - this will suffice for XP and 2000 even with XP taking 2GB just for the OS.

10GB Linux - I would put that much because its easy to fall in love with Linux and just use it for everything.

25GB fat32 - Store your mp3's, movies, docs on here. Then use from both OS'es.

Jason
PostPosted: Tue Apr 13, 2004 7:16 pm    Post subject: Reply with quote

jebba wrote:

I'm trying to figure out how this is done automatically as I'd like it so folks didn't have to do it manually....


I was always likely to forget something important like the creation of the folder :D

Still an auto creation util would rock. Maybe a script of sorts?

kazim
PostPosted: Tue Apr 13, 2004 10:44 pm    Post subject: 80GB FAT32 how-to with mkdosfs Reply with quote

Windows 2000/XP cannot create FAT32 partitions larger than 32GB, although FAT32 can do 2 terabytes! Win98/2k/XP and Linux can however mount and read/write to them.

The quickest way to create a single 80GB FAT32 partition is from Linux:
fdisk a single partition on the 80GB disk. (replace hdc with whatever your 80gb disk devs at)
Code:
fdisk /dev/hdc

follow the instructions carefully!

:idea: Best to set the partition's systemID, then linux will know what to do when you try to mount it. After you've done the fateful "w" in fdisk, then run this:
Code:
mkdosfs -F 32 /dev/hdc1

Thats it, 80GB formatted in FAT32. And beyond? probably....

Also this in yer /etc/fstab mounts a fat32 partition with rw access for any x user:
Code:
/dev/hdc1  /mnt/fatdisk   vfat   auto,rw,umask=000   0 0


works well for me... I am not totally sure about data integrity here, especially when system crashes ocurr. Rather store your sensetive stuff in ext3.



Last edited by kazim on Wed Apr 14, 2004 1:15 am; edited 1 time in total
Jason
PostPosted: Tue Apr 13, 2004 11:02 pm    Post subject: Re: 80GB FAT32 how-to with mkdosfs Reply with quote

kazim wrote:
Windows 2000/XP cannot create FAT32 partitions larger than 32GB, although FAT32 can do 2 terabytes! Win98/2k/XP and Linux can however mount and read/write to them.


Maybe Windows itself cannot create partitions that size but using Partition Magic on Windows did it for me.

kazim
PostPosted: Wed Apr 14, 2004 1:13 am    Post subject: Partition Magic Reply with quote

Partition Magic.. oh, open source now is it ;)

Yes PM is very powerful. Hell, it can even merge partitions of different types! Can't compete with that, but then I need a Windows box and a license key and ....

There are other partitioning utilities too...

- ASPDiskManager utility
- linux-ntfs.sourceforge.net
- http://rescuecd.sourceforge.net/
- http://mkcdrec.ota.be/
- Paragon Software's Partition Manager
- Acronis OS Selector
- V-Communications's System Commander
- Xandros Desktop OS's installer
- TeraByte Unlimited's BootIt Next Gen

Anybody know more?

Jason
PostPosted: Wed Apr 14, 2004 11:32 am    Post subject: Reply with quote

Yeah QTParted. It works just like PM apparently and is GPL. I only found it yesterday and got some friends to try it out. I have yet to test it myself but if anyone wants to give it a try you can find it at http://qtparted.sourceforge.net/

I think it is the same one that shipped with Knoppix because I do recall seeing it on the live CD from them.

Display posts from previous:   
Post new topic   Reply to topic    BLAG Forum Index -> support
Page 1 of 1

Protected by Anti-Spam ACP