-
Installing GRUB loader solved kernel panic after HD install
I have had this problem for over a year. I just succeeded in installing Knoppix 4.0.2. The solution for me was to install the GRUB loader.
My computer is a Microstar International MSI865GV Hetis (Intel 865GV chipset) with a 2.8GHz Pentium 4. I put a 160GB Seagate SATA drive and a Sony DRU-530A DVD writer in it. I have been running Windows XP and Knoppix 3.4 with the 2.4 kernel since I bought it in May of last year.
I installed Knoppix 4.0.2 to my hard disk and tried to boot resulting in the kernel panic. I tried a lot of command line options without success. Searching on the web I found some suggestions for changes to make to /boot/grub/menu.lst. I had Knoppix write the master boot record when it installed and the boot menu looked like what was in /etc/lilo.conf. There was a /boot/grub directory but no menu.lst file so I decided to try creating one and installing the GRUB loader.
I first created a GRUB boot floppy to test out the idea. I booted Knoppix from CD and followed directions I found in a Linux Journal article at http://www.linuxjournal.com/article/4622. I had a floppy that had already been formatted for msdos. I opened a root window and ran the following commands:
mount -t msdos /dev/fd0 /floppy
mkdir -p /floppy/boot/grub
cp /boot/grub/stage* /floppy/boot/grub
grub
grub> root (fd0)
grub> setup (fd0)
grub> quit
I booted from the floppy and at the grub> prompt typed the following commands (/dev/sda1 is my Windows XP partition, /dev/sda2 Knoppix)
grub> root (hd0,1)
grub> kernel /boot/vmlinuz root=/dev/sda2 ro vga=791 lang=us
grub> boot
Knoppix booted successfully
In Knoppix I created /boot/grub/menu.lst containing the following text
default 0
timeout=5
title Knoppix 4.0.2 (2.6.12)
root (hd0,1)
kernel /boot/vmlinuz ro root=/dev/sda2 screen=1280x1024 depth=24 lang=us
initrd /boot/initrd.img-2.6.12
title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
The three lines after each title line are indented a couple spaces in the file but they aren't showing up in the preview.
I ran grub
grub
grub> root (hd0,1)
grub> setup (hd0)
grub> quit
I rebooted my machine and selected Knoppix. It booted up to the login screen.
Similar Threads
-
By kene in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 11-03-2005, 12:36 AM
-
By ses182 in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 09-21-2005, 04:07 PM
-
By adamherb in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 01-03-2005, 07:22 PM
-
By nmz787 in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 11-21-2004, 09:17 AM
-
By misagh in forum Hdd Install / Debian / Apt
Replies: 9
Last Post: 03-11-2003, 12:54 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver
$1500.00

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

Cisco 8-Port Ethernet Catalyst Switch - WS-C2960C-8TC-L - Brand New
$50.00

Cisco Catalyst 2960x (WS-C2960X-48FPD-L) 48 Port POE Rack Mount Switch Brand New
$399.99

Lot of 10 Cisco Meraki MS130-48P-HW 48-Port Gigabit PoE+ Cloud Manage UNCLAIMED
$22000.00

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

Cisco Catalyst C9500-48Y4C-A 48 Port 25 Gigabit SFP28 Switch READ DESC.
$4199.00

Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch
$439.00

Cisco Catalyst WS-C2960+24TC-S 24-Port Gigabit Managed SFP Switch
$39.99

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New
$101.99