-
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
![Vintage Apple Mouse Pad Original Garamond Type Logo Nice - 9 x 7 picture](/store/img/g/0roAAOSwL39mg~aD/s-l225/Vintage-Apple-Mouse-Pad-Original-Garamond-Type-Log.jpg)
Vintage Apple Mouse Pad Original Garamond Type Logo Nice - 9 x 7
$2.99
![Vintage Dot Matrix Printer Contin Feed Paper 8.5 x 11. Lots of 5 to 250 sheets. picture](/store/img/g/498AAOSwJTdl1MqH/s-l225/Vintage-Dot-Matrix-Printer-Contin-Feed-Paper-8-5-x.jpg)
Vintage Dot Matrix Printer Contin Feed Paper 8.5 x 11. Lots of 5 to 250 sheets.
$4.00
![Vintage FX-3D ISA Sound card picture](/store/img/g/-5QAAOSwNY5mg2~j/s-l225/Vintage-FX-3D-ISA-Sound-card.jpg)
Vintage FX-3D ISA Sound card
$19.99
![Vintage 1981 APPLE II Computer Reference Manual + Addendum picture](/store/img/g/iJoAAOSw9S9mg~ZT/s-l225/Vintage-1981-APPLE-II-Computer-Reference-Manual-Ad.jpg)
Vintage 1981 APPLE II Computer Reference Manual + Addendum
$22.85
![Compton's Interactive Encyclopedia 1996 (Vintage PC CD-ROM, 1996) With Box picture](/store/img/g/p90AAOSwpgdjklXW/s-l225/Compton-s-Interactive-Encyclopedia-1996-Vintage-PC.jpg)
Compton's Interactive Encyclopedia 1996 (Vintage PC CD-ROM, 1996) With Box
$5.95
![Vintage CMD Creative Micro Design C64/C128 Product Catalog picture](/store/img/g/2QQAAOSwpwdmfxe~/s-l225/Vintage-CMD-Creative-Micro-Design-C64-C128-Product.jpg)
Vintage CMD Creative Micro Design C64/C128 Product Catalog
$6.00
![NEW VINTAGE ASUS 5 IN 1 AT MOBO CABLE SET: FLOPPY, IDE, 2 9PIN SERIAL 1 PAR RM1 picture](/store/img/g/acgAAOSw8o5fRr13/s-l225/NEW-VINTAGE-ASUS-5-IN-1-AT-MOBO-CABLE-SET-FLOPPY-I.jpg)
NEW VINTAGE ASUS 5 IN 1 AT MOBO CABLE SET: FLOPPY, IDE, 2 9PIN SERIAL 1 PAR RM1
$9.95
![VINTAGE 1996 Egghead KeyTronic Keyboard NEW IN BOX picture](/store/img/g/FGgAAOSwljpmgD09/s-l225/VINTAGE-1996-Egghead-KeyTronic-Keyboard-NEW-IN-BOX.jpg)
VINTAGE 1996 Egghead KeyTronic Keyboard NEW IN BOX
$20.00
![Epson MBM-2095-E Vintage Monochrome Monitor (Does not Turn On) picture](/store/img/g/RWQAAOSwCFNlt-Ff/s-l225/Epson-MBM-2095-E-Vintage-Monochrome-Monitor-Does-n.jpg)
Epson MBM-2095-E Vintage Monochrome Monitor (Does not Turn On)
$105.99
![Vintage PCMCIA Notebook TV PCMCIA Card Video Capture Coaxial Adapter Win95 Win98 picture](/store/img/g/1vwAAOSwyFtmfuVw/s-l225/Vintage-PCMCIA-Notebook-TV-PCMCIA-Card-Video-Captu.jpg)
Vintage PCMCIA Notebook TV PCMCIA Card Video Capture Coaxial Adapter Win95 Win98
$140.00