Boot problems on desktop computer [SOLVED]
Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators
- MochiMoppel
- Posts: 1239
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 440 times
Boot problems on desktop computer [SOLVED]
I keep several distros on a USB stick, each in its own subfolder. For Fatdog64 the subfolder /pup_fatdog64 contains files initrd and vmlinuz.
The file menu.lst for grub4dos contains
title pup_fatdog64
kernel /pup_fatdog64/vmlinuz pmedia=usbflash psubdir=/pup_fatdog64
initrd /pup_fatdog64/initrd
This is basically how I boot all distros and in case of Fatdog64 it also works well on my Aspire One 722 laptop. However it does not work on my desktop machine, containing an AMD Athlon 64x2 Dual Core Processor 4200+
Machine boots with message
Booting pup_fatdog64
[Linux-bzImage, setup 0x3c00, size=0x5f2888]
--- and then gets stuck with a blinking cursor.
What do I do wrong?
The file menu.lst for grub4dos contains
title pup_fatdog64
kernel /pup_fatdog64/vmlinuz pmedia=usbflash psubdir=/pup_fatdog64
initrd /pup_fatdog64/initrd
This is basically how I boot all distros and in case of Fatdog64 it also works well on my Aspire One 722 laptop. However it does not work on my desktop machine, containing an AMD Athlon 64x2 Dual Core Processor 4200+
Machine boots with message
Booting pup_fatdog64
[Linux-bzImage, setup 0x3c00, size=0x5f2888]
--- and then gets stuck with a blinking cursor.
What do I do wrong?
Last edited by MochiMoppel on Sun Aug 30, 2020 1:27 pm, edited 1 time in total.
- 01101001b
- Posts: 164
- Joined: Wed Jul 15, 2020 10:57 pm
- Location: Buenos Aires, Argentina
- Has thanked: 643 times
- Been thanked: 21 times
Re: Boot problems on desktop computer
Hi MochiMoppel!MochiMoppel wrote: ↑Sat Aug 29, 2020 1:49 am Machine boots with message
Booting pup_fatdog64
[Linux-bzImage, setup 0x3c00, size=0x5f2888]
--- and then gets stuck with a blinking cursor.
What do I do wrong?
Assuming your fatdog64 is 810, that vmlinuz file seems faulty to me (size doesn't match. In fact, it's smaller than it should be).
BUT I may be totally wrong
''Most people make the mistake of thinking design is what it looks like [...] It's not [...]. Design is how it works.'' -- Steve Jobs
- MochiMoppel
- Posts: 1239
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 440 times
-
- Posts: 717
- Joined: Tue Aug 11, 2020 3:02 pm
- Location: The Pale Blue Dot
- Has thanked: 124 times
- Been thanked: 402 times
Re: Boot problems on desktop computer
Do you see the message that initrd is loaded? grub4dos usually shows the initrd loading process.
Certain (old) versions of grub4dos has problems loading huge initrd.
How much RAM does your desktop have? Need at least 1GB.
If you have spare USB stick, try dd-ing Fatdog ISO to the stick and try booting from there.
Certain (old) versions of grub4dos has problems loading huge initrd.
How much RAM does your desktop have? Need at least 1GB.
If you have spare USB stick, try dd-ing Fatdog ISO to the stick and try booting from there.
- MochiMoppel
- Posts: 1239
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 440 times
Re: Boot problems on desktop computer
Do you see the message that initrd is loaded? A:The 2 lines I posted is all I see
Certain (old) versions of grub4dos has problems loading huge initrd. A: But the same grub4dos has no problems with my laptop
How much RAM does your desktop have? Need at least 1GB. A: Both machines have 2GB
If you have spare USB stick, try dd-ing Fatdog ISO to the stick and try booting from there. A: Unfortunately not
Certain (old) versions of grub4dos has problems loading huge initrd. A: But the same grub4dos has no problems with my laptop
How much RAM does your desktop have? Need at least 1GB. A: Both machines have 2GB
If you have spare USB stick, try dd-ing Fatdog ISO to the stick and try booting from there. A: Unfortunately not
-
- Posts: 717
- Joined: Tue Aug 11, 2020 3:02 pm
- Location: The Pale Blue Dot
- Has thanked: 124 times
- Been thanked: 402 times
Re: Boot problems on desktop computer
That's no good. Let's see what else we else we can do.
1. Any idea which version of grub4dos you use?
2. When you boot on your laptop, do you see the loading initrd message? (just to be sure).
3. Try commenting out the line that loads initrd on your desktop's menu.lst. If you end up with kernel panic, we know that the problem is grub4dos. If you still see blank screen, the problem is elsewhere.
1. Any idea which version of grub4dos you use?
2. When you boot on your laptop, do you see the loading initrd message? (just to be sure).
3. Try commenting out the line that loads initrd on your desktop's menu.lst. If you end up with kernel panic, we know that the problem is grub4dos. If you still see blank screen, the problem is elsewhere.
Re: Boot problems on desktop computer
What if you add:
to the kernel line?
It comes by default in FD's isolinux.cfg.
IIRC I had a similar problem without it when RAM <= 2G.
You can also drop psubdir - we don't use it (nor pmedia, if I'm not mistaken).
Greetings!
Code: Select all
rootfstype=ramfs
It comes by default in FD's isolinux.cfg.
IIRC I had a similar problem without it when RAM <= 2G.
You can also drop psubdir - we don't use it (nor pmedia, if I'm not mistaken).
Greetings!
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Omnia mea mecum porto.
- p310don
- Posts: 357
- Joined: Tue Dec 03, 2019 7:17 am
- Location: Brisbane, Australia
- Has thanked: 72 times
- Been thanked: 103 times
Re: Boot problems on desktop computer
Almost sounds like the huge initrd slow boot issue with grub4dos. If you leave it long enough, maybe 5 minutes or more, it boots. Or, use the nano initrd to boot faster.
These are the lines from my grub4dos menu.lst that boot quickly, rather than so slow it seems like it isn't working:
for your menu.lst try this:
These are the lines from my grub4dos menu.lst that boot quickly, rather than so slow it seems like it isn't working:
With the /fatdog/ being the directory where the fatdog files are.kernel /fatdog/vmlinuz mergeinitrd1=local:/fatdog/initrd
initrd /fatdog/initrd-nano
for your menu.lst try this:
title pup_fatdog64
kernel /pup_fatdog64/vmlinuz mergeinitrd1=local:/pup_fatdog64/initrd pmedia=usbflash psubdir=/pup_fatdog64
initrd /pup_fatdog64/initrd-nano
- MochiMoppel
- Posts: 1239
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 440 times
Re: Boot problems on desktop computer
@jamesbond @JakeSFR
That's no good. Agreed!
1. Any idea which version of grub4dos you use? 0.4.4
2. When you boot on your laptop, do you see the loading initrd message? I guess. Lots of messages. Couldn't find a log file.
3. Try commenting out the line that loads initrd on your desktop's menu.lst. If you end up with kernel panic, we know that the problem is grub4dos.
#initrd /pup_fatdog64/initrd
Error 27: Unrecognized command
Press any key...
What if you add rootfstype=ramfs ? No change. Also no change when removing pmedia and psubdir.
That's no good. Agreed!
1. Any idea which version of grub4dos you use? 0.4.4
2. When you boot on your laptop, do you see the loading initrd message? I guess. Lots of messages. Couldn't find a log file.
3. Try commenting out the line that loads initrd on your desktop's menu.lst. If you end up with kernel panic, we know that the problem is grub4dos.
#initrd /pup_fatdog64/initrd
Error 27: Unrecognized command
Press any key...
What if you add rootfstype=ramfs ? No change. Also no change when removing pmedia and psubdir.
- MochiMoppel
- Posts: 1239
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 440 times
Re: Boot problems on desktop computer
I gave up after 10 min. However I noticed that the USB stick blinks frantically, the HD indicator is constantly on (USB is listed in BIOS as harddisk) and fan is noisy. Seems as if something is trying to read from USB.
Some success. More messages, one of which is "Cannot find /pup_fatdog64/initrd from anywhere".for your menu.lst try this:title pup_fatdog64
kernel /pup_fatdog64/vmlinuz mergeinitrd1=local:/pup_fatdog64/initrd pmedia=usbflash psubdir=/pup_fatdog64
initrd /pup_fatdog64/initrd-nano
Lastly: "Welcome to Bulldog Linux
bulldog login:"
And now?
- PipzDex
- Posts: 189
- Joined: Sun Jul 12, 2020 11:16 pm
- Location: Mexico
- Has thanked: 61 times
- Been thanked: 81 times
Re: Boot problems on desktop computer
hi MochiMoppel
as i see, are you trying to run the system in the pc from usb stick??
or the files are copied in the hard drive??
might be you need to run grub4dos and maybe run gparted to format to ext4 (ntfs always make problems)
check my menu.lst
as i see, are you trying to run the system in the pc from usb stick??
or the files are copied in the hard drive??
might be you need to run grub4dos and maybe run gparted to format to ext4 (ntfs always make problems)
check my menu.lst
is you menu,lst too different of mine??title Puppy precisely 5.8 (sda1/puppy_precisely-5.8)
find --set-root uuid () 641945f7-a018-4b64-89b4-9b153931b2e6
kernel /puppy_precisely-5.8/vmlinuz pdrv=641945f7-a018-4b64-89b4-9b153931b2e6 psubdir=/puppy_precisely-5.8 pmedia=atahd pfix=nocopy
initrd /puppy_precisely-5.8/initrd.gz
Pentium (R) 2.20GHz I RAM: 8.0 GB I F96-CE_5 I Kernel 6.6.8-64oz-ao I Glibc: 2.31 I 1600x900 Px
My Puppy Stuff and more
- MochiMoppel
- Posts: 1239
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 440 times
Re: Boot problems on desktop computer
Yes. Everything is on the stick. HD doesn't even need to exist.
Yes. And my simple entries even work - except in the case I describedis you menu,lst too different of mine??
Re: Boot problems on desktop computer
Ok, so now try adding this to the kernel line:MochiMoppel wrote:Some success. More messages, one of which is "Cannot find /pup_fatdog64/initrd from anywhere".for your menu.lst try this:title pup_fatdog64
kernel /pup_fatdog64/vmlinuz mergeinitrd1=local:/pup_fatdog64/initrd pmedia=usbflash psubdir=/pup_fatdog64
initrd /pup_fatdog64/initrd-nano
Lastly: "Welcome to Bulldog Linux
bulldog login:"
And now?
Code: Select all
waitdev=5
Actually, you may want to take a look at isolinux.cfg from the ISO (the last section is for initrd-nano) and just transplant all the options to your menu.lst file, doing the necessary modifications for the location of initrd, of course.
Greetings!
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Omnia mea mecum porto.
- MochiMoppel
- Posts: 1239
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 440 times
Re: Boot problems on desktop computer
JakeSFR wrote: ↑Sat Aug 29, 2020 11:29 am [Ok, so now try adding this to the kernel line:This will add some delay, to make sure USB device is readyCode: Select all
waitdev=5
Let's see if I can repeat this feat tomorrow. It's getting late.
Good night and thanks to everybody.
P.S. Just curious: What was the Bulldog about and why would I need to login?
Re: Boot problems on desktop computer
It's a minimal, busybox-based system embedded in initrd.MochiMoppel wrote:P.S. Just curious: What was the Bulldog about and why would I need to login?
You can get there on purpose by using basesfs=none boot option.
The login/password pair is the usual one: root/woofwoof.
@jamesbond: maybe we should add that info (login/password) to /etc/issue in init?
Greetings!
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Omnia mea mecum porto.
Re: Boot problems on desktop computer
I have a microSD with just a modified fatdog initrd with sshfs (that includes ssh, scp ...etc.) incorporated. Around 80MB size. With that I can boot with standard wireless net parameters defined and enter Bulldog (cli) with wifi net connection already available, remote sshfs mount a folder to /hb (I use hashbang as the server), sym link /hb/fd64.sfs to /fd64.sfs i.e. remote (via sshfs) ssh servers copy of fd64.sfs sym linked to the root folder of the initrd ... and then resume normal fatdog bootup. i.e. boots fatdog's fd64.sfs from a remote server.MochiMoppel wrote: ↑Sat Aug 29, 2020 12:29 pm P.S. Just curious: What was the Bulldog about and why would I need to login?
Useful for travelling around with. If your laptop has a empty or no HDD, and a microSD that you swallow if deemed appropriate, or just a single USB with a 80MB file that you're more than willing to open up/show etc. then you're less inclined to be repeatedly locked up for 2 weeks at a time pending you releasing "passwords" for obscure file contents/data where no such encryption even exists.
Some countries such as Iran look for 'victims' to detain as bartering/political pawns. If you're unfortunate enough to be crossing their border just as a 'prison' place has become free then the likes of a standard laptop (or phone) and any its content could be all the 'excuse' they need to have you transferred to that empty cell.
You could just buy the hardware/software in each country and not carry anything electronic over borders, but next best is a basic 'empty' hardware system, where all your data is stored/accessible remotely. Whilst my laptop has loads of stuff on it local HDD, that's all backed up to those remote systems, so prior to travel I just wipe the laptops HDD content and along with that microSD its good to go.
-
- Posts: 3842
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1632 times
- Been thanked: 526 times
Re: Boot problems on desktop computer
@MochiMoppel Here's an option that might help your diag along.
Create an DVD (or CD) from the ISO and boot to get messages that will show it working or get diagnosis.
Create an DVD (or CD) from the ISO and boot to get messages that will show it working or get diagnosis.
- MochiMoppel
- Posts: 1239
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 440 times
Re: Boot problems on desktop computer
Nah! If you do chew, make sure you get a anti-virus jab asap. From what I've heard, those that have ingested Windows based content have been known to turn blue and scream before dying - commonly referred to as BSoD syndrome.