LinuxQuestions.org
Visit Jeremy's Blog.
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 04-16-2009, 11:21 AM   #16
ladybugmandy
LQ Newbie
 
Registered: Apr 2009
Posts: 14

Original Poster
Rep: Reputation: 0

here it is:



sue@sue-laptop:~$ sudo fdisk -l
[sudo] password for sue:

Disk /dev/sda: 3791 MB, 3791241216 bytes
255 heads, 63 sectors/track, 460 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c1a5c1a

Device Boot Start End Blocks Id System
/dev/sda1 * 1 433 3478041 83 Linux
/dev/sda2 434 460 216877+ 5 Extended
/dev/sda5 434 460 216846 82 Linux swap / Solaris
sue@sue-laptop:~$ sudo fdisk -l

Disk /dev/sda: 3791 MB, 3791241216 bytes
255 heads, 63 sectors/track, 460 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c1a5c1a

Device Boot Start End Blocks Id System
/dev/sda1 * 1 433 3478041 83 Linux
/dev/sda2 434 460 216877+ 5 Extended
/dev/sda5 434 460 216846 82 Linux swap / Solaris

Disk /dev/sdb: 2055 MB, 2055021056 bytes
16 heads, 63 sectors/track, 3981 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3982 2006825 b W95 FAT32
sue@sue-laptop:~$ dd if=/dev/zero of=/dev/sdb
dd: opening `/dev/sdb': Permission denied


thanks
sue
 
Old 04-16-2009, 11:41 AM   #17
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Jessie Amd64
Posts: 1,477

Rep: Reputation: Disabled
I believe you need to run the dd command with sudo or as root.
 
Old 04-16-2009, 12:00 PM   #18
ladybugmandy
LQ Newbie
 
Registered: Apr 2009
Posts: 14

Original Poster
Rep: Reputation: 0
trooper: would you mind telling me exactly what to type?

thank you
sue
 
Old 04-16-2009, 01:54 PM   #19
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Jessie Amd64
Posts: 1,477

Rep: Reputation: Disabled
Looking at Junior hackers' post,i think it should be:

sudo dd if=/dev/zero of=/dev/sdb

I would also say go back and read his post again as it tells you what to do after
using this command.

Hope this helps.
 
Old 04-16-2009, 02:52 PM   #20
ladybugmandy
LQ Newbie
 
Registered: Apr 2009
Posts: 14

Original Poster
Rep: Reputation: 0
O M G it finally worked!!!!!!!!!!!!!!

thank you everyone!
 
Old 04-16-2009, 02:55 PM   #21
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Jessie Amd64
Posts: 1,477

Rep: Reputation: Disabled
Well done you!!.
 
Old 04-16-2009, 03:02 PM   #22
ladybugmandy
LQ Newbie
 
Registered: Apr 2009
Posts: 14

Original Poster
Rep: Reputation: 0
damn..i hope this not how its going to be all the time with linux!
 
Old 04-16-2009, 03:05 PM   #23
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Jessie Amd64
Posts: 1,477

Rep: Reputation: Disabled
It's a learning curve.
You now know more about Linux than when you started this thread
 
Old 04-16-2009, 09:25 PM   #24
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Thanks Trooper
I use dd allot, but mostly in my 'lean, mean, Debian'. I'm slowly getting warmed up to Ubuntu though.

I would like to add a response to post #22...

Lucky for you...you are a member of Linuxquestions.org, it was obviously a joint effort between all the members that posted.

Last edited by Junior Hacker; 04-16-2009 at 09:29 PM. Reason: spelling
 
Old 04-16-2009, 11:01 PM   #25
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
OH!

And for all the members questioning why I advised using dd.
I punched "U3 device" in Google search and speed read a Wikipedia article on it. Two things that registered were:
1: Unique FAT file system (proprietary, between SanDisk and Microsoft)
2: Hidden system files/folders

Having extensive Windows experience, I know Windows can/will skip steps in processes if it sees the step has already been performed or everything is already in place, or if there are orders to do so in hidden files.
Simply reformatting the pen drive may have been enough, but because of the uniqueness of this particular type of pen drive, and observed Windows habits, I sought to end this thread before this new member got frustrated by advising such to zero the drive before reformatting.
And as such, this new member now has experience with one of the many superior features of a standard Unix/Linux operating system..."dd".
 
  


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
Flash drive won’t mount after hibernate (HAL problem?) tux_addict Debian 1 05-13-2008 09:34 PM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 08:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 05:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 03:15 AM
USB flash drive mount problem servnov Linux - General 4 10-10-2005 09:08 PM


All times are GMT -5. The time now is 02:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration