check out this strange thing:
I just tried installing karmic (vanilla ubuntu-desktop) twice on an eeepc 901 with a 64GB SSD sdb drive from a usb flashdrive (which checks ok). It gave me the same result both times - exits successful, but upon reboot, a black screen with this message:
Code:
"Gnu Grub version 1.97~ beta 4 Minimal BASH-like editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device/file completions
rescue:grub> unaligned pointer 0xb8
Aborted. Press any key to exit.
It doesn't let me press shift to input commands.
After rebooting from the liveUSB again:
Code:
sudo su
mount /dev/sdb1 /mnt
ls /mnt
shows that the system IS installed:
Code:
bin dev initrd.img media proc selinux tmp vmlinuz
boot etc lib mnt root srv usr
cdrom home lost+found opt sbin sys var
But even attempts to reinstall grub-pc fail:
Code:
root@ubuntu:/# grub-install --root-directory=/mnt /dev/sdb
cp: cannot stat `/mnt/boot/grub/raid.mod': Input/output error
https://help.ubuntu.com/community/Gr...ing%20GRUB%202
Code:
root@ubuntu:/# sudo grub-setup -d /media/1d1163cd-05ed-4458-b64f-db517e82ce4f/boot/grub /dev/sdb
grub-setup: error: cannot stat /media/1d1163cd-05ed-4458-b64f-db517e82ce4f/boot/grub/boot.img
but then I realised that I am asking it to restore grub from the installed location, the {/dev/sdb1}/boot/grub, but that they were never properly installed in the first place:
Code:
root@ubuntu:/# ls /mnt/boot/grub
ls: cannot access /mnt/boot/grub/core.img: Input/output error
ls: cannot access /mnt/boot/grub/vga.mod: Input/output error
ls: cannot access /mnt/boot/grub/ufs1.mod: Input/output error
ls: cannot access /mnt/boot/grub/serial.mod: Input/output error
ls: cannot access /mnt/boot/grub/pxeboot.img: Input/output error
ls: cannot access /mnt/boot/grub/read.mod: Input/output error
ls: cannot access /mnt/boot/grub/vbeinfo.mod: Input/output error
ls: cannot access /mnt/boot/grub/test.mod: Input/output error
ls: cannot access /mnt/boot/grub/scsi.mod: Input/output error
ls: cannot access /mnt/boot/grub/uhci.mod: Input/output error
ls: cannot access /mnt/boot/grub/raid6rec.mod: Input/output error
ls: cannot access /mnt/boot/grub/reiserfs.mod: Input/output error
ls: cannot access /mnt/boot/grub/usbtest.mod: Input/output error
ls: cannot access /mnt/boot/grub/efiemu64.o: Input/output error
ls: cannot access /mnt/boot/grub/tar.mod: Input/output error
ls: cannot access /mnt/boot/grub/search.mod: Input/output error
ls: cannot access /mnt/boot/grub/sleep.mod: Input/output error
ls: cannot access /mnt/boot/grub/sfs.mod: Input/output error
ls: cannot access /mnt/boot/grub/true.mod: Input/output error
ls: cannot access /mnt/boot/grub/grubenv: Input/output error
ls: cannot access /mnt/boot/grub/udf.mod: Input/output error
ls: cannot access /mnt/boot/grub/vbetest.mod: Input/output error
ls: cannot access /mnt/boot/grub/raid5rec.mod: Input/output error
ls: cannot access /mnt/boot/grub/sh.mod: Input/output error
ls: cannot access /mnt/boot/grub/usb.mod: Input/output error
ls: cannot access /mnt/boot/grub/cdboot.img: Input/output error
ls: cannot access /mnt/boot/grub/terminfo.mod: Input/output error
ls: cannot access /mnt/boot/grub/efiemu32.o: Input/output error
ls: cannot access /mnt/boot/grub/vbe.mod: Input/output error
ls: cannot access /mnt/boot/grub/kernel.img: Input/output error
ls: cannot access /mnt/boot/grub/raid.mod: Input/output error
ls: cannot access /mnt/boot/grub/reboot.mod: Input/output error
ls: cannot access /mnt/boot/grub/usb_keyboard.mod: Input/output error
ls: cannot access /mnt/boot/grub/setjmp.mod: Input/output error
ls: cannot access /mnt/boot/grub/usbms.mod: Input/output error
ls: cannot access /mnt/boot/grub/ufs2.mod: Input/output error
ls: cannot access /mnt/boot/grub/tga.mod: Input/output error
ls: cannot access /mnt/boot/grub/diskboot.img: Input/output error
ls: cannot access /mnt/boot/grub/lnxboot.img: Input/output error
915resolution.mod echo.mod loadenv.mod raid.mod
acpi.mod efiemu.mod loopback.mod raid5rec.mod
affs.mod efiemu32.o ls.mod raid6rec.mod
afs.mod efiemu64.o lsmmap.mod read.mod
afs_be.mod elf.mod lspci.mod reboot.mod
aout.mod ext2.mod lvm.mod reiserfs.mod
at_keyboard.mod extcmd.mod mdraid.mod scsi.mod
ata.mod fat.mod memdisk.mod search.mod
ata_pthru.mod font.mod memrw.mod serial.mod
befs.mod fs_file.mod minicmd.mod setjmp.mod
befs_be.mod fs_uuid.mod minix.mod sfs.mod
biosdisk.mod fshelp.mod mmap.mod sh.mod
bitmap.mod gfxterm.mod msdospart.mod sleep.mod
blocklist.mod gptsync.mod multiboot.mod tar.mod
boot.mod grub.cfg normal.mod terminfo.mod
bsd.mod grubenv ntfs.mod test.mod
bufio.mod gzio.mod ntfscomp.mod tga.mod
cat.mod halt.mod ohci.mod true.mod
cdboot.img handler.mod part_acorn.mod udf.mod
chain.mod hdparm.mod part_amiga.mod ufs1.mod
cmp.mod hello.mod part_apple.mod ufs2.mod
configfile.mod help.mod part_gpt.mod uhci.mod
core.img hexdump.mod part_msdos.mod usb.mod
cpio.mod hfs.mod part_sun.mod usb_keyboard.mod
cpuid.mod hfsplus.mod parttool.mod usbms.mod
crc.mod iso9660.mod password.mod usbtest.mod
date.mod jfs.mod pci.mod vbe.mod
datehook.mod jpeg.mod play.mod vbeinfo.mod
datetime.mod kernel.img png.mod vbetest.mod
device.map keystatus.mod probe.mod vga.mod
diskboot.img linux.mod pxe.mod
dm_nv.mod linux16.mod pxeboot.img
drivemap.mod lnxboot.img pxecmd.mod
I guess i must have filesystem errors, and not just a problem with GRUB? its a brand new drive, straight from the factory, and i added the partition table during the install. its ext3, and checks clean:
Code:
root@ubuntu:/# fsck /dev/sdb1
fsck from util-linux-ng 2.16
e2fsck 1.41.9 (22-Aug-2009)
/dev/sdb1: clean, 132935/3817472 files, 848030/15269774 blocks
any ideas?
Bookmarks