saving files to  hard drive...


Forum: Other Help Topics
Topic: saving files to  hard drive...
started by: Damn_Small_Jeff

Posted by Damn_Small_Jeff on June 28 2006,00:03
is it at all possible to save files to my hard drive and still run my dsl off of my pendrive?
Posted by mikshaw on June 28 2006,01:55
You can write to ext2/3, reiserfs, fat16, and fat32 partitions, and maybe a few others (not ntfs, though).

You'll need to mount the drive first, which can generally be done with the mount tool that loads in the bottom of the screen.  I've heard of some people for whom this doesn't work, but i'm not sure why...probably a sata drive or some other that wasn't automatically detected? Another possible problem would be if the user was running DSL embedded rather than native.

You'll also need to save the files as root unless you have a linux partition that contains a directory which is writeable by either numeric user 1001 or a numeric group of which dsl is a member (50 or 100, for example).

Posted by Damn_Small_Jeff on June 28 2006,16:33
do you think you could wallk me throught that step by step? im not really linux savy
Posted by mikshaw on June 28 2006,19:07
If you look in the bottom right corner of the screen you should see a little box with 2 buttons in it.  The top button is probably labeled "fd0" or "cdrom".  Click that button until it displays the partition you want to mount.  It will probably be "hda1" or something very similar.  hda1 is often the Linux equivalent of Windows' "C:".
If you see the appropriate partition, click the button below it that should start out labeled "unmounted".

If you can't find your partition, it is probably either NTFS or wasn't detected during the boot process.  I can't help with either situation.

The mounting can also be done on commandline with the command sudo mount /dev/hda1, assuming /dev/hda1 is listed in /etc/fstab.

If you succeed in mounting the partition, it can be accessed with a file manager through the /mnt directory.  If your partition was hda1, go to /mnt/hda1 to find your files.

Posted by Damn_Small_Jeff on June 29 2006,18:51
how do i make the partition? that a i need now. i see what you mean, the chainging the drive thing, but i dont know how to make the partition.
Posted by mikshaw on June 30 2006,14:25
I can't explain exactly how to do whatever it is you need to do, but in order to create partitions, make sure the drive is not mounted and then use the command sudo cfdisk /dev/hda.  This should give you options to delete, resize, create partitions of various types and sizes. Make sure you choose partition type "linux" when creating a new one, and save the partition table.
After doing this you should reboot to allow your machine to adjust to the new table.
Then you'll need to format the partition. I recommend reiserfs or ext3 file system, but unfortunately I don't think DSL has the tools to format reiserfs (you could use Knoppix to do this). If your new partition is hda1, the command to format ext3 would be sudo mkfs.ext3 /dev/hda1

Posted by Damn_Small_Jeff on July 02 2006,16:54
i cant figure out how to make a new partition with my hard drive. its looking in my flash drive.
Posted by kerry on July 02 2006,19:44
Grab a copy of gparted it makes working with partions very easy-> < http://gparted.sourceforge.net/livecd.php >

It's a live cd just like DSL, but it's only for setting up your partions or wiping drives clean,etc.... Very handy to have.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.