LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-26-2009, 04:43 AM   #1
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Rep: Reputation: 33
Some help with an external disk format.


Hi!!
I have an external disk WesternDigital passport and i want to format it with fat32 file system so both windows and linux can read it. I run fdisk as root but whatever im going to change and give in the end the 'w' command it returns me this error :

Quote:
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
Does anyone have an idea on how to format this disk ?

Thanks!
 
Old 11-26-2009, 05:01 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
That's normal I'd say, it gives me that a lot, just reboot and it will read it properly.
 
Old 11-26-2009, 05:04 AM   #3
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
Yes.. i do it but nothing changed...
 
Old 11-26-2009, 05:43 AM   #4
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
in lsscsi gives this..
[4:0:0:0] disk ATA WDC WD3200AAKS-0 01.0 /dev/sda
[5:0:0:0] disk ATA WDC WD5000AAKS-6 01.0 /dev/sdb
[7:0:0:0] disk WD 1200BEA External 1.04 /dev/sdc

I format it but now i can't mount it

mount /dev/sdc /home/n3t/Desktop/hdd
mount: No such file or directory

But the device is there :

/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sdb /dev/sdb1 /dev/sdc /dev/sdc1

and the directory in the desktop :s

Last edited by netpumber; 11-26-2009 at 05:44 AM.
 
Old 11-26-2009, 05:48 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Try

Code:
mount /dev/sdc1 /mnt/tmp
 
Old 11-26-2009, 06:02 AM   #6
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
the same error :s

mount /dev/sdc /mnt/tmp
mount: No such file or directory

What the hell!!
 
Old 11-26-2009, 06:09 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
try
Code:
mkdir /mnt/tmp
mount /dev/sdc /mnt/tmp
 
Old 11-26-2009, 06:32 AM   #8
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by netpumber View Post
the same error :s

mount /dev/sdc /mnt/tmp
mount: No such file or directory

What the hell!!
Code:
cd /dev
ls -l | grep sd
And
Code:
cd /mnt
ls -l | grep tmp
 
Old 11-26-2009, 09:42 AM   #9
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
So.. listen.. i ve formated in another pc with ubuntu with gparted and now i plug it in and when the window opens it tells me that i dont have permissions..!
 
Old 11-26-2009, 12:27 PM   #10
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
Anyway.. i make it work..I change something in fstab file!
 
Old 11-26-2009, 12:31 PM   #11
lstamm
Member
 
Registered: Aug 2007
Location: McBride, BC, Canada
Distribution: Slackware, OpenBSD, Edubuntu
Posts: 53

Rep: Reputation: 18
Quote:
the same error :s

mount /dev/sdc /mnt/tmp
mount: No such file or directory

What the hell!!
and
Quote:
But the device is there :

/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sdb /dev/sdb1 /dev/sdc /dev/sdc1
/dev/sdc usually refers to the entire raw disk, and I doubt that you have a formatted partition there, especially as you also have /dev/sdc1.

So try mounting it, as root, with the command:

Code:
mount -t vfat /dev/sdc1 /mnt/tmp
You can't mount it with a simple mount command unless you have placed a line for this disk in /etc/fstab.
 
  


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
Format external HDD for linux? closeyetfar Linux - Newbie 2 08-25-2008 08:28 PM
How To Format External HDD GNewbie Ubuntu 13 04-18-2008 10:53 AM
Just Installed external drive, need to format - Help! mpdickson Linux - Newbie 6 06-01-2007 02:34 PM
How to format a new external drive? Pumalite Linux - Hardware 9 04-09-2007 03:30 AM
partition and format unpartitioned hard disk which lies on an external usb case odysseus.lost Linux - General 1 08-09-2005 06:03 PM

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

All times are GMT -5. The time now is 02:02 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