Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ls question 1

Status
Not open for further replies.

MarcLara

Technical User
Dec 7, 2001
54
0
0
US
i am a NEWBIE using a linux boot cd to boot up my computer for testing purposes. i am mounting the hard drive ok. what do i need to do next to see the files on the hard drive. i tried using ls but not sure exactly how to use it. the hd has some linux image files. the hd is in ms-dos format. any help would be appreciated
 
mount -t /dev/hda1

it wasn't giving me any error messages, so i am assuming that it's ok

 

Try 'mount' to show where it's mounted and then 'cd' to that directory.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
It's easier if you mount the disk to a directory. For example make a directory call disk:

mkdir disk

Then mount the partition to that disk:

mount -t vfat /dev/hda1 /disk (windows format)

mount -t msdos /dev/hda1 /disk (DOS format)



 

Thanks guys, this is exactly what i was looking for.

Just out of curiousity, when I boot from a cd and create a directory, is that directory temporary only or is it on the hd?
 

Depends on where you create the directory. If it's under / it's only temporary.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
If you are booting from a live disc (that runs the entire system from the disk) such as knoppix, then that directory is then temporary.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top