LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-21-2011, 02:17 PM   #1
Dark_Wolf
Member
 
Registered: Apr 2006
Posts: 41

Rep: Reputation: 0
GRUB2 Read Error (Debian Squeeze)


I've just installed a copy of Debian Squeeze on my server, and on boot it's saying:
Quote:
GRUB Read Error
Operating system not found
I've tried using the rescue cd to reinstall GRUB, but this just keeps happening. I'm running GRUB 2 and my drive structure is:
/dev/sda1 / ext3
/dev/sda5 swap swap

GRUB is installed to the MBR. The BIOS is set up correctly.
I'm pulling my hair out on this one. Any suggestions?

EDIT: Switching to LILO (without large-memory support, if it matters) solved all my issues. It appears GRUB2 just doesn't like old machines that well.

Last edited by Dark_Wolf; 03-07-2011 at 06:57 PM.
 
Old 02-21-2011, 02:46 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Have you tried manually booting from within grub?
 
Old 02-21-2011, 02:48 PM   #3
Dark_Wolf
Member
 
Registered: Apr 2006
Posts: 41

Original Poster
Rep: Reputation: 0
I can't actually get into GRUB, since the error is stage 1.
I am able to boot into the partition via the rescue CD though.
 
Old 02-21-2011, 02:59 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
What all is installed on the hard drive OS wise?
 
Old 02-21-2011, 03:00 PM   #5
Dark_Wolf
Member
 
Registered: Apr 2006
Posts: 41

Original Poster
Rep: Reputation: 0
Debian Squeeze, that's all.
 
Old 02-21-2011, 03:04 PM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
/dev/sda1 / ext3
/dev/sda5 swap swap
Can I ask what is being set for sda2, 3, and 4?

And how exactly are you trying to reinstall grub with the live cd?
 
Old 02-21-2011, 03:06 PM   #7
Dark_Wolf
Member
 
Registered: Apr 2006
Posts: 41

Original Poster
Rep: Reputation: 0
Using both the "reinstall GRUB" option of the Rescue Mode, and running grub-install /dev/sda in the rescue shell.

Since the swap is an extended partition, it's using 5, since 2, 3, and 4 are reserved for primary.
 
Old 02-21-2011, 03:11 PM   #8
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Oh ok cool.

Have you tried reinstalling it manually via commands?

Code:
find /boot/grub/stage1
root (hdX,X)
setup (hd0)
Post any warnings or errors you get.
 
Old 02-21-2011, 03:14 PM   #9
Dark_Wolf
Member
 
Registered: Apr 2006
Posts: 41

Original Poster
Rep: Reputation: 0
Quote:
find: '/boot/grub/stage1': No such file or directory
Not starting off well xD
 
Old 02-21-2011, 03:28 PM   #10
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Nope! LOL

cd into /boot/grub and post the output of ls -al
 
Old 02-21-2011, 03:35 PM   #11
Dark_Wolf
Member
 
Registered: Apr 2006
Posts: 41

