Results 1 to 4 of 4

Thread: move HD installed to another machine

  1. #1
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276

    move HD installed to another machine

    Hi. Please keep in mind - linux noob Have a hd install debian style of knoppix 3.3 2-16-04. I have been running it on a separate old maxtor drive on my main 98 machine. For when 3.4 comes "out" I have purchased a new drive to put in this main box for it and would like to move the maxtor with knoppix 3.3 to my spare machine. I understand that knoppix will move right along and redetect the new hardware in the spare box no prob, I have had a knoppix install on there and it was ok with the hardware. But this maxtor will be slave to, again, a 98 master disk on primary channel. How do I go about reconfiguring Lilo to make it's new home a dual boot? Presently, I have lilo as boot loader and it is located on the main machine's primary hard drive. Your expertise is much appreciated, I can handle cfdisk and fdisk fine to rewrite mbr but I am at a loss as to how to rewrite the Lilo on the spare machine without going through a fresh hd install.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    i have never used knoppix for this.
    hmm, a guess.
    put the disk in the new machine, but boot it with a knoppix cd, remount the hd rw.
    now edit the /etc/lilo.conf to show the right disk as the one to be written to.
    it is mainly the line
    boot = /dev/hda
    thatneeds changing, and perhaps it would be a good thing to coment out the lines for the now non existent Win install (that is put a # infront of each line)

    that would look something like this

    # DOS bootable partition config begins
    #other = /dev/hda1
    # label = win98
    # table = /dev/hda
    # DOS bootable partition config ends
    now do a
    Code:
    chroot /dir/where/installed_root/is/mounted
    then do a
    Code:
     /sbin/lilo
    . now it should boot ok. you may have to edit /etc/fstab and a few other config files.
    that is coment out the second hdd that was present in the other computer...
    if you wan detailed advice it would be good if you posted the /etc/fstab, /etc/lilo.conf, the output of fdisk -l and dmesg |grep hd. and ofcource all error messages would help
    OE
    oh a few comands that you might find usefull.

    mount -o remount,rw /mnt/hdXY (X and Y should be replaced with what is apropriate for you)
    and perhaps it would be a good thing if you knew that exit allows you to leave chroot.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    276
    thank you, OE, for the tips. In its new home, Knoppix 3.3 will be slave to a 98 disk with 2 partitions as opposed to slaving to a 98 disk with 3 partitions now. Speaking of slave, I have really slaved myself :P over this install and would like to keep it intact to mess it up while learning how to mess up 3.4 when it gets here. All my windows drives are imaged and backed up on CDs so I don't really fear for them (still too many apps I need doze for, right now especially with work) I just love knoppix even though it may not be the easiest distro (HD installed) for a newbie to learn on. Could anyone point me to a noob-friendly tutorial on Lilo?

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    sadly not noob friendly. the best way to lern lilo is reading the lilo howto at
    http://www.tldp.org/
    to be exact. thigs one
    http://www.tldp.org/HOWTO/LILO.html
    feel free to ask here, i will do my best to help, as wil several others i bet.
    if you look at the amount of trafic on this tread you see that it is not just us two that are interested, 43 visits, so just keep asking, others may learn without having to ask.

Similar Threads

  1. Knoppix -> Debian -> MOVE!
    By RoyalMail in forum General Support
    Replies: 10
    Last Post: 10-11-2004, 05:27 PM
  2. Help me! How to move KNOPPIX into my HDD?
    By Coorme in forum General Support
    Replies: 2
    Last Post: 07-13-2004, 07:14 AM
  3. how to move home directory
    By alfix in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-03-2004, 10:32 AM
  4. How to move from a A HDD Partition to another?
    By Wishmaster in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 08-23-2003, 07:05 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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$712.98



Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays

$1849.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R830 Server E5-4627 V4 No RAM NO HDDs. READ picture

Dell PowerEdge R830 Server E5-4627 V4 No RAM NO HDDs. READ

$499.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00