Quote:
Originally Posted by ReaperX7
does it boot with the default Huge kernel?
|
OK I made several folders in the ESP on my external drive to test different possiblities:
A) /EFI/BOOT as in the slackware64-current tree
B) /EFI/BOOT2 as in the boot.img provided in the usb-pxe-installers folder
C) /EFI/Slack-huge_b/ , containing a vmlinuz-huge-4.1.6, and initrd.gz (made with mkinitrd -c -k 4.1.6 -r /dev/sdb1 -o initrd-4.1.6-sdb1.gz, a refind-linux.conf with pointers to the internal mSATA drive /dev/sdb1 as root)
D) /EFI/Slack-huge_c/ with the same kernel but with initrd.gz and refind-linux.conf pointing to / on the external usb hard drive (=/dev/sdc7).
This is what I got:
1) with huge kernels from the two uefi-installers: i.e. from usb-pxe-folder or from EFI folder in slackware64-current:
-1a: both boot as if from usb-stick/DVD, into slackware setup
-1b: but when given the option
Code:
boot:huge.s root=/dev/sdc7 rdinit= ro
, or when pointing to the internal drive with root (/dev/sdb1), booting ends with kernel-panic:
Quote:
kernel panic - not syncing VFS: unable to mount root fs on unknown -block(0.0)
|
this kernel-panic is probably related to a wrong initrd.gz being loaded (see below, point 2a)
-1c: trying to evade setup and the huge.s from usb-pxe-folder, by loading the standard vmlinuz-huge-4.1.6 kernel using boot instructions
Code:
boot: /EFI/Slack-huge_<folder>/vmlinuz-huge-4.1.6 root=/dev/sdb1 rdinit=ro
(i.e. directing to the internal /) works (when starting up from the external hard drive)
-1d: but the same gives above kernel-panic when directing to / on the external drive (root=/dev/sdc7).
2) booting using refind with the standard vmlinuz-huge-4.1.6 (from slackware64/a/kernel-huge-4.1.6.txz)
-2a: by itself from the internal ESP (/dev/sdb1): ends in the same kernel-panic. This because refind does not get enough info (it extracts from an initrd.gz)
-2b: but doing the same including an initrd.gz (for the root= and rootfs= info pointing to the internal /dev/sdb to make refind work): the computer boots.
-2c: also when booting from the ESP on the external hard drive (/dev/sdc) when pointing to the internal drive (/dev/sdb1) for / in the included initrd.gz and refind-linux-conf files, the computer boots fine.
3) Now the rescue-trial: boot to an external root (what I used to be able to do with lilo/MBR and fast eSATA connections when these were on laptops a while back):
-3a: doing the boot from 2c but now pointing to the / on the external hard drive (/dev/sdc7, as defined by edited initrd.gz and refind-linux.conf), ends with same error as when using the vmlinuz-generic-4.1.6 kernel with initrd.gz pointing to this drive as reported in the previous posts (no /mnt in /etc/fstab etc).
Before the above kernel-panic occurs: in all cases the partitions of both internal drives (/dev/sda and /dev/sdb) are recognized; the external (/dev/sdc) is never shown.
4) Btw, booting with the huge kernel from the usb-pxe-folder installer and directing this to / on the internal disk (/dev/sdb1) at the boot prompt:
Code:
Kernel command line: BOOT_IMAGE=dev001:/huge.s vga=normal load_ramdisk=1 prompt_ramdisk=0 ro printk.time=0 nomodeset SLACK_KERNEL=huge.s ro root=/dev/sdb1 rdinit= ro
goes, but X does not work (EE no screens found) although this is better than doing this with root=/dev/sdc7 as parameter, which gave above kernel panic)
So, things went the same as before with the generic kernel. It shows again that the external drive is not found/available as a device for /, which makes it impossible -it seems- to boot a Slackware system on an external drive using the above methods. I do not know whether this is is according to UEFI-specs but very unhelpful to try to get my internal mSATA repaired that contains the whole system.
I still have to try to do this after unplugging the mSATA (/dev/sdb1) and check whether the external drive is then suddenly used but somehow I doubt this will work.... It probably comes down to having to install slackware on the other internal hard drive but that does defies the idea: having a back-up system ready that can be used by just plugging in a usb-drive.