LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-17-2008, 12:50 PM   #1
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 326

Rep: Reputation: 31
Can I Mount Win98/XP HDD, via USB Case, in Ubuntu?


i'm about to wipe an old Win98 or XP HDD and use it to back up my current home directory, but i'd like to view the contents first. can i do that in ubuntu?

tia...
 
Old 04-17-2008, 02:02 PM   #2
MiniDev
LQ Newbie
 
Registered: Nov 2007
Location: Georgia
Distribution: KNOPPIX, Debian, DSL
Posts: 23

Rep: Reputation: 15
You most certainly can. In fact, you can do it with any modern Linux distro. If you're using a USB hard drive, or an internal HDD with a converter case, just start your computer and plug the disk into your USB port. Depending on you're personal settings and Ubuntu version, either a box will come up asking you what to do with the HDD, or you will see an icon for the drive appear on your desktop, maybe both. Keep in mind that in order to access the contents of any storage device with Linux, you have to first "mount" the device. With box appearing, just choose to the mount option. With icon on your desktop, you right click and select the mount option.

Furthermore, Linux has a completely different naming convention for devices. Instead of calling disk drives C, D, A, and so on, Linux uses a method that involves extreme abbreviations. For example, "Drive C" could be identified as hda1. "hd" stands for "hard disk", "a" is the first such device detected, and "1" refers to the first partition on that drive. Now for the confusing part with USB drives. In Linux, your USB drive may be identified as sda1. In this case, the first two letters(sd) stand for "SCSI emulated disk". SCSI is a close cousin of USB, so to speak. You can read the Wikipedia article hear http://en.wikipedia.org/wiki/Scsi

Because you seem to have just gotten started with Linux, I think you read with article and most of the articles linked to it http://en.wikipedia.org/wiki/Linux

Please let me know if this helps you.
 
Old 04-17-2008, 02:11 PM   #3
MiniDev
LQ Newbie
 
Registered: Nov 2007
Location: Georgia
Distribution: KNOPPIX, Debian, DSL
Posts: 23

Rep: Reputation: 15
You most certainly can. In fact, you can do it with any modern Linux distro. If you're using a USB hard drive, or an internal HDD with a converter case, just start your computer and plug the disk into your USB port. Depending on you're personal settings and Ubuntu version, either a box will come up asking you what to do with the HDD, or you will see an icon for the drive appear on your desktop, maybe both. Keep in mind that in order to access the contents of any storage device with Linux, you have to first "mount" the device. With box appearing, just choose to the mount option. With icon on your desktop, you right click and select the mount option.

Furthermore, Linux has a completely different naming convention for devices. Instead of calling disk drives C, D, A, and so on, Linux uses a method that involves extreme abbreviations. For example, "Drive C" could be identified as hda1. "hd" stands for "hard disk", "a" is the first such device detected, and "1" refers to the first partition on that drive. Now for the confusing part with USB drives. In Linux, your USB drive may be identified as sda1. In this case, the first two letters(sd) stand for "SCSI emulated disk". SCSI is a close cousin of USB, so to speak. You can read the Wikipedia article hear http://en.wikipedia.org/wiki/Scsi

Because you seem to have just gotten started with Linux, I think you read with article and most of the articles linked to it http://en.wikipedia.org/wiki/Linux

Please let me know if this helps you.
 
Old 04-17-2008, 02:14 PM   #4
MiniDev
LQ Newbie
 
Registered: Nov 2007
Location: Georgia
Distribution: KNOPPIX, Debian, DSL
Posts: 23

Rep: Reputation: 15
Sorry for the double post, my net connection is on the fritz right now. I was trying to just edit the first one. Also, I recommend reformatting the Windows drive as ext3, so it give you better performance under Linux. You can use GpartED for that http://gparted.sourceforge.net/. Best graphical formatting program I ever used.
 
