What do you do when failsafe or testcd won't even boot?
PC: HP Pavilion a705w Celeron 2.9GHz 786MB MS-6577 mATX rev 4.0 (aka Giovani2) i845GV chipset
added nVidia PCI video (set in BIOS as primary) eVGA 4000 MX 128MB
CD: Knoppix 3.8.2-EN (md5 verified CD ok on another PC and other pc was able to boot CD)
BIOS is set up allow CD bootup before HD. PnPOS=no. HP had BIOS update for this model which I thought may help, but it only made things worse it seems.
I receive the Autoconfig bar going across, gets to 100%, cursor jumps to next line (left side as normal), cursor jumps to middle of line, no activity from PC cursor still blinking. This using failsafe. with other cheatcodes the cursor stops blinking. Without the noapm I have to unplug the PC to turn it off for another go at a test.
I've tried:
1) knoppix noapic noagp noscsi nopcmcia acpi=off nousb pci=bios
2) knoppix noaudio nodma mem=256M pci=bios pnpbios=off acpi=off nousb2 noscsi nousb nofirewire nopcmcia noapic noapm noagp xmodule=nv
3) knoppix noaudio nodma mem=256M pci=bios pnpbios=off acpi=off nousb2 noscsi nousb nofirewire nopcmcia noapic noapm noagp xmodule=vesa
4) knoppix testcd (locked up on a blank screen just after it loaded linux.gz vmlinux files and cleared the screen)
5) failsafe
I've never been able to get knoppix or any other linux distro to boot in this PC. Any ideas would be greatly appreciated with the exception of "get rid of that piece of crap and get a real computer" which unfortunately is not an option.
Re: What do you do when failsafe or testcd won't even boot?
Quote:
Originally Posted by Drax946
PC: HP Pavilion a705w Celeron 2.9GHz 786MB MS-6577 mATX rev 4.0 (aka Giovani2) i845GV chipset
added nVidia PCI video (set in BIOS as primary) eVGA 4000 MX 128MB
I've tried:
1) knoppix noapic noagp noscsi nopcmcia acpi=off nousb pci=bios
2) knoppix noaudio nodma mem=256M pci=bios pnpbios=off acpi=off nousb2 noscsi nousb nofirewire nopcmcia noapic noapm noagp xmodule=nv
3) knoppix noaudio nodma mem=256M pci=bios pnpbios=off acpi=off nousb2 noscsi nousb nofirewire nopcmcia noapic noapm noagp xmodule=vesa
Why are you telling the kernel there are 256M when there are 786M?
A couple of more options to try:
1) boot: knoppix -b
2) boot: knoppix init=/bin/bash
Hopefully, the first one will work. If not, try the second.
Regards,
- Robert
http://www.cwelug.org/
Re: What do you do when failsafe or testcd won't even boot?
Quote:
Originally Posted by rwcitek
Why are you telling the kernel there are 256M when there are 786M?
A couple of more options to try:
1) boot: knoppix -b
2) boot: knoppix init=/bin/bash
Hopefully, the first one will work. If not, try the second.
Regards,
- Robert
http://www.cwelug.org/
The example was 128M and I wasn't sure how much would be taked up by the RAMDisk, so 256M seemed a better choice than the example 128M.
Tried both the "-b" and the "init=/bin/bash" with a resulting empty black screen and a system freeze/hang at that point for each tried individually.
I tried a suggestion from another thread, you may have posted it that included "nomce nosmp" which I added to the list of cheatcodes I first posted. These didn't work either.
I did notice that my floppy drive light comes on during the end of the AutoConfig and doesn't go out until I turn the PC off (Ctrl-Alt-Del doesn't work in any of the cases).
I'm wondering if there is a **full** list of cheatcodes somewhere which holds the answer?
Re: What do you do when failsafe or testcd won't even boot?
Quote:
Originally Posted by Drax946
Tried both the "-b" and the "init=/bin/bash" with a resulting empty black screen and a system freeze/hang at that point for each tried individually.
It is possible that your machine has a tough time with your burned CD. But for fun, try one more option: boot: failsafe -b 1 You should get a prompt that ends with " ... normal startup):" Just press Enter and you should get a bash shell prompt that says: root@console[~]# This is the "emergency mode" prompt. Do you get that prompt? To restart, press the reset switch or power switch on your machine.
Quote:
Originally Posted by Drax946
I'm wondering if there is a **full** list of cheatcodes somewhere which holds the answer?
There are several places to find cheatcodes, including the CD iteself, but I don't know if any of them are "full". The one I like is on the wiki page: http://www.knoppix.net/wiki/Cheat_Codes
Regards,
- Robert
http://www.cwelug.org/
Re: What do you do when failsafe or testcd won't even boot?
Quote:
Originally Posted by rwcitek
Quote:
Originally Posted by Drax946
Tried both the "-b" and the "init=/bin/bash" with a resulting empty black screen and a system freeze/hang at that point for each tried individually.
It is possible that your machine has a tough time with your burned CD. But for fun, try one more option:
boot: failsafe -b 1 You should get a prompt that ends with " ... normal startup):" Just press Enter and you should get a bash shell prompt that says:
root@console[~]# This is the "emergency mode" prompt. Do you get that prompt? To restart, press the reset switch or power switch on your machine.
Quote:
Originally Posted by Drax946
I'm wondering if there is a **full** list of cheatcodes somewhere which holds the answer?
There are several places to find cheatcodes, including the CD iteself, but I don't know if any of them are "full". The one I like is on the wiki page:
http://www.knoppix.net/wiki/Cheat_Codes
Regards,
- Robert
http://www.cwelug.org/
I was able to get to the prompt as you said using both "failsafe -b 1" and "failsafe -b" using the steps you provided.
It seems that the cheatcodes on the wiki and the CD combined may makeup the full list possibly? I don't recall seeing noddc on the wiki or the CD, but it is in the boot option "F3".
Re: What do you do when failsafe or testcd won't even boot?
Quote:
Originally Posted by Drax946
I was able to get to the prompt as you said using both "failsafe -b 1" and "failsafe -b" using the steps you provided.
It seems that the cheatcodes on the wiki and the CD combined may makeup the full list possibly? I don't recall seeing noddc on the wiki or the CD, but it is in the boot option "F3".
That's great news that failsafe -b worked. That means that Knoppix can enter "emergency mode" and that the 2.6 kernel does indeed work on your machine. It also means that one or more of the failsafe cheatcodes are needed to boot the machine. I'll try to find them and post them.
The next step is to try failsafe 1, which will put Knoppix in Runlevel 1. You'll know your in runlevel 1 when you get a prompt root@tty1[/]#. From what you've described before, I don't think this will work, but it's worth confirming. If failsafe 1 does not work, then the problem is in one of the /etc/rc* scripts. If failsafe 1 does work, then you know that your /etc/rc* script are OK, at least for runlevel 1.
BTW, do you have another machine next to the machine that is connected to the Internet? If so, then we could do some troubleshooting over IRC. I believe there's a knoppix channel. Will have to look later.
Regards,
- Robert
http://www.cwelug.org/
Re: What do you do when failsafe or testcd won't even boot?
Quote:
Originally Posted by rwcitek
The next step is to try
failsafe 1, which will put Knoppix in Runlevel 1. You'll know your in runlevel 1 when you get a prompt
root@tty1[/]#. From what you've described before, I don't think this will work, but it's worth confirming. If
failsafe 1 does not work, then the problem is in one of the /etc/rc* scripts. If
failsafe 1 does work, then you know that your /etc/rc* script are OK, at least for runlevel 1.
BTW, do you have another machine next to the machine that is connected to the Internet? If so, then we could do some troubleshooting over IRC. I believe there's a knoppix channel. Will have to look later.
Regards,
- Robert
http://www.cwelug.org/
"failsafe 1" didn't work as you predicted it wouldn't. It seems to freeze or lockup at the same point after the Autoconfig bar does its dance across the screen and is done, advance one line, jump to the center of the line and sit there.
Unfortunately I don't have a 2nd PC handy, but the assistance is much appreciated!
Re: What do you do when failsafe or testcd won't even boot?
Quote:
Originally Posted by Drax946
"failsafe 1" didn't work as you predicted it wouldn't. It seems to freeze or lockup at the same point after the Autoconfig bar does its dance across the screen and is done, advance one line, jump to the center of the line and sit there.
I suspect the program hwsetup is causing the problem. hwsetup is called from the script /etc/init.d/knoppix-autoconfig. For some background on the linux boot process and boot parameters, type man boot and man bootparam. To pause at the various boot stages, try boot: debug -b 1. In debug mode, knoppix pauses allowing you to change or examine things before proceeding to the next stage. One more thing to try is the nohwsetup cheatcode. I discovered that cheatcode by grepping throught the knoppix-autoconfig file: grep -i bootparam /etc/init.d/knoppix-autoconfig. I just added it to the wiki: http://www.knoppix.net/wiki/Cheat_Codes
Quote:
Originally Posted by Drax946
Unfortunately I don't have a 2nd PC handy, but the assistance is much appreciated!
Bummer about not having a 2nd machine. Hope the assistance helps.
Regards,
- Robert
http://www.cwelug.org/
Re: What do you do when failsafe or testcd won't even boot?
Quote:
Originally Posted by rwcitek
I suspect the program
hwsetup is causing the problem.
hwsetup is called from the script
/etc/init.d/knoppix-autoconfig. For some background on the linux boot process and boot parameters, type
man boot and
man bootparam. To pause at the various boot stages, try
boot: debug -b 1. In debug mode, knoppix pauses allowing you to change or examine things before proceeding to the next stage. One more thing to try is the
nohwsetup cheatcode. I discovered that cheatcode by grepping throught the knoppix-autoconfig file:
grep -i bootparam /etc/init.d/knoppix-autoconfig. I just added it to the wiki:
http://www.knoppix.net/wiki/Cheat_Codes
Bummer about not having a 2nd machine. Hope the assistance helps.
Regards,
- Robert
http://www.cwelug.org/
Adding the nohwsetup to the wiki was definitely a good idea! Before using this cheatcode I could only get some action in the bootup by using failsafe, everything else seemed to just lockup/freeze immediately at a black screen, after Linux kernel was uncompressed and booting, or after the autoconfiguring devices was done with the line down then center. Using "nohwsetup" I was able to use "knoppix" bootparam for the first time and get somewhere!
debug -b 1 = blank screen, says something like: uncompressing kernel "starting to boot kernel", hang/freeze/lockup after the line.
failsafe nohwsetup = boots up in X with nomouse working, ctrl-alt-F2 to get to a prompt to look around and "shutdown -r now" went fine.
knoppix nohwsetup acpi=off = boots up in X with no network possibly no other things too, but the mouse works!
knoppix nohwsetup = blank screen immediate hang/freeze/lockup
I was using the problem BIOS list: "acpi=off noapic pci=bios", but was able to eliminate the last 2 as not needed for the PC. I'd like to try "knoppix nohwsetup testcd" just to see if it will work. I forgot that before I started posting.
I found several other synonyms for some of the bootparms in the same file you mentioned: "idecd" = "atapicd", "nosound" = "noaudio", "floppyconfig" = "floppyconf". It looks as though "myconfig", "floppyconf", "custom" and "config" all take you to the same places but I didn't confirm this. The "nodhcp" bootparam is pretty obvious, but "nomkxf86config" from name alone seems to not configure X?
Robert, you have been a very big help! Not knowing very much about Knoppix, I was really stuck hard and fast!
Now I guess the corrective action so others don't have this problem would be to tear apart "hwsetup" to see where things get dicey. At least now I can boot things up and look around!
-edit: from a quick google on knoppix hwsetup I found where others are also having problems with this program.
-edit: "knoppix nohwsetup acpi=off testcd" works and the cd tested ok.