LinuxQuestions.org
Review your favorite Linux distribution.
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 01-11-2009, 05:30 AM   #1
netjack
Member
 
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 89

Rep: Reputation: 15
Xubuntu: Grub Error 2 after fresh install


Hi,

I'm installing Xubuntu 8.10 on my laptop which previously had ubuntu 7.04 installed. I tell the installer to use the entire disk space (it's an sata drive).
The installer asks where to install GRUB and defaults to (hd0). Leaving everything "as is", after installation procedures ends and I reboot, GRUB returns an Error 2 at stage 1.5. (i.e.
Quote:
Bad file or directory type
This error is returned if a file requested is not a regular file, but something like a symbolic link, directory, or FIFO.
see http://www.gnu.org/software/grub/man...1_002e5-errors). I then use the CD to start, but /boot doesn't even contain the /grub directory not to mention the file menu.lst.

What should I try to do? Should I manually try to install grub from terminal? Is there a howto which I could follow?

Thanks!
 
Old 01-11-2009, 06:09 AM   #2
netjack
Member
 
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 89

Original Poster
Rep: Reputation: 15
Solved

Found the solution:

By default, the installer will put the boot loader into hd0, which is, according to the documentation I found here, the first BIOS device. Now, previous to installation I had changed my boot device from HDD to CD-ROM, saved to CMOS and restarted my laptop. But I saw that my laptop comes with an extra F12 "choose boot device" at startup, so I decided to put boot priority back to HDD first and CD-ROM second, saved to CMOS, and at next startup choose boot device from F12 list. GRUB boot loader was installed successfully.
Maybe it's because I have "legacy" PC Desktop and Laptop at home, but with these two other devices I have (and which do not have an extra boot source choose at system startup), I can proceed by changing bios boot priority from HDD to CD/DVD, install ubuntu, reboot, and change back boot priority from CD/DVD to HDD.
 
  


Reply

Tags
boot, error, error2, grub, menulst, xubuntu


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 Error 21 on Fresh Ubuntu install aids4n Linux - Newbie 13 05-06-2008 08:40 PM
GRUB hard disk error on fresh ubuntu RAID install dreamer.redeemer Linux - Software 6 01-30-2008 02:33 AM
Grub not booting with Sata on fresh Gentoo install jxbryan Linux - Software 2 03-08-2005 06:02 PM
GRUB (this is what I see after a fresh install) free_andrew Slackware 8 12-10-2003 08:12 PM
Gentoo Grub Error (Fresh Install) dkaplowitz Linux - Distributions 6 11-21-2003 02:55 PM


All times are GMT -5. The time now is 08:19 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 Google+: linuxquestions
Open Source Consulting | Domain Registration