LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2008, 07:32 AM   #1
needcoffee
LQ Newbie
 
Registered: Nov 2008
Location: UK
Distribution: Slackware 12.1
Posts: 14

Rep: Reputation: 0
mount local hard drive in DSL?


Hi, I don't know how to mount a local hard drive (NTFS) from DSL - which i'm running in QEMU (under Windows 2000) from a USB stick. Can anyone tell me how I would go about it?
There is just one hard drive which may be ide or sata, i'm not sure and the PC is too locked down for me to check without cracking open the case.
 
Old 11-17-2008, 12:54 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
DSL I'm guessing means "Damn Small Linux", yes?

I've not used that distro, but one can find their available internal disks using fdisk:

sudo fdisk -l

... then you simply mount the partition like you would any other, i.e. "mount /dev/sdb1 /some/local/directory" (you may have to sudo or be root depending on your fstab). I'm not sure if DSL comes with NTFS support out of the box, so you may have to install that.
 
Old 11-17-2008, 01:32 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,
Quote:
Originally Posted by needcoffee View Post
Hi, I don't know how to mount a local hard drive (NTFS) from DSL - which i'm running in QEMU (under Windows 2000) from a USB stick. Can anyone tell me how I would go about it?
There is just one hard drive which may be ide or sata, i'm not sure and the PC is too locked down for me to check without cracking open the case.
You are running DSL VM client on a VM host running W2K with QEMU. You should look at the documentation as too how you would read a host filesystem. If it is a USB flash/drive then you have to make certain that the USB is enabled for the client. Once that has been enabled it is just a manner of mount/umount for the device from the 'cli'.
 
Old 11-17-2008, 02:27 PM   #4
needcoffee
LQ Newbie
 
Registered: Nov 2008
Location: UK
Distribution: Slackware 12.1
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for the input guys, yes DSL = Damn Small Linux. I think there may be some fundamental problem, I shall check out the DSL documentation but I need a quick answer really.

From a root shell I tried fdisk -l and this was the output:

Code:
Disk /dev/hda: 128 MB, 128057344 bytes
255 heads, 63 sectors/track, 15 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
Needless to say that is the USB flash drive, not the local hard drive.

Maybe I should give up with DSL and use an ubuntu live CD? Unless anyone has a bright Idea? I tried using samba on localhost but either i'm not doing it right or it isn't possible.

Cheers,
 
Old 11-18-2008, 10:20 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Apparently your device is showing no partitions. What filesystem is supposed to be there?

Just remember that if you allocate a space for the client it still has to be prepared with a filesystem.

If '/dev/hda' is the correct device then either create partition(s) then make the filesystem or just make the filesystem on that device.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing DSL on hard drive kennycc DamnSmallLinux 5 10-10-2008 01:26 PM
How do I configure DSL to automatically see and mount local partitions? Andriy DamnSmallLinux 6 05-24-2007 02:50 PM
Help writing script file to mount / mount hard drive Rustylinux Linux - General 6 06-27-2006 09:34 AM
DSL Won't Install To Hard Drive EricJ2190 DamnSmallLinux 0 12-27-2005 06:33 PM
how do i install DSL on to my hard drive Donald_McM DamnSmallLinux 1 02-06-2005 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration