where is data on disk when using a live CD

Gabriel Dragffy dragffy at yandex.ru
Mon Aug 28 07:59:36 UTC 2006


On Mon, 2006-08-28 at 10:42 +1000, Stephan Vissers wrote:
> Hi,
> 
> I've got an ubuntu installed on my disk and had some troubles last
> time time and did a reboot from my live CD. But as an unexperienced
> user I couldn't find my data that is on the disk (e.g. home folder). 
> What should I do to make this hard disk available for me to use?
> 
> Stephan

You will need to mount it to make it available. You need to know two
things: the device name in /dev, is it /dev/hda1 /dev/hda2?????
You may be able to find out by running in a terminal:
$	sudo fdisk -l

Then maybe you need to know what the filesystem is, and that should also
be in the output of fdisk. You now need to mount it:
$   sudo mkdir /media/home
$   sudo mount -t FILESYSTEM -o defaults /DEVICE_LOCATION /media/home

Replace FILESYSTEM with the filesystem as in the fdisk output (reiserfs,
ext3, ext2, jfs etc.) and replace DEVICE_LOCATION with /dev/????
whatever the location was in fdisk. Then you should be able to access
your home date by going to /media/home.

Gabe






More information about the ubuntu-users mailing list