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 01-26-2016, 08:50 AM   #1
GuessWhatBBQ
LQ Newbie
 
Registered: Jan 2016
Posts: 2

Rep: Reputation: Disabled
"partition must be an extended partition" error


i get a "partition must be an extended partition" error after using

Code:
dd if=/dev/zero of=/dev/<your-disk> bs=512 count=1
what to do ?

Last edited by GuessWhatBBQ; 01-26-2016 at 09:23 AM.
 
Old 01-26-2016, 10:19 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192
Did you write 'exactly' what you have shown? If so, the '<your-disk>' part needs to be something like sda or sda1
 
Old 01-26-2016, 10:45 AM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Need some context...

First, as grail asked, you need to tell us the EXACT command you ran. Second, you need to tell us WHY you ran that command, and WHAT is giving you that error.
 
Old 01-26-2016, 01:41 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
...and the EXACT error.
 
Old 01-26-2016, 08:30 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
"GuessWhatBBQ" ?? Franklin's Barbecue? Bill Millers?
 
Old 07-05-2016, 11:34 AM   #6
GuessWhatBBQ
LQ Newbie
 
Registered: Jan 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Problem solved guys
Thanks for trying to help
 
Old 07-05-2016, 12:03 PM   #7
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192Reputation: 3192
What was the exact problem and the solution so others may learn from you?

Please also mark the question as SOLVED once you have provided the above
 
1 members found this post helpful.
Old 07-05-2016, 05:02 PM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by GuessWhatBBQ View Post
Problem solved guys
Thanks for trying to help
Could I back up grail in asking you how you solved the problem?

On many an occasion, I have read through a long thread on the web trying to find a solution to a problem, only for the last post to say "problem solved" and nothing else.

This forum, and many others, aren't purely about the solving of problems, but about the exchange of information, ideas and techniques.

Cheers.
 
Old 07-07-2016, 08:10 AM   #9
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Judging from the command that was used, it appears that the OP was zeroing-out all or part of the contents of a drive, and that the command as-issued probably had the effect of wiping out the partition table on that drive.
 
  


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
[SOLVED] Need 210% space to "merge" data partition-to-partition? ChiggyDada Linux - Newbie 16 04-25-2014 01:41 PM
Is "swap" partition part of the partition table of the MBR? m4rtin Linux - Server 3 09-11-2011 07:35 AM
Pls Rescur on "error no such partition grub rescue" agnes007 Linux - Newbie 5 08-13-2011 09:44 AM
nfs mounted partition giving error "no space left" niranjan_mr Linux - Software 4 01-03-2007 05:01 AM
Partition problem windows not booting "Invalid disk error" julian_s Linux - Newbie 1 04-02-2004 09:26 PM

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

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