LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-30-2003, 05:29 PM   #1
Xiangbuilder
Member
 
Registered: Apr 2003
Location: Shandong province China
Distribution: fedora core 1.0
Posts: 206

Rep: Reputation: 30
Removable usb harddisk problem.


I used the command, "mount -t vfat -o wr /dev/sda1 /mnt/usb", and the removable usb harddisk was mounted.

The problem is, there are two FAT32 filesystem partitions and there EXT3 filesystem partitions in the usb harddisk, I want to put some files into the usb harddisk's certain partition, but I only can see one subdirectory that represent the whole usb harddisk in the "mnt" directory.

How can I put the files into the usb harddisk's certain partiton?
Thank you.
 
Old 08-30-2003, 07:17 PM   #2
AlwaysConfused
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4/MDK(9.1/9.2/10.0)/Knoppix
Posts: 35

Rep: Reputation: 15
Try burning a CD with the files. Or you could use a floppy. Something similar to that could work well...
 
Old 08-30-2003, 08:04 PM   #3
Xiangbuilder
Member
 
Registered: Apr 2003
Location: Shandong province China
Distribution: fedora core 1.0
Posts: 206

Original Poster
Rep: Reputation: 30
My trouble is not to install a distribution from the removable usb harddisk.
I mean that, for example, I want to save a file, xiang.txt into the second EXT3 partition of the removable usb harddisk, how can I confirm what is the exact second EXT3 partition?
 
Old 08-31-2003, 01:28 AM   #4
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Mageia
Posts: 282

Rep: Reputation: 30
Have you had a look at this site?

http://linux-sxs.org/hardware/flashreaders.html
 
Old 08-31-2003, 03:55 AM   #5
Xiangbuilder
Member
 
Registered: Apr 2003
Location: Shandong province China
Distribution: fedora core 1.0
Posts: 206

Original Poster
Rep: Reputation: 30
Thank you.
The links you give is of very help to me.
Here is the my try:

[root@localhost root]# fdisk -l /dev/sda

Disk /dev/sda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 394 3164773+ b Win95 FAT32
/dev/sda2 395 2433 16378267+ f Win95 Ext'd (LBA)
/dev/sda5 395 788 3164773+ b Win95 FAT32
/dev/sda6 789 1182 3164773+ 83 Linux
/dev/sda7 1183 1576 3164773+ 83 Linux
/dev/sda8 1577 2389 6530391 83 Linux
/dev/sda9 2390 2401 96358+ 83 Linux
/dev/sda10 2402 2433 257008+ 82 Linux swap

To mount second ext3 filesystem partition of the removable harddisk,
[root@localhost root]# mount -t ext3 /dev/sda7 /mnt/usb/debian_sda7

Thank you, and hope this is of help to someone.

Last edited by Xiangbuilder; 08-31-2003 at 03:57 AM.
 
  


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
USB Removable Disk Autorun Dr. Bush Linux - Hardware 2 07-31-2005 02:10 PM
can't read from USB removable device kookysaint Linux - Hardware 2 02-07-2005 09:37 PM
usb removable kde Mandrake10.0 dad Linux - Hardware 1 01-25-2005 04:53 PM
mount-problem usb harddisk: not a valid block device micha Mandriva 2 11-21-2004 10:29 AM
Format and mount problem - External USB harddisk darn dao Linux - Hardware 1 11-03-2004 02:40 AM


All times are GMT -5. The time now is 02:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration