Grub4Dos and Grub2config in KLV and KLA

Moderator: Forum moderators

Post Reply
User avatar
rockedge
Site Admin
Posts: 5815
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2073 times
Been thanked: 2166 times
Contact:

Grub4Dos and Grub2config in KLV and KLA

Post by rockedge »

@fredx181 the DebianDog guess_fstype binary works well in KLV-Airedale. I removed the Puppy Linux patched busybox and returned to the Void Linux repo version then removed the guess_fstype symlink replacing that with the binary.

I repacked the 07KLV-airedale_rootfs.sfs and created the KLV-Airedale-beta27.iso with it included. Set up a fresh QEMU virtual machine and partitioned and formatted the qcow2 virtual HDD using KLV's GParted and Grub4Dos-1.9.4.

Surprised myself that it works as well as it does to this point. The boot stanza's are of course are automatically written for Puppy Linux and the identification of found distro's is not fully functional yet, reporting "unknown". This feature works in Grub4Dos when run in a Puppy Linux in the same scenario, so some more adjustment of the code or another additional utility is going to be needed.

Right now I just run Grub4Dos then wd_grubconfig and manually edit the menu.lst and end up being able to completely setup the virtual machine to boot from the virtual internal HDD from KLV in RAM0 mode.

Screenshot(2).jpg
Screenshot(2).jpg (36.83 KiB) Viewed 466 times
Screenshot.jpg
Screenshot.jpg (27.93 KiB) Viewed 466 times

Some more minor work needs to be done to include Grub2config in KLV and KLA and is not available at this time.

User avatar
rockedge
Site Admin
Posts: 5815
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2073 times
Been thanked: 2166 times
Contact:

Re: Grub4Dos and Grub2config in KLV and KLA

Post by rockedge »

Directly after setting up the virtual HDD and copied from /mnt/sr0 all of the KLV-Airedale-beta27 system files to /mnt/sda1/KLV27
I ranwd_grubconfig from /mnt/sda1/KLV27 which resulted in this example:

Screenshot(1).jpg
Screenshot(1).jpg (53.58 KiB) Viewed 448 times

Which I added manually to menu.lst using geany.

Code: Select all

# menu.lst produced by grub4dosconfig-v1.9.4
color white/blue black/cyan white/black cyan/black
#splashimage=/splash.xpm
timeout 10
default 0

#####menu.lst (note the LABEL or UUID options below):
title KLV27
  find --set-root --ignore-floppies /KLV27/grub_config.txt
  kernel /KLV27/vmlinuz w_bootfrom=LABEL=klvsys=/KLV27 w_changes=RAM2
  initrd /KLV27/initrd.gz
#############################OR uuid method:
title KLV27
  find --set-root uuid () 2be5b2cf-bd19-46a2-990d-313512657c26
  kernel /KLV27/vmlinuz w_bootfrom=UUID=2be5b2cf-bd19-46a2-990d-313512657c26=/KLV27 w_changes=RAM2
  initrd /KLV27/initrd.gz

# Advanced Menu
title Advanced menu
  configfile /menu-advanced.lst
  commandline

Then rebooted the QEMU machine from the virtual HDD which then booted KLV27 correctly .

Clarity
Posts: 3351
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1382 times
Been thanked: 444 times

Re: Grub4Dos and Grub2config in KLV and KLA

Post by Clarity »

Is KLV v27b available?

Where is v27b.jpg
Where is v27b.jpg (29.13 KiB) Viewed 400 times

p.s. v25b and v26b are not booting to bare-metal via an ISO boots. Bogs down or abends in booting (depending on which test PC is used) after

Code: Select all

message Run /init as init process
attempting to find file  Please wait
User avatar
rockedge
Site Admin
Posts: 5815
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2073 times
Been thanked: 2166 times
Contact:

Re: Grub4Dos and Grub2config in KLV and KLA

Post by rockedge »

I think it's the firmware component that's causing some problems finding the KLV partition root and the system files.

Post Reply

Return to “KL-Dev_Work”