Click to See Complete Forum and Search --> : how to access local drive using a live cd


bench
01-11-2006, 05:41 AM
hi!

how do you access local drive using a live cd (gentoo).


thanks!

LNXchd
01-11-2006, 06:20 AM
If you want to access the drive and have it partitioned I believe you will have to mount each partition...kinda like...

mount /dev/yourdisk /mnt/yourpartition

mine would be...

mount /dev/sda1 /mnt/boot
mount /dev/sda6 /mnt/
mount /dev/sda7 /mnt/usr

so on and so forth. You will need to adjust acordingly for disk's (ide, sata, or otherwise).

deathadder
01-11-2006, 06:21 AM
You'll need to mount it:

mount /dev/hdxy /mnt/hdxy

where x is a, b, c, or d, and y is the partiton number. So if it was the first partition on the primary master it would look like:

mount /dev/hda1 /mnt/hda1

saikee
01-11-2006, 07:59 AM
You can find out all the partition and disk references by typing at the terminal of the Live CD Linux
fdisk -l

The last charcter in above command is a small "L"

WhiteKnight
01-11-2006, 12:10 PM
i believe u would have to create the mount point also..
mkdir /mnt/hdxy
mount /dev/hdxy /mnt/hdxy
where X and Y are of deathadder's notation.
and if u r using SCSI or SATA drives, most like urs whould be sdxy instead of hdxy.

yeah, fdisk -l will show wat u have

PenguinOfWonder
01-11-2006, 01:19 PM
I think whiteknight is right, you would want to run mkdir and then mount the partition

bench
01-11-2006, 08:00 PM
hi!

thanks a lot for the tips. now i can access my local ntfs drives.

what i need to do now is to move the contents of the local drive off to a host over the network.

but the live cd doesnt seem to have ftp or the like that i can use to move files. i cant add another drive to copy files to.

how do you copy files over the network when i dont have nfs or ftp?


thanks!

LNXchd
01-11-2006, 09:17 PM
unless i am mistaken the gentoo live cd should support scp..try that out and see what happens.

Chad

bench
01-11-2006, 11:18 PM
wondeful! thank you! i'll just have to learn how to use scp!

thanks!

LNXchd
01-11-2006, 11:54 PM
i'll just have to learn how to use scp!

In a terminal type man scp at the prompt, you will get the man pages. Check out the links below for more info.

http://linuxcommands.org/commandsearch.php?search=scp&Submit=Command+Search

http://linuxcommand.org/man_pages/scp1.html

it has been awhile since I used scp between my stations...but as I recall, you will need to have sshd (secure shell daemon) running and then something like ...

$./ssh 192.168.x.x (you will then need to provide a password, maybe userid as well)
$scp /dir/file 192.168.x.x:/dir/

read the manpages to make sure, though! :D Good Luck!

Chad