Old 04-17-2008, 04:28 PM   #5
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 326

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by MiniDev View Post
You most certainly can. In fact, you can do it with any modern Linux distro. If you're using a USB hard drive, or an internal HDD with a converter case, just start your computer and plug the disk into your USB port. Depending on you're personal settings and Ubuntu version, either a box will come up asking you what to do with the HDD, or you will see an icon for the drive appear on your desktop, maybe both. Keep in mind that in order to access the contents of any storage device with Linux, you have to first "mount" the device. With box appearing, just choose to the mount option. With icon on your desktop, you right click and select the mount option.

Furthermore, Linux has a completely different naming convention for devices. Instead of calling disk drives C, D, A, and so on, Linux uses a method that involves extreme abbreviations. For example, "Drive C" could be identified as hda1. "hd" stands for "hard disk", "a" is the first such device detected, and "1" refers to the first partition on that drive. Now for the confusing part with USB drives. In Linux, your USB drive may be identified as sda1. In this case, the first two letters(sd) stand for "SCSI emulated disk". SCSI is a close cousin of USB, so to speak. You can read the Wikipedia article hear http://en.wikipedia.org/wiki/Scsi

Because you seem to have just gotten started with Linux, I think you read with article and most of the articles linked to it http://en.wikipedia.org/wiki/Linux

Please let me know if this helps you.
the hdd doesn't show up on my desktop, however, qtparted did pick it up as sda1. what can i do to get access to its files?
 
Old 04-21-2008, 12:48 PM   #6
MiniDev
LQ Newbie
 
Registered: Nov 2007
Location: Georgia
Distribution: KNOPPIX, Debian, DSL
Posts: 23

Rep: Reputation: 15
Then you must have different settings then the default. Open up a terminal and type in "mount /dev/sda1" (without the quotes). If it gives you an error having to do with "insufficient rights" or something, try doing "sudo mount /dev/sda1" (again, without the quotes). Whenever you use sudo, you execute the command as root (administrator or "super user"). If the terminal prompts you for a password, just give it whatever password you created for the root account during the installation process. If this fails, then the drive you are trying to access is definitely Windows XP, which uses the NTFS file system. Ubuntu doesn't ship with the libraries and drivers necessary to mount such drives. You have to open up Synaptic and search for "ntfs". Assuming you are using a home Internet connection(I'm stuck at a public library), you will get a list of packages. One of these packages should be "ntfsprogs". Check the description before installation.

After viewing the files on the disk, the best way to wipe it clean is to install and use "gparted. It's a great graphical formatting program that uses menus and the mouse to format drives. Again, search for it with Synaptic. I recommend formatting the drive to ext2 or ext3, so that it works better with your Ubuntu linux system. If you think you will ever need access the drive later from a Windows computer, format it to FAT32. Note that you can easily put as many file systems as you want on the drive, and they can be almost any size. Just don't go nuts on anything USB related. My personal rule of thumb for formatting USB drives is no more then three partitions(file systems) for an HDD, and no more then two partitions for a jump drive(also called flash drives, memory sticks, and thumb drives). If you have any problems, such as gparted won't format the drive to a certain file system, check the documentation and the features list found here http://gparted.sourceforge.net/features.php and make sure the proper packages are installed on your system. Also, gparted requires root privileges to use.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Make removable USB hdd mount at fixed mount point ctkroeker Linux - General 13 08-11-2009 08:49 AM
triple boot os, ubuntu, win98, and winxp. only 2 hdd angelus_2012 Ubuntu 1 03-18-2007 12:14 AM
manual mount - external usb hdd (ubuntu) tripled2006 Linux - General 1 01-15-2007 10:08 AM
Does Linux Support 200GB hdd on an external usb 2.0 case ??? sponsii Linux - Hardware 2 11-04-2004 12:27 PM
Mount a new HDD(consisting Win98) SecretLinuxGeek Linux - Newbie 30 06-19-2003 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:55 AM.

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