LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
Search this Thread
Old 08-04-2005, 06:18 PM   #1
rapaport
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Rep: Reputation: 0
Error after loading Ubuntu from GRUB


When I installed ubuntu: i received the following error after finishing the initial installation and attemption to finish by opening ubuntu in GRUB.
Code:

Code:
Pivot_root: no such file or directory 
/sbin/init: 428 : cannot open dev/consoles no such file 
Kernel panic - not syncing: attempted to kill init


That's where I'm at. GRUB installed fine and I can still access windows XP but no Ubuntu. Just before the error the prompt recognizes USB hard drive compatibility and then i get the above error.
 
Old 08-04-2005, 07:46 PM   #2
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
Re: Error after loading Ubuntu from GRUB

Are you trying to boot off a USB hard-drive?
 
Old 08-04-2005, 07:56 PM   #3
rapaport
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Yes, Ubuntu is installed on a Maxtor 40GB formally internal, now external.

GRUB is installed on the MBR.
 
Old 08-04-2005, 11:17 PM   #4
rapaport
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
I repeated the installation of Ubuntu and reached the exact same point.
Specific things I did during install:

chose to mount to "/"
default options
partitioned 8.5GB U: drive in windows as FAT32
-during Ubuntu i switched drive to ext3
the first intall completes with a successful GRUB install to mbr.
then, when I reboot, GRUB appears and I choose to install the first listing for ubuntu
it ran a prompt and stopped at the same point...
the post with the three lines of error code followed "starting ubuntu..."

so it went:



Code:
Starting Ubuntu... 
Pivot_root: no such file or directory 
/sbin/init: 428 : cannot open dev/consoles no such file 
Kernel panic - not syncing: attempted to kill init
also, on a Hebrew website there was code box suggesting I boot ubuntu from the live cd and edit line 429 of

Code:
/sbin/init
dev/console to /dev/console
save changes
unmount
anyone awhere of this fix?

Last edited by rapaport; 08-05-2005 at 01:02 AM.
 
Old 08-05-2005, 12:33 PM   #5
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
I don't have much experience with Ubuntu or it's installation process so I can't help you there. Hopefully one of our Ubuntu users will have an answer.

I am tempted to say that this could be because you are booting off a USB hard-drive but provided your BIOS supports it, Linux should be able to boot off a USB hard-drive with no issues.

Are you also booting Windows XP off your USB Hard-Drive?
 
Old 08-05-2005, 01:38 PM   #6
rapaport
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
No, Windows boots from the internal HD in my notebook. I'm trying to install Ubuntu to a 40GB external usb hard drive.

I've found some instructions from the Ubuntu forums suggesting I try to install in Expert mode and make changes to some lines of code before finishing the install. I'll post the links here and respond after I try to reinstall Ubuntu.

Well, the ubuntu forums are giving me issues but by typing "usb install" and "pivot_root" you should be able to find the instructions for booting from a USB and the necessary changes to Ubuntu's default configuration.

After reinstalling Ubuntu and editing initrd.img to boot from the USB i still receive the same error as posted above with more intermittent code between "Starting Ubuntu" and "Kernel panic"

the new lines are
Code:
Starting Ubuntu... 
SGI XFS ...  no debug enabled
SGI XFS Quota Management System
Pivot_root: no such file or directory 
/sbin/init: 428 : cannot open dev/consoles no such file 
Kernel panic - not syncing: attempted to kill init

Last edited by rapaport; 08-05-2005 at 02:39 PM.
 
Old 01-22-2006, 09:45 PM   #7
ngmlinux
LQ Newbie
 
Registered: Jul 2005
Location: NY, USA
Distribution: Mandriva 2005 LE x86_64, arm-linux
Posts: 12

Rep: Reputation: 0
I get this same error trying to boot from a HD (after 2 re-installs) and I do not have any flash drives connected. I'm simply trying to boot the OS from a hard disk. I can't say I've had much luck with Ubuntu.
 
Old 06-09-2008, 06:27 AM   #8
~Chimera~
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
I'm looking at doing the same thing and multiple forums that I've seen said to place GRUB on the external drive. Otherwise you get an error when trying to boot the on board OS without the external drive connected. Just a thought...
 
  


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
Grub Loading, Please Wait......Error 18 Braytac Linux - Hardware 19 06-16-2013 03:16 AM
GRUB loading Error 17 cmlal Slackware - Installation 38 11-27-2010 04:21 AM
Grub error 21 ubuntu devojo Linux - Newbie 5 03-17-2005 09:16 PM
GRUB Error When Loading From Yast linuxdawg Suse/Novell 3 02-08-2005 12:37 AM
GRUB Loading stage 1.5 ...... Error 25 sean21 Linux - Newbie 2 11-08-2003 09:27 PM


All times are GMT -5. The time now is 07:21 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration