Lost Install


Forum: HD Install
Topic: Lost Install
started by: RoGuE_StreaK

Posted by RoGuE_StreaK on Feb. 15 2004,03:29
I had DSL running fine on my laptop, dual boot with WinME, but then something went wrong with windows, and somewhere in my attempts to rectify it I lost LILO.
After reinstalling windows, I tried several different ways of getting LILO back on, but nothing worked.  Booting from the live CD, I can still see my DSL directories on /hda6, but when I made a boot disk, it's search failed to find the system!!  : (
Is there something I'm missing?
If for some reason it's stuffed and I need to reinstall, is there any way I can back up my previous install, kinda merge it with the new one, because there's several hours worth of apt-get downloads installed and I'd prefer not having to download everything again!?
Could I somehow tar it and save it on my windows data drive? (Instructions on how to do this would be most appreciated!)

Posted by Rapidweather on Feb. 15 2004,04:09
This isn't going to be all you need, but here goes:
Windows will overwrite the master boot record when it is installed, so
there goes lilo.
Normally, on a real linux system, you just cd to /sbin and
#lilo -v -v -v
and lilo should be rewritten to the mbr. Also, look for your /etc/lilo.conf
file, it will point to the /dev/hda5 where you have your root directory.
I have not done a real hard drive install of DSL, I have gotten caught up in my
< http://www.angelfire.com/ms/telegram/general_howto >
which is a hard drive install that does not actually put the DSL linux files on
the drive, but keeps them in /knoppix and in your restore tarball. I love to
fool with that kind of DSL installation, in the quest for speed, and to keep
that &*#$)@ cdrom drive quiet.
---
If you have a fairly fast hard drive, then the install described in the howto
can outrun running DSL off the cdrom drive. Outdoes Windows, which makes
the hard drive work to keep running. DSL keeps everything quiet and cool.
----
There are times when you have to boot off the cdrom drive, especially when
you need to modify or change files in the windows partition.
If you have /knoppix in the windows partition, with the filetool.sh script,
that partition becomes /cdrom in the booted DSL filesystem, and you cannot write to it.
I'm trying to use a slave hard drive right now to boot from, partitioned into
three partitions, one for /knoppix and filetool.sh, one for the backup tarball
and filetool.lst, and a nice swap partition, (not needed on fast machines).
----
Maybe others will jump in here and give us more on the real hd install of
DSL.
---
 :D

Posted by Modrak on Feb. 15 2004,21:36
edit the /etc/lilo.conf

and change the hda to hda1 and get Smart Boot Manager on www.sourceforge.net

Posted by RoGuE_StreaK on Feb. 17 2004,08:15
Tried SMB, didn't work.  I think somehow the actual boot of my DSL is stuffed, I can see the directories and data on hda6 when I use the live CD, but nothing seems to see hda6 as a bootable OS  : (
What would happen if I copied all of the directories onto my data partition (fat32), reinstalled DSL from scratch, then copied the dirs back over?  For that matter, could you reinstall DSL over an existing install so that the existing progs and settings remained?  (ie. don't overwrite files that are newer?)

Posted by Modrak on Feb. 17 2004,21:26
The hd-install scrip ... formats the drive to ext2 and copies the files
Posted by RoGuE_StreaK on Feb. 24 2004,14:08
Hmm, how about some sort of script that can tell if a file has been modified or added since the original install (need a reference file?), and back up said files?
Might possibly be a way of creating the "modular" DSL - ie., do an install, add opera, php and mysql (a "server" module), find which files have been added, and create a system to allow these files to be compressed, backed up, uploaded -> the reverse to install said package!?

Just shooting in the dark here...

Posted by skaos on Feb. 24 2004,16:06
You could try the following from the live-CD in an xterm:

lilo -C /hda6/etc/lilo.conf

this assumes that /hda6/etc/lilo.conf exists and is correct. I haven't tried this - it may not work and it may also stop you from booting windows.

Posted by hasty on Feb. 24 2004,18:13
With slack in the past I've used chroot to recover lilo after mounting the drive.
Then switch to /sbin & rerun lilo to reinstall on mbr.

Am currently at work so can't check with DSL & can't remember lilo flags other than -v for verbose :)

Posted by oliver1386 on Mar. 04 2004,14:23
Why not create another very small hda6 partition and do a simple hdinstall there, and make a floppy boot disk. Then change the details on the floppy to read hda5 instead. That would then boot you into your old installation, and you could create a new LILO to the mbr, if that is what you want. You could then remove the temporary hda6 partition. DSL is so small that all thisa would not take long.

Oliver1386

Posted by oliver1386 on Mar. 04 2004,14:25
Sorry, I misread your details. For hda5 read hda6 and for hda6 read hda7
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.