LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-31-2010, 01:27 PM   #1
lorddin
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
[unbuntu HELP]GRUB- error: no such partition


Hello, I am new here and I had this problem,
GRUB- error: no such partition
first I tryed to remove the unbutu because it was giving many errors messages, and I couldn't`t use my computer well


when I type

sudo fdisk -1 in terminal
appears>
Code:
Usage: fdisk [-b SSZ] [-u] DISK     Change partition table
       fdisk -l [-b SSZ] [-u] DISK  List partition table(s)
       fdisk -s PARTITION           Give partition size(s) in blocks
       fdisk -v                     Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
so, what should I do

thanks

Last edited by lorddin; 08-31-2010 at 03:04 PM.
 
Old 08-31-2010, 01:48 PM   #2
pkhera_2001
Member
 
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Rep: Reputation: 18
It seems that grub on your machine is screwed, follow steps mentioned on below link and it will help you repairing the grub.

http://ubuntuforums.org/showthread.php?t=224351

for fdisk command issue:

use "fdisk -l" where is "l" is small l alphabet not number 1 and it should display the partitions on disks available on your machine.

Thanks,
 
Old 08-31-2010, 01:56 PM   #3
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
fdisk

'fdisk -1' is an understandable mistake and will return errors. Substitute 'fdisk -l' without the quotes. You have used the numeral one instead of the letter L in lower case, the denotation can be confusing at first. Try again and post the results. Alternatively, (with the bios set at boot from cd first , boot a live cd and choose 'boot from first hard drive' if that is the first partition/drive.

Fred.
 
Old 08-31-2010, 02:49 PM   #4
lorddin
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for help me
fdisk -l

Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x06a806a7

   Device Boot      Start         End      Blocks   Id  System

Last edited by lorddin; 08-31-2010 at 03:04 PM.
 
Old 08-31-2010, 10:17 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,391

Rep: Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416Reputation: 1416
If you have posted the complete output of the fdisk -l command, then you have no operating system or partitions on your disk, a blank disk.

In your initial post you indicate you removed ubuntu partition due to problems. When you did this, you removed almost all of the Grur boot files necessary to boot the computer which were on the Ubuntu partition.
 
  


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
Help deleting linux partition, GRUB ERROR, 'no such partition' TocketTmars Linux - Newbie 3 03-18-2010 09:46 AM
Dual Boot Unbuntu and Windows XP (Unbuntu Installed First). Mad4Macintosh Linux - Newbie 16 03-20-2009 11:37 AM
Unbuntu - SU Authentication error Robert Diggs Linux - Newbie 4 01-30-2007 11:27 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM
GRUB Section2 load error, partition error. Ryle Linux - General 1 06-27-2004 03:55 PM

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

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