Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 01-11-2009, 06:30 AM   #1
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 93

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


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.
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 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?

Old 01-11-2009, 07:09 AM   #2
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 93

Original Poster
Rep: Reputation: 15

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.


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

All times are GMT -5. The time now is 05:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration