gnewsense-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gNewSense-users] Mounting hard drive from live CD


From: andrei raevsky
Subject: Re: [gNewSense-users] Mounting hard drive from live CD
Date: Sat, 10 Mar 2007 13:03:38 -0500

Here is what I would do:

sudo fdisk -l

This should give you a list of all your devices.  Mine looks like this:

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        1275    10241406   83  Linux
/dev/hda2            1276        1307      257040   82  Linux swap / Solaris
/dev/hda3            1308        9729    67649715   83  Linux

Disk /dev/sda: 1040 MB, 1040580608 bytes
128 heads, 34 sectors/track, 467 cylinders
Units = cylinders of 4352 * 512 = 2228224 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         467     1016175    b  W95 FAT32

then take a peek at /etc/fstab with the command 'cat /etc/fstab'

if all the devices listed by fdfisk have their directories, then simply do 'mount /dev/nameofthedevice /media/nameofthedevice' (on my machine this could be ' mount /dev/hda1 /media/hda1'.  If one or several devices do not have their own directory yet, simply make 'mkdir /media/nameofthedevice' (on my machine this would be ' mkdir /media/hda1' on only then mount it.

There are easier GUI ways to do this, but this works from the command line, does not depend on your distro or GUI, and will give you clear error messages if something does not work.

Take a peek at 'man fdisk' and 'man mount' for more info.

HTH.

Kind regards,

Andrei

PS: email the list or me directly if you have any more question


On 3/10/07, Guy Johnston <address@hidden> wrote:
Hi, does anyone know how to mount a hard drive (or just a particular partition) when using the gNewSense live CD? I can't seem to do it in Nautilus, even when using sudo. I only want to read data from it, not write to it, and I'd be worried of overwriting something and messing it up.

Thanks,

Guy

_______________________________________________
gNewSense-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gnewsense-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]