-
Senior Member
registered user
Re: Can I reinstall win98 without wiping out knoppix hdd?

Originally Posted by
Harry Kuhman

Originally Posted by
turbine
I'm dual booting knoppix and win98 using boot floppy to bring up knoppix. My current win98 needs to be re-installed but I'm concerned that said installation will:
a: Fool with my mbr thereby eliminating any semblance of my knoppix install
Yup, I expect it will do that. You'll likely need to run lilo again....
Harry is being restrained here.
If Windows doesn't overwrite your MBR, then Microsoft wants to know about it, fast!
But that doesn't eliminate Knoppix by a long shot. Well, first of all, you're booting from a floppy - that will still work.
And LILO has three pieces - the one that gets installed to either the Master Boot Record or the Partition Boot Sector is only one of them, and it can be rebuilt with the other two very easily.
First, there's the LILO program itself. That's still there in your Knoppix partition. And so is its configuration file, /etc/lilo.conf. All ya gotta do is be in your Knoppix partition and, as root, type # lilo.
Now here's the beauty part of keeping your Knoppix CD around even after you've installed it to hard drive. Suppose your floppy stops working and Martians rewrite the MBR with gibberish. (In fact, NetBSD did just that to me a couple of days ago....)
You can boot from the CD, get into the Knoppix hard-drive partition, run LILO, and restore a multi-boot MBR. Suppose Knoppix is on partition hda2. You do this in a terminal window:
Code:
(CD)$ su
(CD)# mount [-o remount rw] /mnt/hda2
(CD)# chroot /mnt/hda2
(hda2)# lilo
(hda2)# exit
(CD)# reboot (or whatever)
You only use the part inside the [brackets] - but without the [ and ] - if you had the Knoppix CD automount the partition before you do this operation. Maybe you clicked on its icon on the desktop.
When you do that, Knoppix mounts hard-drive partitions as read-only, so you need to remount it with the option read/write. You can check to see what's mounted, and where and how, by typing the command $ mount with nothing after it.
But if you just boot the CD and go straight to a terminal window, you don't need the part in the brackets.
Hope this helps!
-- Ed
Similar Threads
-
By superoxide in forum General Support
Replies: 1
Last Post: 11-28-2007, 11:37 AM
-
By Josh83 in forum Hdd Install / Debian / Apt
Replies: 14
Last Post: 04-01-2005, 02:29 PM
-
By plzdontspamme in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 11-15-2004, 05:26 AM
-
By knophead in forum MS Windows & New to Linux
Replies: 12
Last Post: 09-25-2004, 12:26 PM
-
By benpark22 in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-17-2003, 07:49 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

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

Lenovo 00YK615 Intel X710-DA2 10GbE 2-port SFP+ PCI-E FC Network Adapter NIC
$27.99

Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED
$24.99

Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver
$30.00