-
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
![TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D picture](/store/img/g/rvkAAOSwZBBi5CPU/s-l225/TP-Link-24-Port-Gigabit-Ethernet-Unmanaged-Switch-.jpg)
TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D
$69.99
![Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch picture](/store/img/g/BUMAAOSwtOFjdfzi/s-l225/Loocam-Gigabit-PoE-Switch-8-Port-96W-2-Uplink-Port.jpg)
Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch
$49.99
![Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED picture](/store/img/g/kjQAAOSwNkhj0o7Y/s-l225/Fortinet-FortiSwitch-FS-124D-POE-24-Port-Gigabit-E.jpg)
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97
![Aruba 2530-24G 24-Port Gigabit Ethernet Managed Network Switch J9776A picture](/store/img/g/ntIAAOSwM21mewkv/s-l225/Aruba-2530-24G-24-Port-Gigabit-Ethernet-Managed-Ne.jpg)
Aruba 2530-24G 24-Port Gigabit Ethernet Managed Network Switch J9776A
$50.00
![NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter picture](/store/img/g/GtAAAOSw441l3Jx1/s-l225/NETGEAR-GS108-ProSafe-8-Port-GbE-Unmanaged-Switch-.jpg)
NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter
$14.99
![Dell X1026P E11W 24-Port PoE Smart Managed Gigabit Ethernet Switch 2X SFP picture](/store/img/g/KhoAAOSwVqZmUJTH/s-l225/Dell-X1026P-E11W-24-Port-PoE-Smart-Managed-Gigabit.jpg)
Dell X1026P E11W 24-Port PoE Smart Managed Gigabit Ethernet Switch 2X SFP
$25.00
![Dell X1052P Series 52-Port Gigabit Rack Mountable Managed Network Switch picture](/store/img/g/IjQAAOSwqrVmUJen/s-l225/Dell-X1052P-Series-52-Port-Gigabit-Rack-Mountable-.jpg)
Dell X1052P Series 52-Port Gigabit Rack Mountable Managed Network Switch
$30.00
![New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub picture](/store/img/g/QyIAAOSwTM5Y5YBC/s-l225/New-10-100-Mbps-8-Ports-Fast-Ethernet-LAN-Desktop-.jpg)
New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub
$11.49
![BrosTrend 8-Port 2.5G Ethernet Switch Multi-Gigabit Unmanaged Network Switch picture](/store/img/g/9JMAAOSw33tmeZ1P/s-l225/BrosTrend-8-Port-2-5G-Ethernet-Switch-Multi-Gigabi.jpg)
BrosTrend 8-Port 2.5G Ethernet Switch Multi-Gigabit Unmanaged Network Switch
$68.95
![Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch picture](/store/img/g/-yUAAOSw-JVlyRj9/s-l225/Dell-X1018-X-Series-Smart-Managed-Switches-16-Port.jpg)
Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch
$42.00