Results 1 to 6 of 6

Thread: swapping boot partitions

  1. #1
    Member registered user
    Join Date
    Jul 2003
    Posts
    37

    swapping boot partitions

    Hello all,

    I realized recently that when I installed knoppix it defaulted everything, including the boot stuff to hda3. (I created a 100mg boot partition which is unused, and a 500mg swap partition which is being used). So how do I transfer my boot files to the first partition? I know that I'll have to edit lil.conf to point to hda1 but that's about all I know.

    Thanks.

  2. #2
    Junior Member
    Join Date
    Aug 2003
    Location
    Vancouver Canada eh!
    Posts
    7
    This worked for me.
    do a su

    mount destination by
    mount /dev/hdax /mnt/hdax
    "x" being the destination partition

    cd to current boot directory
    cd /boot

    copy the folder
    cp -Rp * /mnt/hdax
    "x" being the destination again

    edit fstab
    mcedit /etc/fstab

    add the line
    /dev/hdax /boot auto rw,auto,user,exec 0 0
    "x" the destination again

    change the line in lilo.conf "/etc/lilo.conf" to
    boot=/dev/hdax
    that "x" again

    run lilo
    lilo -C lilo.conf

    reboot
    i use gag to select the partition i want to boot.
    good luck

  3. #3
    Junior Member
    Join Date
    Aug 2003
    Location
    Vancouver Canada eh!
    Posts
    7
    sorry i didn't read your discription carefully

    hdax
    should be
    hda1

    hda1 being the new boot folder

  4. #4
    Member registered user
    Join Date
    Jul 2003
    Posts
    37
    Thanks greatly. I couldn't ask for a more concise answer

    What did you mean you use gag to select your boot partition?

    Thanks again.

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: swapping boot partitions

    --FYI, 100meg for a /boot partition is way overkill. 8-16Meg should be plenty.

    Quote Originally Posted by ferreter
    Hello all,

    I realized recently that when I installed knoppix it defaulted everything, including the boot stuff to hda3. (I created a 100mg boot partition which is unused, and a 500mg swap partition which is being used). So how do I transfer my boot files to the first partition? I know that I'll have to edit lil.conf to point to hda1 but that's about all I know.

    Thanks.

  6. #6
    Junior Member
    Join Date
    Aug 2003
    Location
    Vancouver Canada eh!
    Posts
    7
    Quote Originally Posted by ferreter
    Thanks greatly. I couldn't ask for a more concise answer

    What did you mean you use gag to select your boot partition?


    Thanks again.
    I have multiple operating systems
    eg.
    hda1: swap
    hda2: windows xp
    hda3: linux boot
    hda5: linux boot
    hda6: linux boot
    hda7: knoppix
    hda8: yoper
    hda9: testing (slackware at the moment)

    gag http://gag.sourceforge.net/
    is a boot manager that easily lets you select a os to load
    check it out. it is very easy to use, edit and config.
    by putting lilo in the separate partitions instead the mbr you just config gag to select
    hda3 for example and it will load lilo from hda3 and knoppix.
    or hda5 to load yoper etc.....

    have fun!
    jaws75

Similar Threads

  1. swapping hard disks between 2 boxes
    By masticate in forum Hardware & Booting
    Replies: 3
    Last Post: 05-01-2005, 04:37 PM
  2. Swapping mouse buttons in x86config-4
    By SunnyB in forum Hardware & Booting
    Replies: 0
    Last Post: 03-31-2004, 02:42 PM
  3. Swapping CD's under Knoppix
    By mrmr96 in forum General Support
    Replies: 4
    Last Post: 03-07-2004, 04:27 AM
  4. HD install to partitions (e.g. /boot /usr /home)
    By speedy in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 12-24-2003, 02:35 AM
  5. Swapping video cards, suggestions, thoughts.....
    By stukennedyuk in forum Hardware & Booting
    Replies: 2
    Last Post: 11-28-2003, 07:00 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



Dell Precision T3600 | Xeon E5 | 16GB | GPU | 128GB SSD | Win 10 Pro picture

Dell Precision T3600 | Xeon E5 | 16GB | GPU | 128GB SSD | Win 10 Pro

$115.00



CISCO MCS 7800 (2x) Intel Xeon @ 2.33 GHz 4GB Ram, NO HDD picture

CISCO MCS 7800 (2x) Intel Xeon @ 2.33 GHz 4GB Ram, NO HDD

$44.99



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3 picture

Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3

$17.99



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$44.99



Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5 picture

Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5

$46.00



INTEL XEON GOLD 6148 PROCESSOR | 2.40GHZ | SR3B6 picture

INTEL XEON GOLD 6148 PROCESSOR | 2.40GHZ | SR3B6

$99.99



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98