Original Poster
Rep: Reputation: 0
Output (had to transfer with a floppy >.<
Code:
total 1612
drwxr-xr-x 3 root root  4096 Feb 21 14:43 .
drwxr-xr-x 4 root root  4096 Feb 21 15:33 ..
-rw-r--r-- 1 root root  8208 Feb 21 14:43 915resolution.mod
-rw-r--r-- 1 root root 10484 Feb 21 14:43 acpi.mod
-rw-r--r-- 1 root root  4580 Feb 21 14:43 affs.mod
-rw-r--r-- 1 root root  4880 Feb 21 14:43 afs.mod
-rw-r--r-- 1 root root  4896 Feb 21 14:43 afs_be.mod
-rw-r--r-- 1 root root  1048 Feb 21 14:43 aout.mod
-rw-r--r-- 1 root root  2668 Feb 21 14:43 at_keyboard.mod
-rw-r--r-- 1 root root  8020 Feb 21 14:43 ata.mod
-rw-r--r-- 1 root root  2228 Feb 21 14:43 ata_pthru.mod
-rw-r--r-- 1 root root  4768 Feb 21 14:43 befs.mod
-rw-r--r-- 1 root root  4796 Feb 21 14:43 befs_be.mod
-rw-r--r-- 1 root root  4280 Feb 21 14:43 biosdisk.mod
-rw-r--r-- 1 root root  2400 Feb 21 14:43 bitmap.mod
-rw-r--r-- 1 root root  2904 Feb 21 14:43 bitmap_scale.mod
-rw-r--r-- 1 root root  2020 Feb 21 14:43 blocklist.mod
-rw-r--r-- 1 root root   512 Feb 21 14:43 boot.img
-rw-r--r-- 1 root root  2568 Feb 21 14:43 boot.mod
-rw-r--r-- 1 root root 19648 Feb 21 14:43 bsd.mod
-rw-r--r-- 1 root root  1960 Feb 21 14:43 bufio.mod
-rw-r--r-- 1 root root  2388 Feb 21 14:43 cat.mod
-rw-r--r-- 1 root root   512 Feb 21 14:43 cdboot.img
-rw-r--r-- 1 root root  2476 Feb 21 14:43 chain.mod
-rw-r--r-- 1 root root  1340 Feb 21 14:43 cmostest.mod
-rw-r--r-- 1 root root  2144 Feb 21 14:43 cmp.mod
-rw-r--r-- 1 root root  2033 Feb 21 14:43 command.lst
-rw-r--r-- 1 root root  1784 Feb 21 14:43 configfile.mod
-rw-r--r-- 1 root root 23924 Feb 21 14:43 core.img
-rw-r--r-- 1 root root  2864 Feb 21 14:43 cpio.mod
-rw-r--r-- 1 root root  1608 Feb 21 14:43 cpuid.mod
-rw-r--r-- 1 root root  1784 Feb 21 14:43 crc.mod
-rw-r--r-- 1 root root   825 Feb 21 14:43 crypto.lst
-rw-r--r-- 1 root root  4396 Feb 21 14:43 crypto.mod
-rw-r--r-- 1 root root  4052 Feb 21 14:43 cs5536.mod
-rw-r--r-- 1 root root  2316 Feb 21 14:43 date.mod
-rw-r--r-- 1 root root  1824 Feb 21 14:43 datehook.mod
-rw-r--r-- 1 root root  1241 Feb 21 14:43 datetime.mod
-rw-r--r-- 1 root root    44 Feb 21 10:28 device.map
-rw-r--r-- 1 root root   512 Feb 21 14:43 diskboot.img
-rw-r--r-- 1 root root  1896 Feb 21 14:43 dm_nv.mod
-rw-r--r-- 1 root root  5496 Feb 21 14:43 drivemap.mod
-rw-r--r-- 1 root root  2036 Feb 21 14:43 echo.mod
-rw-r--r-- 1 root root 24128 Feb 21 14:43 efiemu.mod
-rw-r--r-- 1 root root  6436 Feb 21 14:43 efiemu32.o
-rw-r--r-- 1 root root 11002 Feb 21 14:43 efiemu64.o
-rw-r--r-- 1 root root  4404 Feb 21 14:43 elf.mod
-rw-r--r-- 1 root root  1636 Feb 21 14:43 example_functional_test.mod
-rw-r--r-- 1 root root  5804 Feb 21 14:43 ext2.mod
-rw-r--r-- 1 root root  3980 Feb 21 14:43 extcmd.mod
-rw-r--r-- 1 root root  5940 Feb 21 14:43 fat.mod
-rw-r--r-- 1 root root 11992 Feb 21 14:43 font.mod
-rw-r--r-- 1 root root   128 Feb 21 14:43 fs.lst
-rw-r--r-- 1 root root  2764 Feb 21 14:43 fshelp.mod
-rw-r--r-- 1 root root  2504 Feb 21 14:43 functional_test.mod
-rw-r--r-- 1 root root  1768 Feb 21 14:43 gcry_arcfour.mod
-rw-r--r-- 1 root root  8144 Feb 21 14:43 gcry_blowfish.mod
-rw-r--r-- 1 root root 35040 Feb 21 14:43 gcry_camellia.mod
-rw-r--r-- 1 root root 17568 Feb 21 14:43 gcry_cast5.mod
-rw-r--r-- 1 root root  2992 Feb 21 14:43 gcry_crc.mod
-rw-r--r-- 1 root root 19280 Feb 21 14:43 gcry_des.mod
-rw-r--r-- 1 root root  3268 Feb 21 14:43 gcry_md4.mod
-rw-r--r-- 1 root root  4008 Feb 21 14:43 gcry_md5.mod
-rw-r--r-- 1 root root  2636 Feb 21 14:43 gcry_rfc2268.mod
-rw-r--r-- 1 root root 19204 Feb 21 14:43 gcry_rijndael.mod
-rw-r--r-- 1 root root  9132 Feb 21 14:43 gcry_rmd160.mod
-rw-r--r-- 1 root root 16652 Feb 21 14:43 gcry_seed.mod
-rw-r--r-- 1 root root 18016 Feb 21 14:43 gcry_serpent.mod
-rw-r--r-- 1 root root  8920 Feb 21 14:43 gcry_sha1.mod
-rw-r--r-- 1 root root  3484 Feb 21 14:43 gcry_sha256.mod
-rw-r--r-- 1 root root  5660 Feb 21 14:43 gcry_sha512.mod
-rw-r--r-- 1 root root 11988 Feb 21 14:43 gcry_tiger.mod
-rw-r--r-- 1 root root 39616 Feb 21 14:43 gcry_twofish.mod
-rw-r--r-- 1 root root 24800 Feb 21 14:43 gcry_whirlpool.mod
-rw-r--r-- 1 root root  3984 Feb 21 14:43 gettext.mod
-rw-r--r-- 1 root root 38668 Feb 21 14:43 gfxmenu.mod
-rw-r--r-- 1 root root 11248 Feb 21 14:43 gfxterm.mod
-rw-r--r-- 1 root root  3728 Feb 21 14:43 gptsync.mod
-rw-r--r-- 1 root root 10240 Feb 21 14:43 grldr.img
-r--r--r-- 1 root root  2835 Feb 21 11:39 grub.cfg
-rw-r--r-- 1 root root  1024 Feb 21 10:28 grubenv
-rw-r--r-- 1 root root  7740 Feb 21 14:43 gzio.mod
-rw-r--r-- 1 root root  1460 Feb 21 14:43 halt.mod
-rw-r--r-- 1 root root     0 Feb 21 14:43 handler.lst
-rw-r--r-- 1 root root  4608 Feb 21 14:43 hashsum.mod
-rw-r--r-- 1 root root  7420 Feb 21 14:43 hdparm.mod
-rw-r--r-- 1 root root  1216 Feb 21 14:43 hello.mod
-rw-r--r-- 1 root root  2488 Feb 21 14:43 help.mod
-rw-r--r-- 1 root root  3244 Feb 21 14:43 hexdump.mod
-rw-r--r-- 1 root root  6028 Feb 21 14:43 hfs.mod
-rw-r--r-- 1 root root  5892 Feb 21 14:43 hfsplus.mod
-rw-r--r-- 1 root root  2856 Feb 21 14:43 iorw.mod
-rw-r--r-- 1 root root  6252 Feb 21 14:43 iso9660.mod
-rw-r--r-- 1 root root  5832 Feb 21 14:43 jfs.mod
-rw-r--r-- 1 root root  5932 Feb 21 14:43 jpeg.mod
-rw-r--r-- 1 root root 29128 Feb 21 14:43 kernel.img
-rw-r--r-- 1 root root  1972 Feb 21 14:43 keystatus.mod
-rw-r--r-- 1 root root  8636 Feb 21 14:43 linux.mod
-rw-r--r-- 1 root root  5036 Feb 21 14:43 linux16.mod
-rw-r--r-- 1 root root  1024 Feb 21 14:43 lnxboot.img
-rw-r--r-- 1 root root  5564 Feb 21 14:43 loadenv.mod
drwxr-xr-x 2 root root  4096 Feb 21 10:28 locale
-rw-r--r-- 1 root root  3032 Feb 21 14:43 loopback.mod
-rw-r--r-- 1 root root  4160 Feb 21 14:43 ls.mod
-rw-r--r-- 1 root root  1300 Feb 21 14:43 lsmmap.mod
-rw-r--r-- 1 root root  4944 Feb 21 14:43 lspci.mod
-rw-r--r-- 1 root root  6056 Feb 21 14:43 lvm.mod
-rw-r--r-- 1 root root  2700 Feb 21 14:43 mdraid.mod
-rw-r--r-- 1 root root  2080 Feb 21 14:43 memdisk.mod
-rw-r--r-- 1 root root  2876 Feb 21 14:43 memrw.mod
-rw-r--r-- 1 root root  4132 Feb 21 14:43 minicmd.mod
-rw-r--r-- 1 root root  4348 Feb 21 14:43 minix.mod
-rw-r--r-- 1 root root  8508 Feb 21 14:43 mmap.mod
-rw-r--r-- 1 root root  2773 Feb 21 14:43 moddep.lst
-rw-r--r-- 1 root root  2372 Feb 21 14:43 msdospart.mod
-rw-r--r-- 1 root root 10520 Feb 21 14:43 multiboot.mod
-rw-r--r-- 1 root root 11432 Feb 21 14:43 multiboot2.mod
-rw-r--r-- 1 root root  6676 Feb 21 14:43 nilfs2.mod
-rw-r--r-- 1 root root 98292 Feb 21 14:43 normal.mod
-rw-r--r-- 1 root root  9996 Feb 21 14:43 ntfs.mod
-rw-r--r-- 1 root root  3548 Feb 21 14:43 ntfscomp.mod
-rw-r--r-- 1 root root 10524 Feb 21 14:43 ohci.mod
-rw-r--r-- 1 root root  1688 Feb 21 14:43 part_acorn.mod
-rw-r--r-- 1 root root  1672 Feb 21 14:43 part_amiga.mod
-rw-r--r-- 1 root root  2112 Feb 21 14:43 part_apple.mod
-rw-r--r-- 1 root root  2004 Feb 21 14:43 part_bsd.mod
-rw-r--r-- 1 root root  2276 Feb 21 14:43 part_gpt.mod
-rw-r--r-- 1 root root  2100 Feb 21 14:43 part_msdos.mod
-rw-r--r-- 1 root root  1788 Feb 21 14:43 part_sun.mod
-rw-r--r-- 1 root root  1704 Feb 21 14:43 part_sunpc.mod
-rw-r--r-- 1 root root    82 Feb 21 14:43 partmap.lst
-rw-r--r-- 1 root root    17 Feb 21 14:43 parttool.lst
-rw-r--r-- 1 root root  4488 Feb 21 14:43 parttool.mod
-rw-r--r-- 1 root root  1908 Feb 21 14:43 password.mod
-rw-r--r-- 1 root root  2992 Feb 21 14:43 password_pbkdf2.mod
-rw-r--r-- 1 root root  1332 Feb 21 14:43 pbkdf2.mod
-rw-r--r-- 1 root root  1188 Feb 21 14:43 pci.mod
-rw-r--r-- 1 root root  2476 Feb 21 14:43 play.mod
-rw-r--r-- 1 root root  6628 Feb 21 14:43 png.mod
-rw-r--r-- 1 root root  2664 Feb 21 14:43 probe.mod
-rw-r--r-- 1 root root  5600 Feb 21 14:43 pxe.mod
-rw-r--r-- 1 root root  1024 Feb 21 14:43 pxeboot.img
-rw-r--r-- 1 root root  1332 Feb 21 14:43 pxecmd.mod
-rw-r--r-- 1 root root  6192 Feb 21 14:43 raid.mod
-rw-r--r-- 1 root root  1392 Feb 21 14:43 raid5rec.mod
-rw-r--r-- 1 root root  2832 Feb 21 14:43 raid6rec.mod
-rw-r--r-- 1 root root  1564 Feb 21 14:43 read.mod
-rw-r--r-- 1 root root  1120 Feb 21 14:43 reboot.mod
-rw-r--r-- 1 root root 38520 Feb 21 14:43 regexp.mod
-rw-r--r-- 1 root root  9868 Feb 21 14:43 reiserfs.mod
-rw-r--r-- 1 root root  4104 Feb 21 14:43 relocator.mod
-rw-r--r-- 1 root root  4124 Feb 21 14:43 scsi.mod
-rw-r--r-- 1 root root  2356 Feb 21 14:43 search.mod
-rw-r--r-- 1 root root  2168 Feb 21 14:43 search_fs_file.mod
-rw-r--r-- 1 root root  2312 Feb 21 14:43 search_fs_uuid.mod
-rw-r--r-- 1 root root  2256 Feb 21 14:43 search_label.mod
-rw-r--r-- 1 root root  4920 Feb 21 14:43 serial.mod
-rw-r--r-- 1 root root   690 Feb 21 14:43 setjmp.mod
-rw-r--r-- 1 root root  5524 Feb 21 14:43 setpci.mod
-rw-r--r-- 1 root root  4104 Feb 21 14:43 sfs.mod
-rw-r--r-- 1 root root  2168 Feb 21 14:43 sleep.mod
-rw-r--r-- 1 root root  2888 Feb 21 14:43 tar.mod
-rw-r--r-- 1 root root   124 Feb 21 14:43 terminal.lst
-rw-r--r-- 1 root root  3472 Feb 21 14:43 terminal.mod
-rw-r--r-- 1 root root 12728 Feb 21 14:43 terminfo.mod
-rw-r--r-- 1 root root  5156 Feb 21 14:43 test.mod
-rw-r--r-- 1 root root  2884 Feb 21 14:43 tga.mod
-rw-r--r-- 1 root root  1675 Feb 21 14:43 trig.mod
-rw-r--r-- 1 root root  1276 Feb 21 14:43 true.mod
-rw-r--r-- 1 root root  5496 Feb 21 14:43 udf.mod
-rw-r--r-- 1 root root  4684 Feb 21 14:43 ufs1.mod
-rw-r--r-- 1 root root  5000 Feb 21 14:43 ufs2.mod
-rw-r--r-- 1 root root  5796 Feb 21 14:43 uhci.mod
-rw-r--r-- 1 root root  7900 Feb 21 14:43 usb.mod
-rw-r--r-- 1 root root  3420 Feb 21 14:43 usb_keyboard.mod
-rw-r--r-- 1 root root  5440 Feb 21 14:43 usbms.mod
-rw-r--r-- 1 root root  3636 Feb 21 14:43 usbtest.mod
-rw-r--r-- 1 root root  6676 Feb 21 14:43 vbe.mod
-rw-r--r-- 1 root root  2736 Feb 21 14:43 vbeinfo.mod
-rw-r--r-- 1 root root  3048 Feb 21 14:43 vbetest.mod
-rw-r--r-- 1 root root  4788 Feb 21 14:43 vga.mod
-rw-r--r-- 1 root root  2288 Feb 21 14:43 vga_text.mod
-rw-r--r-- 1 root root    33 Feb 21 14:43 video.lst
-rw-r--r-- 1 root root  5384 Feb 21 14:43 video.mod
-rw-r--r-- 1 root root  5500 Feb 21 14:43 video_bochs.mod
-rw-r--r-- 1 root root  5744 Feb 21 14:43 video_cirrus.mod
-rw-r--r-- 1 root root 18528 Feb 21 14:43 video_fb.mod
-rw-r--r-- 1 root root  3876 Feb 21 14:43 videotest.mod
-rw-r--r-- 1 root root  5844 Feb 21 14:43 xfs.mod
-rw-r--r-- 1 root root 31420 Feb 21 14:43 xnu.mod
-rw-r--r-- 1 root root  1936 Feb 21 14:43 xnu_uuid.mod
-rw-r--r-- 1 root root 24400 Feb 21 14:43 zfs.mod
-rw-r--r-- 1 root root  6208 Feb 21 14:43 zfsinfo.mod

Last edited by Dark_Wolf; 02-21-2011 at 03:51 PM.
 
Old 02-21-2011, 04:00 PM   #12
Dark_Wolf
Member
 
Registered: Apr 2006
Posts: 41

Original Poster
Rep: Reputation: 0
*Bumped for subscribers*
ls -al output is added above.
I also filed a bug about this whole thing in the Debian tracker.
 
Old 02-21-2011, 04:12 PM   #13
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Now this is making my head hurt....
 
Old 02-21-2011, 04:13 PM   #14
Dark_Wolf
Member
 
Registered: Apr 2006
Posts: 41

Original Poster
Rep: Reputation: 0
Haha, well, this machine has been known to be a bit "special"
 
Old 02-21-2011, 04:16 PM   #15
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
I'm currently at work and don't have access to linux right now. What I did though was search high and low for you man, and I came across something that might help for the time being.

http://www.supergrubdisk.org/
http://www.supergrubdisk.org/wiki/Boot_Problems

Check those out and see if you can get any farther. Sorry man, I'm stuck with windows for another six hours
 
  


Reply



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
Issues w/Grub2 while trying to install Debian "squeeze" rickolai Linux - Newbie 1 02-07-2011 03:00 PM
Debian Squeeze Grub2 Problem -> error: out of partition michalng Debian 4 01-09-2011 02:41 AM
LXer: Debian Squeeze cleans up the grub2 wallpaper in desktop-base, and we're a bit closer to Stable LXer Syndicated Linux News 0 01-04-2011 11:01 PM
Debian Squeeze kde4: fonts are "too thin" to read comfortably. edbarx Linux - Desktop 1 09-29-2010 11:29 PM
GRUB Read Error After Upgrade to grub2 linuxpyro Linux - Software 4 03-29-2010 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration