Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Booting UEFI from GPT partition, how to denote the wedge?
I am having difficulty finding how to indicate the wedge to boot in UEFI mode.
According to "man boot", a wedge can be indicated by "wedge:" followed by the wedge name, but that was not recognized. I was using the boot prompt, calling "help" many times.
Desired wedge to boot was WD2G18 :
The bootloader passes a wedge name as "wedge:" followed by the
name. The kernel will search for a dk(4) device with that
name.
melia2# dkctl wd1 listwedges
/dev/rwd1d: 24 wedges:
dk10: WD2G01, 1433561 blocks at 40, type: msdos
dk11: WD2G02, 16384000 blocks at 1433608, type: ntfs
dk12: WD2G03, 128 blocks at 17817608, type:
dk13: WD2G04, 251658240 blocks at 17817736, type: ffs
dk14: WD2G05, 293601280 blocks at 269475976, type: ffs
dk15: WD2G06, 16777216 blocks at 563077256, type: swap
dk16: WD2G07, 209715200 blocks at 579854472, type: ffs
dk17: WD2G08, 293601280 blocks at 789569672, type: ffs
dk18: WD2G09, 83886080 blocks at 1083170952, type: ext2fs
dk19: WD2G10, 251658240 blocks at 1167057032, type: ext2fs
dk20: WD2G11, 16777216 blocks at 1418715272, type:
dk21: WD2G12, 251658240 blocks at 1435492488, type: ext2fs
dk22: WD2G13, 419430400 blocks at 1687150728, type: ext2fs
dk23: WD2G14, 83886080 blocks at 2106581128, type: ext2fs
dk24: WD2G15, 83886080 blocks at 2190467208, type: ext2fs
dk25: WD2G16, 83886080 blocks at 2274353288, type: ffs
dk26: WD2G17, 8388608 blocks at 2358239368, type: swap
dk27: WD2G18, 50331648 blocks at 2366627976, type: ffs
dk28: WD2G19, 41943040 blocks at 2416959624, type: ffs
dk29: WD2G20, 83886080 blocks at 2458902664, type: ffs
dk30: WD2G21, 62914560 blocks at 2542788744, type: ffs
dk31: WD2G22, 125829120 blocks at 2605703304, type:
dk32: WD2G23, 62914560 blocks at 2731532424, type:
dk33: WD2G24, 50331648 blocks at 2794446984, type:
I finally found my way through the devices listing, found a much less convenient way, boot started but stopped after one line of screen output.
I had copied /usr/mdec/*.efi to /dosc/EFI/boot/ (/dosc was the mount point from NetBSD), so I seemed to start on the right track.
NetBSD version is
NetBSD amelia2 8.99.41 NetBSD 8.99.41 (NetBSD-HEAD amd64.nb899-20190522) #4: Wed May 22 12:15:18 GMT 2019 root@amelia2:/usr/obj/usr/src/sys/arch/amd64/compile/SANDY7 amd64
Desired wedge to boot was WD2G18, and wedge:WD2G18 was not recognized.
I was able subsequently to boot FreeBSD-current in UEFI mode, but that suddenly rebooted after
ifconfig re0 up
ifconfig re0 inet 1 (crashed/rebooted before I could finish that line).
but I have not been able to access the internet from FreeBSD 12-stable or 13-current.
Main question here is how to indicate a GPT/dk wedge to be the root file system.
Tom
Home |
Main Index |
Thread Index |
Old Index