LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-12-2012, 07:25 AM   #1
sunveer
Member
 
Registered: Jul 2012
Posts: 139

Rep: Reputation: Disabled
Linux not booting


I created a new partition using fdisk -cu /dev/sda and then after writing partition table to disk, I rebooted the system.

After rebooting, I am getting

grub >

grub >

I have tried

grub > find /boot/grub/stage1

&

grub > find /grub/stage1

Both returns error 15 : file not found.

However, on running
grub> root

I get (hd0, 5)

Last edited by sunveer; 07-12-2012 at 07:47 AM.
 
Old 07-12-2012, 07:59 AM   #2
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.3 and 18 at present.
Posts: 1,273

Rep: Reputation: 290Reputation: 290Reputation: 290
Quote:
after writing partition table to disk
Writing the partition table to the disk blows away any previous information which would have been used to find your Linux install. If you want to change/add partitions to an existing system you should use parted or Gparted
Writing the partition table is usually done BEFORE you format a partition prior to an install. I've no idea if you can recover from this other than a fresh install.

Play Bonny!

Last edited by Soadyheid; 07-12-2012 at 08:01 AM. Reason: spelling
 
Old 07-12-2012, 08:03 AM   #3
sunveer
Member
 
Registered: Jul 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Soadyheid View Post
Writing the partition table to the disk blows away any previous information which would have been used to find your Linux install. If you want to change/add partitions to an existing system you should use parted or Gparted
Writing the partition table is usually done BEFORE you format a partition prior to an install. I've no idea if you can recover from this other than a fresh install.

Play Bonny!
But I followed the same steps as given in Red Hat Documentation.
 
Old 07-12-2012, 09:12 AM   #4
lemonslol
LQ Newbie
 
Registered: Feb 2012
Distribution: Gentoo
Posts: 17

Rep: Reputation: Disabled
Ok from my understanding run
Code:
fdisk-l
and post what it spits out. but from there you can use something like gparted and just recover the partition table
 
Old 07-12-2012, 06:48 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,396

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
You'll need a space the
Code:
fdisk -l
& that's a lowercase L, but this assumes you can get a normal cmd line to access.

Can you tell us exactly what distro+version of Linux you have?
 
Old 07-12-2012, 09:57 PM   #6
sunveer
Member
 
Registered: Jul 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
I checked using fdisk -l and found only one linux partition with unknown file system type.

The solution I could try is to reinstall the os.
 
  


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
dual boot system booting in Redhat linux but not booting in Windows XP sumitra Linux - Newbie 3 03-24-2011 09:42 AM
Booting error in puppy linux while booting it from fedora why ? senthilarumugam LinuxQuestions.org Member Intro 1 02-22-2007 02:43 PM
LXer: Dual-booting Windows and Linux the easy way (Linux.com videos) LXer Syndicated Linux News 0 07-21-2006 05:21 PM
booting Linux from an image that lost booting capabilities tgr Linux - Software 1 03-05-2006 11:28 AM

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

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