I am trying to be a better Unix user. I want to dual boot my arch-linux virtual machine with Debian. I am using VirtualBox.
I am installing Debian through the arch-linux environment (https://www.debian.org/releases/buster/i386/apds03.en.html)
I have gotten it to work without a /boot partition for my Debian OS. But when I try to make a /boot partition for Debian, GRUB cannot find the kernel.
When I try to load Debian I get this
error: file '/boot/vmlinuz-4.9.0-6-rt-686-pae' not found error: you need to load the kernel first.
I think the problem is something with my fstab file. In my functional dual boot, my Debian fstab file is as such:
/dev/sda7 / ext4 defaults 0 1 /dev/sda8 none swap sw 0 0 proc /proc proc proc 0 0
when I use
it works perfectly, my /proc gets filled nicely and both OS run smoothly
however when I try to introduce a /boot partition, and I mount -a, /proc is empty and I have to manually mount it with
mount -t proc proc /proc
but ultimately GRUB cannot find the kernel
The fstab looks like this
/dev/sda2 /boot ext2 rw,nosuid,nodev 0 2 /dev/sda7 / ext4 defaults 0 1 /dev/sda8 none swap sw 0 0 proc /proc proc proc 0 0
I am using grub legacy from archlinux, and not installing grub on debian. I have tried changing the /boot partition's permissions to defaults, to no avail. I also tried installing GRUB2 from Debian and that worked with the /boot partition, but I lost arch linux.
Am I on the right track, could it be something with my fstab and /proc?
Or is there some problem with GRUB legacy and Debian buster I am not aware of?
Any help would be greatly appreciated. Thank you for reading.