You are not logged in.
Pages: 1
Hi guys. I did some cleaning the dust for my box server. Naturally I also unmount hard disk and then place it back. I put the sata cable to the exact same motherboard port as it was before I vacuumed the box.
Unoftunatelly I keep getting this GRUB error 17.
I've put in liveCD (systemresscueCD) and run:
blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="1a9f7dda-4b22-4d0b-b5e8-ea635d2614c7" TYPE="ext4"
/dev/sdb1: UUID="e33d4ae9-1a9b-4941-89d8-ef2886a4804d" TYPE="ext2"
/dev/sdb2: UUID="836efc8e-9f58-4dc6-82fa-c016b18cbb1b" TYPE="swap"
/dev/sdb3: UUID="87761037-91a4-43e8-870d-137f6f453bc6" TYPE="ext4"
/dev/sdb5: UUID="5e4956f6-bbb2-4aa0-bb52-7f54c2e1717d" TYPE="ext4"
/dev/sdb6: UUID="3f6a286a-545e-4bae-bcf1-5cb124d0756f" TYPE="ext4"
/dev/sdc1: UUID="71385b95-4e5a-44e5-b4c3-d209fc82ff71" SEC_TYPE="ext2" TYPE="ext3"
I've mounted the /dev/sdb3 (root partiotion) and checked the /mnt/custom/etc/fstab if UUIDs are the same:
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
#/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
#/dev/sda1
/dev/disk/by-uuid/1a9f7dda-4b22-4d0b-b5e8-ea635d2614c7 /mnt/p2p ext4 defaults 0 2
#/dev/sdb1
/dev/disk/by-uuid/e33d4ae9-1a9b-4941-89d8-ef2886a4804d /boot ext2 defaults 0 1
#/dev/sdb2
/dev/disk/by-uuid/836efc8e-9f58-4dc6-82fa-c016b18cbb1b swap swap defaults 0 0
#/dev/sdb3
/dev/disk/by-uuid/87761037-91a4-43e8-870d-137f6f453bc6 / ext4 defaults 0 1
#/dev/sdb5
/dev/disk/by-uuid/5e4956f6-bbb2-4aa0-bb52-7f54c2e1717d /home ext4 defaults,usrquota,grpquota 0 1
#/dev/sdb6
/dev/disk/by-uuid/3f6a286a-545e-4bae-bcf1-5cb124d0756f /podatki ext4 defaults 0 1
THEY ARE...
...moving foraward
I found this wiki: https://wiki.archlinux.org/index.php/Grub#GRUB_Error_17
I umounted /mnt/custon <-/dev/sdb3
And execute:
fdisk /dev/sdb
Command (m for help): x
Expert command (m for help): f
Nothing to do. Ordering is correct already.
Expert command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
So NOTHING wrong with Ordering. I've performed this on /dev/sdb since here is partition table. On /dev/sda there is just some music files no system files...
Moving on to the GRUB in wiki says I should tell the GRUB whre /boot is located. /boot in my case is /dev/sdb1 or by UUID="e33d4ae9-1a9b-4941-89d8-ef2886a4804d"
GNU GRUB version 0.97 (640K lower / 5120K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd1)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd1)"... 24 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd1) (hd1)1+24 p (hd1,0)/grub/stage2 /grub/menu.lst"... succeeded
Done.
Reboot. I still get this error
Offline
You should show the menu.lst you are using to boot.
Offline
I think you should type "setup (hd0)" to install grub to the first hard drive, not "setup (hd1)".
Offline
I think you should type "setup (hd0)" to install grub to the first hard drive, not "setup (hd1)".
mark
it is hd0 not hd1 be installed try it
Offline
I've tried to install to (hd0) the first disk at least recognized in BIOS. Note here I've checked the bios and I all the recognized disks have setu auto mode...
I still got boot errot 17. So I have removed both MBRs and install it only on sda which is (hd0) and still boot error 17
After it I found somethiug about external usb drives. I own one. I've unplugged it and there was not grub error 17. So tihs is partially SOLVED. Why don't have grub error 17 if I unplugg external usb hard drive. It ain't recognized in bios anyway... But now at least I can boot into arch server.
Offline
Maybe the disks order is changed when your usb disk is plugged in. Check if your BIOS is configured to boot from USB disks first, and if yes, try to change that to your internal disk...
Edit: no idea if that will work .
Last edited by stqn (2011-03-31 08:55:35)
Offline
Pages: 1