LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-02-2008, 04:12 PM   #1
ogee
Member
 
Registered: Oct 2004
Location: Lower Alabama
Distribution: Ubuntu 7.04
Posts: 46

Rep: Reputation: 15
Question Suddenly a boot problem


After using 7.10 on my HP laptop for 6 months I tried to boot yesterday and when it got to the splash screen the progress bar stopped at about 1% and hung there for a couple of minutes. Then it dropped me to the command line: (initramfs).

If anyone has any idea as to where to start looking I would appreciate it.
 
Old 05-02-2008, 04:33 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268

Rep: Reputation: 83
Issue a dmesg command to see if there were any boot error messages. Read the dmesg output from back to front.

dmesg | less

-----------------
Steve Stites
 
Old 05-02-2008, 04:34 PM   #3
anket
LQ Newbie
 
Registered: Feb 2008
Posts: 21

Rep: Reputation: 16
Did you just recompile the kernel? Could you please post the lines from your GRUB configuration menu file which correspond to the kernel you are booting with?
 
Old 05-02-2008, 04:53 PM   #4
ogee
Member
 
Registered: Oct 2004
Location: Lower Alabama
Distribution: Ubuntu 7.04
Posts: 46

Original Poster
Rep: Reputation: 15
Jailbait: I'm unable to pipe neither "less" nor "more" with "dmesg". It returns "/bin/sh : less: not found", but when I run dmesg I see nothing on the last page referencing any boot errors.
Anket: No, I haven't recompiled. In fact I have made no changes in months. Everything was working so I didn't want to fix it.

Reading any files may be problematic since I can't use less, more or even the ls command. If a fix is not easily found I may just go ahead and install 8.04 since I have my /home on a separate drive.
Thanks for the replies.
 
Old 05-02-2008, 05:09 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,466

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
Come up in "recovery mode" - that way you'll get to see all the messages instead of the useless bloody splash screen.
Might give you a better idea.

(sorry bout the rant .... )
 
Old 05-02-2008, 05:22 PM   #6
ogee
Member
 
Registered: Oct 2004
Location: Lower Alabama
Distribution: Ubuntu 7.04
Posts: 46

Original Poster
Rep: Reputation: 15
Syg00: In recovery mode the screen stops with:
Begin: Mounting Root file system.......
Begin: Running /scripts/local-top........
Done
Begin: Waiting for root file system.......

It then hangs for several minutes and goes to command line (initramfs)

(don't worry about the rant, I agree)
 
Old 05-02-2008, 06:15 PM   #7
ogee
Member
 
Registered: Oct 2004
Location: Lower Alabama
Distribution: Ubuntu 7.04
Posts: 46

Original Poster
Rep: Reputation: 15
Re: Suddenly a boot problem

Syg00: A little additional info. After,

In recovery mode the screen stops with:
Begin: Mounting Root file system.......
Begin: Running /scripts/local-top........
Done
Begin: Waiting for root file system....... (several minutes go by)
Done.
ALERT! /dev/disk/by-uuid/48cd51a2-0689-4ee8-addd-cb145e23676c does not exist.
Dropping to a shell!
Check your root= boot argument (cat /proc/cmdline)
Check for missing modules (cat /proc/modules), or device files (ls /dev)
(initramfs)

When I run "cat /proc/cmdline" it returns :
root=UUID=48cd51a2-0689-4ee8-addd-cb145e23676c ro single

When I run "cat /proc/modules" it returns:
thermal 14344 0 - Live 0xf883f000
fan 5764 0 - Live 0xf8834000
commoncap 8320 1 apparmor, Live 0xf880c000
(initramfs)

Which, of course, tells me very little.

Any ideas ?
 
Old 05-02-2008, 08:20 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,466

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
Quote:
Originally Posted by ogee View Post
ALERT! /dev/disk/by-uuid/48cd51a2-0689-4ee8-addd-cb145e23676c does not exist.
That's your problem. Done an update lately ???.

I get rid of UUID and use /dev/sd?? so I know what's what. Try "ls -al /dev/disk/by-uuid" from your shell - hopefully will work, and it'll give you an idea of the correct UUID. Either use that, or the device it's linked to. You can over-ride the boot parameters at the grub menu - it's a "one time" change that'll get you running. Then harden the change in menu.lst.

<rant> ... no maybe not ...
 
Old 05-02-2008, 08:37 PM   #9
ogee
Member
 
Registered: Oct 2004
Location: Lower Alabama
Distribution: Ubuntu 7.04
Posts: 46

Original Poster
Rep: Reputation: 15
Syg00:
I ran "ls -al /dev/disk/by-uuid" and got "/bin/sh: ls: not found". This shell doesn't have a lot of commands in it.
 
Old 05-02-2008, 08:45 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,466

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
Yeah, sorry - you did say that back in #4. Have a play at the grub menu - you should be able to guess which partition you are using; try root=/dev/sda1 or sda2 or whatever. Else fix it from a liveCD; even the Hardy one.
 
Old 05-02-2008, 10:14 PM   #11
ogee
Member
 
Registered: Oct 2004
Location: Lower Alabama
Distribution: Ubuntu 7.04
Posts: 46

Original Poster
Rep: Reputation: 15
Syg00: I put in the Hardy live CD and tried to mount hda2 which should be the boot partition for linux. It returned "Special device /dev/hda2 does not exist". Since my /home is on a 2nd drive would not it be easier to just install Hardy over Gutsy in the 1st drive ? And will it see my /home on /hdb1 with no problem ?
Since I'm on the other side of the world from you I'll have to put this off till tomorrow. Early day at work.
Thanks for all your assistance.
 
Old 05-03-2008, 12:20 AM   #12
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,466

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
Probably now known as /dev/sda2 - do a "sudo fdisk -l" (lower case ell) from a terminal.
I'm not recommending Hardy to anyone (see some of my recent posts), but that's certainly an option. With a separate /home partition, use the same user and password, and all your old settings will work with nothing lost. Mail/browsers - that sort of thing.
 
Old 05-06-2008, 01:19 PM   #13
ogee
Member
 
Registered: Oct 2004
Location: Lower Alabama
Distribution: Ubuntu 7.04
Posts: 46

Original Poster
Rep: Reputation: 15
Suddenly a boot problem

Syg00:Just wanted to say thanks for the assistance last friday. I finally had to give up and install Hardy Heron. I kept my /home on a different drive so when I booted after install everything was back to normal except for the fact that my broadcom wireless doesn't work. I'll worry with that later.
Thanks again for you time,
Ogee
 
  


Reply

Tags
initramfs


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System Suddenly Won't Boot jmdme Suse/Novell 2 05-15-2007 01:49 AM
Boot problem - hda1 suddenly has wrong fs terjus Linux - General 4 11-27-2005 05:00 PM
LILO suddenly won't boot WinXP jnsg Linux - General 22 07-18-2005 10:36 PM
No boot from cdrom suddenly dnial Linux - General 2 10-06-2004 10:53 AM
grub problem, can not boot suddenly gerade Linux - Newbie 3 07-30-2004 05:15 AM


All times are GMT -5. The time now is 02:08 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration