SliTaz SliTaz Forum

You are not logged in.

#1 2019-04-02 10:13:09

plumtreed
Member
Registered: 2011-03-29
Posts: 115

Need Some Help Getting Grub4dos Working on a Cloned USB

I have been running Slitaz5.0 on an older machine that is now falling apart....keys no longer working etc so we need a change. I cloned my favourite Slitaz via DD to a usb drive including the usual Grub4dos as a bootloader.

Since it was a USB stick I thought I could just plug it in to my laptop and play!

Grub4dos ends up with a 'kernel panic' and and an 'end trace'...so it doesn't boot. Here is the grub4dos coding:

       root (hd0,0)

       kernel /boot/vmlinuz-3.16.55-slitaz video-32 quiet

.....the new machine isn't a big upgrade but everything works and I would like to transfer this over as is.........any suggestions....I really never have been able to sort out any form of grub:(

Offline

#2 2019-04-02 13:28:23

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Need Some Help Getting Grub4dos Working on a Cloned USB

After it is loaded, I think the kernel searches the filesystem on the hard disk and not on the USB stick.

Try to add [c]root=/dev/sdb1[/c] in the kernel line.

EDIT: Maybe you also need to add [c]rootdelay=5[/c] to let time to the kernel to find the stick.

Offline

#3 2019-04-03 00:36:46

jianliulin
Member
Registered: 2012-08-31
Posts: 27

Re: Need Some Help Getting Grub4dos Working on a Cloned USB

title SliTaz GNU/Linux 5.0

find --set-root /boot/bzImage64

kernel /boot/bzImage64 rw root=/dev/null vga=normal autologin

initrd /boot/rootfs.gz

Offline

#4 2019-04-03 08:22:53

plumtreed
Member
Registered: 2011-03-29
Posts: 115

Re: Need Some Help Getting Grub4dos Working on a Cloned USB

@Ceel.....thanks for putting me on the right track....I changed the root direction, added some root delay and added nomodeset....Slitaz booted OK

@jianliulin...........problem solved before your post but I am going to check your version, thanks for your reply!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]