LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-05-2013, 08:05 PM   #1
Ahtos
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
unable to boot Linux after shutdown


after shutting down the server( Ubuntu )
I can't load it again.
I was getting a black screen with a flashing underscore.
I used live cd to repair the grub.
At this point, I am getting a grub menu.
If I selected the recovery console, I am getting this error that the UID does not exist. However, if I run blkid it showed the proper ID.
I will post some boot info, hopefully someone can figure it out.

=================== fdisk -l:

Disk /dev/sda: 960.0 GB, 959994396672 bytes
255 heads, 63 sectors/track, 116712 cylinders, total 1874989056 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000327b4

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1826959359 913478656 83 Linux
/dev/sda2 1826961406 1874987007 24012801 5 Extended
/dev/sda5 1826961408 1874987007 24012800 82 Linux swap / Solaris

Disk /dev/sdb: 999.6 GB, 999643152384 bytes
255 heads, 63 sectors/track, 121533 cylinders, total 1952428032 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00085e0a

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 1952427644 976213791 83 Linux

Disk /dev/sdc: 999.6 GB, 999643152384 bytes
255 heads, 63 sectors/track, 121533 cylinders, total 1952428032 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0d8f217b

Device Boot Start End Blocks Id System
/dev/sdc1 * 63 1952427644 976213791 83 Linux

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7b747647

Device Boot Start End Blocks Id System
/dev/sdd1 * 63 1953520064 976760001 83 Linux
 
Old 11-06-2013, 06:14 AM   #2
normanlinux
Member
 
Registered: Apr 2013
Distribution: Arch and SuSE
Posts: 145

Rep: Reputation: Disabled
Grub2 is seriously up the swanee when using uuids.

I have two distros on my machine - and have installed others in vm - and bloody grub 2 has a habit of setting up to use uuid then faiing to boot

I have taken to editing my /boot/grub2/grub.cfg and changing it to use /dev/sda? and /dev/sdb? instead. (I have done this a few times as I have juggled my partitions and reinstalled distros a couple of times each). Ideally, since I have labels on my disks I should use those instead.

I suggest that you do something similar from your rescue system and then (fingers crossed) you will be up again
 
Old 11-06-2013, 10:31 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,989

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
simply shutting down the computer is not likely to result in the problem you have. How did you shut down? What if anything did you change prior to shutting down? You indicate you get an error the uuid does not exist. Have you compared the uuid from the blkid output with the uuid in grub.cfg and /etc/fstab for your / partition? The info you posted is just drive/partition information. You might try doing an online search for 'bootinfoscript', download it and run it and review the output or post it here, a results.txt file.
 
Old 11-06-2013, 08:01 PM   #4
Ahtos
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
No just a simple shutdown

I did compare the UUID and it is exactly the right one....

"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 71974738-41cb-416a-ae05-9fb91278c8c6 ext4
/dev/sda5 c1da8a2d-f001-44a0-b150-6fefef6e6b88 swap
/dev/sdb1 dab242ed-1b61-44e6-ae81-5fe8f9234d71 ext3
/dev/sdc1 7389f862-31f7-40c0-afee-992a17d48397 ext3
/dev/sdd1 39aaca5b-5bea-4b2d-a2c5-86f8e4837d42 ext3
/dev/sr0 iso9660 Boot-Repair-Disk 64bit

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda1 /media/lubuntu/71974738-41cb-416a-ae05-9fb91278c8c6 ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdb1 /media/lubuntu/dab242ed-1b61-44e6-ae81-5fe8f9234d71 ext3 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdc1 /media/lubuntu/7389f862-31f7-40c0-afee-992a17d48397 ext3 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sr0 /cdrom iso9660 (ro,noatime)


NORMANLINUX - I tried what you suggested also. I get a blackscreen and I can do reboot on it with ctrl+alt+del. I can ping the machine name.
However, nothing is coming on.

thank you for taking the time to read the post.
 
Old 11-07-2013, 01:07 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
If I selected the recovery console, I am getting this error that the UID does not exist. However, if I run blkid it showed the proper ID.
UID & UUID are different.
UID is http://www.linfo.org/uid.html
UUID is https://wiki.debian.org/Part-UUID
You need to figure out which is the problem, I would assume that it is UID.
 
Old 11-07-2013, 05:14 AM   #6
normanlinux
Member
 
Registered: Apr 2013
Distribution: Arch and SuSE
Posts: 145

Rep: Reputation: Disabled
You said "I tried what you suggested also. I get a blackscreen and I can do reboot on it with ctrl+alt+del. I can ping the machine name.
However, nothing is coming on."

That's a pity

I can understand that there was a need to update Grub but, in doing so, they have destroyed what made Grub so good to start with. Its simplicity. In the early days I had a single floppy with Grub that could boot any of several machines. To my mind, the new grub is overly complicated. The OS prober is slow and hangs sometimes, and so far it has *never* set other distros to be bootable - always failing with the uuid - and sometimes, when installing in a virtual machine, failing on the uuid when this is all that there is.

When you had your error in the first place, is there any possibility that you ran out of sspace in thee root partition? this can cause any number of aggravations - depending on when it happens
 
  


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
[SOLVED] Unable to Shutdown ASUS EeePC on Linux jackkn Linux - Laptop and Netbook 7 08-20-2012 01:26 PM
Unable to shutdown/reboot server, no shutdown process running dctw Linux - Server 5 03-31-2010 06:46 AM
Unable to shutdown Linux without having to use the Konsole RichardT Ubuntu 1 11-30-2009 12:10 PM
Linux Server unable to shutdown predatorz Linux - Hardware 10 09-27-2007 12:18 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 02:00 AM


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