-
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.
-
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
-
sorry i didn't read your discription carefully
hdax
should be
hda1
hda1 being the new boot folder
-
Thanks greatly. I couldn't ask for a more concise answer ![Very Happy](images/smilies/icon_biggrin.gif)
What did you mean you use gag to select your boot partition?
Thanks again.
-
Senior Member
registered user
Re: swapping boot partitions
--FYI, 100meg for a /boot partition is way overkill. 8-16Meg should be plenty.
![Quote](images/misc/quote_icon.png)
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.
-
![Quote](images/misc/quote_icon.png)
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
-
By masticate in forum Hardware & Booting
Replies: 3
Last Post: 05-01-2005, 04:37 PM
-
By SunnyB in forum Hardware & Booting
Replies: 0
Last Post: 03-31-2004, 02:42 PM
-
By mrmr96 in forum General Support
Replies: 4
Last Post: 03-07-2004, 04:27 AM
-
By speedy in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 12-24-2003, 02:35 AM
-
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
-
Forum Rules
![Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch, no module picture](/store/img/E0cAAOSwNzxmPkm2/s-l225//Cisco-Catalyst-C9300-24UX-A-24-Port-10G-mGig-UPOE-.jpg)
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch, no module
$324.97
![Cisco Nexus 9300 48-Port 25GbE SFP 6x100GbE QSFP Switch P/N: N9K-C93180YC-EX picture](/store/img/1RkAAOSwPABmkW20/s-l225//Cisco-Nexus-9300-48-Port-25GbE-SFP-6x100GbE-QSFP-S.jpg)
Cisco Nexus 9300 48-Port 25GbE SFP 6x100GbE QSFP Switch P/N: N9K-C93180YC-EX
$499.99
![Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch picture](/store/img/d3AAAOSw35dlrsCo/s-l225//Cisco-Nexus-N9K-C92160YC-X-48P-25GbE-SFP28-6P-QSFP.jpg)
Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch
$475.00
![Cisco WS-C3850-12X48U-L 48 Port 10/100/1000 Modular Uplink Switch-Same Day Shipp picture](/store/img/lBwAAOSwI~9lEfW-/s-l225//Cisco-WS-C3850-12X48U-L-48-Port-10-100-1000-Modula.jpg)
Cisco WS-C3850-12X48U-L 48 Port 10/100/1000 Modular Uplink Switch-Same Day Shipp
$198.99
![GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture](/store/img/tAkAAOSwdENkHItI/s-l225//GENUINE-Cisco-SFP-10G-SR-V03-SFP-GBIC-Transceiver-.jpg)
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
![Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture](/store/img/yEAAAOSwxVReIhma/s-l225//Cisco-C3850-NM-2-10G-2-Port-Network-Exp-Module-for.jpg)
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$30.99
![C9300-NM-8X CISCO Catalyst 9300 8 x 10GE Network Module picture](/store/img/GjUAAOSwA~BmkDOd/s-l225//C9300-NM-8X-CISCO-Catalyst-9300-8-x-10GE-Network-M.jpg)
C9300-NM-8X CISCO Catalyst 9300 8 x 10GE Network Module
$235.80
![C3850-NM-4-1G CISCO Catalyst 3850 4 x 1GE Network Module 73-12735-07 V01 picture](/store/img/a-AAAOSwg-lmkWOx/s-l225//C3850-NM-4-1G-CISCO-Catalyst-3850-4-x-1GE-Network-.jpg)
C3850-NM-4-1G CISCO Catalyst 3850 4 x 1GE Network Module 73-12735-07 V01
$11.60
![Cisco ASR 901 Aggregation Services Router A901-12C-FT-D picture](/store/img/mFkAAOSw4uhmRLaN/s-l225//Cisco-ASR-901-Aggregation-Services-Router-A901-12C.jpg)
Cisco ASR 901 Aggregation Services Router A901-12C-FT-D
$59.99
![Cisco C9300-48U-A Catalyst 9300 Series 48-Port UPOE 1x PWR-C1-1100WAC picture](/store/img/YmwAAOSwexpjM1g8/s-l225//Cisco-C9300-48U-A-Catalyst-9300-Series-48-Port-UPO.jpg)
Cisco C9300-48U-A Catalyst 9300 Series 48-Port UPOE 1x PWR-C1-1100WAC
$584.00