BLAG

BLAG Forums
It is currently Thu Dec 18, 2014 7:33 pm

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Windows Partitions
PostPosted: Tue Apr 13, 2004 4:24 am 
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?


Top
  
 
 Post subject:
PostPosted: Tue Apr 13, 2004 12:11 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 4:45 pm
Posts: 621
Location: London
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]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 13, 2004 1:42 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 13, 2004 5:03 pm 
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.


Top
  
 
 Post subject:
PostPosted: Tue Apr 13, 2004 5:59 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 13, 2004 7:15 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 4:45 pm
Posts: 621
Location: London
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 13, 2004 7:16 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 4:45 pm
Posts: 621
Location: London
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?


Top
 Profile  
 
PostPosted: Tue Apr 13, 2004 10:44 pm 
Offline

Joined: Sun Mar 14, 2004 11:08 pm
Posts: 83
Location: LOWMEM
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.

Top
 Profile  
 
PostPosted: Tue Apr 13, 2004 11:02 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 4:45 pm
Posts: 621
Location: London
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.


Top
 Profile  
 
 Post subject: Partition Magic
PostPosted: Wed Apr 14, 2004 1:13 am 
Offline

Joined: Sun Mar 14, 2004 11:08 pm
Posts: 83
Location: LOWMEM
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?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 14, 2004 11:32 am 
Offline
Site Admin

Joined: Sun Mar 14, 2004 4:45 pm
Posts: 621
Location: London
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group