View previous topic :: View next topic |
Author |
Message |
ValerieVonck n00b
Joined: 17 Aug 2017 Posts: 47 Location: Erpe-Mere, Oostvlaanderen
|
Posted: Wed May 09, 2018 3:47 pm Post subject: [SOLVED] - VirtualBox Guest - EFI - /boot is empty |
|
|
Hello everyone,
This weekend I installed Gentoo in Virtualbox, in EFI mode.
I successfully completed the installation, but I was wondering why /boot is empty.
I can start the machine correctly, but my kernel, initramfs & system map are not showing when doing an ls /boot.
Yesterday, I have upgraded grub to 2.0.2-r1, then I re-installed my grubmk-cfg, according to the manual and recompiled my kernel, because grub seemed to have erased my directory.
Where can I find my kernel, grub, etc.. under normal usage?? :s
Did I do something wrong, and how can I correct this??
When I boot the VM up with Sysrescuecd, I see the following, when mounting /dev/sda2 on /mnt/gentoo/boot (I have to create this first, livecd env.),
I see the EFI, grub, and Kernel, initramfs & SystemMap??
Do I need to pull in efibootmanager (?) or do I have re-start again?
Thank you,
Kind regards,
V
This is my /etc/fstab,
Code: |
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3
# filesystems. This just tells the kernel to use the ext4 driver.
#
# NOTE: You can use full paths to devices like /dev/sda3, but it is often
# more reliable to use filesystem labels or UUIDs. See your filesystem
# documentation for details on setting a label. To obtain the UUID, use
# the blkid(8) command.
/dev/sda2 /boot vfat noauto,noatime 1 2
/dev/sda4 / ext4 noatime 0 1
/dev/sda3 none swap sw 0 0
|
Here-under, you can find of the parted setup of my disk
Code: |
Number Begin End Size Filesystem Name Flags
1 1 MiB 3 MiB 2 MiB grub bios_grub
2 3 MiB 131MiB 128 MiB fat32 boot boot,esp
3 <-> 2 GiB linux-swap(v1) swap
4 <-> 30 GiB ext4 rootfs
|
Ps. I have added grub under protected packages with a emerge --noreplace :s, how I can undo this?
Thnx _________________ Inter antecessum est melius
Last edited by ValerieVonck on Thu May 10, 2018 8:16 am; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed May 09, 2018 5:08 pm Post subject: |
|
|
Sounds like you ran ls /boot with /dev/sda2 not being mounted at /boot. When using a separate boot partition (/dev/sda2) the /boot directory(mount point) should be empty. run Code: | mount /boot # fstab and mtab tell mount to use /dev/sda2
ls /boot | to see the missing
If you forget to mount the boot partition as often as I used to, you can remove noauto from your /etc/fstab _________________ Defund the FCC. |
|
Back to top |
|
|
ValerieVonck n00b
Joined: 17 Aug 2017 Posts: 47 Location: Erpe-Mere, Oostvlaanderen
|
Posted: Thu May 10, 2018 8:17 am Post subject: |
|
|
DONAHUE wrote: | Sounds like you ran ls /boot with /dev/sda2 not being mounted at /boot. When using a separate boot partition (/dev/sda2) the /boot directory(mount point) should be empty. run Code: | mount /boot # fstab and mtab tell mount to use /dev/sda2
ls /boot | to see the missing
If you forget to mount the boot partition as often as I used to, you can remove noauto from your /etc/fstab |
DONAHUE,
Removing "noauto" did the trick, I see the contents of boot now after restart,
Thank you,
Kind regards, _________________ Inter antecessum est melius |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|