HD Install :: can anyone paste a working lilo.conf for dsl??



hi all

Im trying to install dsl on a old toshiba libretto 100ct without cdrom. I could boot dsl by copying it to a fat32 partition and booting using loadlin (a dos utility). Once booted the hd-install works great until I try to install the boot loader.

when I select "I want to install boot loader" it says "No appropiate miniroot is avaiable". I think this is because the fat32 partition is mounted on /cdrom and I cant umount it or dsl would stop working.

the only thing I think I could do to solve the problem is to chroot to the partition where the dsl files are and then edit manually the file lilo.conf and then try to install lilo.

¿¿could anyone paste a working lilo.conf so that I can copy it manually to mi hd?? ¿or anyone has any clue about any other way to install the boot loader??

If this doesnt work I think I will have to put the hd on other laptop with cdrom in order to install dsl and then take the hd back to libretto.

thanks in advance for any help.

How did you move dsl to the hd? The KNOPPIX file?
In that case, try booting from the release candidate boot floppy instead of loadlin and using boot code "dsl install" so it'll go to a textmode install menu, which uses less ram than X. Your problem could also be caused by low ram, so try this..

And you probably need two partitions, I'm not sure if dsl can install to the same partition it is running from..

Ps. try grub, it's easier than lilo

Just in case you need it, here is an example lilo.conf - substitute your boot partition for sdb3:

lba32          #enable large disk support
timeout=30     #wait 3 seconds before auto-booting
vga=791
boot=/dev/sdb3   #put Lilo boot loader in partition of target disk
root=/dev/sdb3   #set root to be partition of target disk
image=/boot/linux24
label=DSL
initrd=/boot/minirt24.gz
read-only
APPEND="ramdisk_size=100000 init=/etc/init lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce nodma quiet frugal BOOT_IMAGE=/KNOPPIX/KNOPPIX fromhd=/dev/sdb3 restore=sdb4 toram alsa mydsl=sdb4"

Note that after writing the file, you will need to do the following:

# chmod 644 /mnt/sdb3/boot/lilo.conf
# ln -sf /mnt/sdb3/boot /
# lilo -C /mnt/sdb3/boot/lilo.conf

The easy way is to boot from the DSL standard boot floppy.
It will find a poorman's installation, i.e., knoppix/knoppix on your dos (fat) filesystem. Then all the installation methods are available and easy to perform. Boot the floppy with

boot: install

Do not use:
boot: dsl install

many many thanks for your help. I think with this hints I will finally be able to install a boot loader.

right now I cant try because I left the laptop on my office but tomorrow in the morning I will try.

¿have u tried the last release candidate?? right now Im trying to install dsl 3.2 (the last stable version)  ¿ is RC version stable enought to try it?? ¿If I install the RC will I be able to upgrade to the next stable version later using apt?? or I will have to do a fresh install??

Juanito, you said I have to do this in order to install lilo:

# chmod 644 /mnt/sdb3/boot/lilo.conf
# ln -sf /mnt/sdb3/boot /
# lilo -C /mnt/sdb3/boot/lilo.conf

¿¿is this ok?? Im asking this because on every distro I have tried lilo.conf is on /etc/lilo.conf but u say I have to put it on /boot/lilo.conf  ¿is this a mistake or dsl linux works in a different way than most linux distributions??

thanks again. tomorrow I will post to tell u if I had luck :)

Next Page...
original here.