You are not logged in.
Hello everyone!
I need help with my grub installation.
The problem is that during boot process, after the message 'GRUB loading' appears, my netbook restarts and this is an endless loop.
I did everything according to the wiki and I have no idea what I did wrong.
I'm pretty sure, though, that this is not a problem with grub.cfg, because, even after moving grub.cfg to grub.cfg.bak I still get the 'GRUB loading' message.
Could someone, please, guide me through this?
Here's my partitioning scheme:
root@archiso ~ # parted /dev/sdb print
Model: ATA ASUS-PHISON SSD (scsi)
Disk /dev/sdb: 8070MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 200MB 199MB ext4 boot bios_grub
2 200MB 1200MB 999MB linux-swap(v1) swap
3 1200MB 8069MB 6869MB ext4 rootfs
The installation itself didn't give any errors or warnings:
root@archiso ~ # arch-chroot /mnt
sh-4.3# ls -la /boot
total 23444
drwxr-xr-x 4 root root 1024 Sep 14 18:37 .
drwxr-xr-x 17 root root 4096 Sep 14 18:36 ..
drwxr-xr-x 6 root root 1024 Sep 14 16:26 grub
-rw-r--r-- 1 root root 16840181 Sep 14 18:37 initramfs-linux-fallback.img
-rw-r--r-- 1 root root 3371736 Sep 14 18:37 initramfs-linux.img
drwx------ 2 root root 12288 Sep 14 16:25 lost+found
-rw-r--r-- 1 root root 3774496 Sep 6 11:15 vmlinuz-linux
sh-4.3# grub-install --recheck /dev/sdb
Installing for i386-pc platform.
Installation finished. No error reported.
sh-4.3# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
done
Last edited by stee1rat (2014-09-14 18:46:22)
Offline
As a sanity check, you are working with sdb here. Any chance your system is booting from sda? And that you are looking at a different MBR and Grub than you think you are?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Thanks for the answer, but turned out it was my concepts misunderstanding: I should've not format the boot partition (/dev/sdb1) and mount it to /boot.
Tomty89 and strcpy from #archlinux IRC channel clarified this for me .
it should look like this (note the File system difference for the first partition):
[root@eeepc ~]# parted /dev/sdb print
Model: ATA ASUS-PHISON SSD (scsi)
Disk /dev/sdb: 8070MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 200MB 199MB boot bios_grub
2 200MB 1200MB 999MB linux-swap(v1) swap
3 1200MB 8069MB 6869MB ext4 rootfs
Last edited by stee1rat (2014-09-14 18:53:38)
Offline