-
Installing Knoppix on hard drive
Hi,
I am trying knoppix for the first time. I like the way it configured
itself on my machine. This made me want to install it to the hard
drive.
I have an old AMD Duron 800 with SIS 630. When booting from the CD, I
had to specify the xvrefresh=75 and screen=1024x768 for it to come up
properly, otherwise it failed (screen was not visible).
Also because of the shared memory for the video card, I need to
specify the mem= on the boot options as well.
After I got through these problems, the CD-based session worked well.
I currently have a dual boot between Debian Woody and Windows XP. I
want to replace Debian with Knoppix. knx-hdinstall seems to use only
two partitions (swap and root), so the partitioning scheme that I had
created for debian could not be used. I just chose one of the large
partitions for the root filesystem and proceeded.
I think lilo had problems, but I couldn't read any error messages as
the hdinstaller went to the next step immediately.
Upon booting, I still saw the "old" lilo screen from my debian
installation. Needless to say, choosing one of those options failed
miserably.
I rebooted with the knoppix CD and tried to run lilo by hand. I
mounted the filesystem that I had installed as the root filesystem
through "mount -o rw /mnt/hdb6". Then I did "cd /mnt/hdb6; chroot ."
All this seemed to work fine. I could see the /etc/lilo.conf (in
/mnt/hdb6) having the boot device as /dev/hdb. I tried running lilo -
it says "Fatal: cannot open /dev/hdb". I tried changing it to /dev/hda
with the same results.
What can I do to proceed?
Thanks,
Sridhar
-
I rebooted with the knoppix CD and tried to run lilo by hand. I
mounted the filesystem that I had installed as the root filesystem
through "mount -o rw /mnt/hdb6". Then I did "cd /mnt/hdb6; chroot ."
All this seemed to work fine. I could see the /etc/lilo.conf (in
/mnt/hdb6) having the boot device as /dev/hdb. I tried running lilo -
it says "Fatal: cannot open /dev/hdb". I tried changing it to /dev/hda
with the same results.
The problem was that chroot didn't have access to the same mounts that the CD did.
So, here's how I solved this problem:
I changed the boot device to /dev/hda as mentioned above.
Then I moved /boot to /boot.old, ln -s /mnt/hdb6/boot /boot
lilo -C /mnt/hdb6/etc/lilo.conf then works fine.
Note: if you have to add any kernel parameters to the boot, you should edit lilo.conf before running lilo.
Sridhar
-
Senior Member
registered user
Glad you got it working. But actually all you had to do was boot your new install with the boot floppy and run LILO. Oh and BTW - although Knoppix won't install to your original partition scheme it certainly can be made to use it after installation. Simply copy the respective directories to their new partitons, make sure everything points to the new locations and you're set.
Similar Threads
-
By linuxnewbie01 in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-12-2005, 03:55 AM
-
By Bubba in forum General Support
Replies: 3
Last Post: 10-17-2004, 06:19 PM
-
By DimGR in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 04-30-2004, 06:39 PM
-
By stupidkid in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 09-28-2003, 06:59 AM
-
By Andy from Somerset in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 06-23-2003, 07:31 PM
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
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox
$340.00
DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45
$274.00
Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB
$510.00
Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD
$79.19
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
Dell Emc R750 Computer Poweredge edge racked server.
$750.00
Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu
$135.00
Dell PowerEdge R730 Server 2x E5-2670v3 2.30Ghz 24-Core 128GB H730
$411.75
Dell PowerEdge R720 Server | 2x E5-2660 2.2GHz | 128GB Ram | 1.2TB HDD | H710P
$179.00
DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45
$360.00