VectorLinux

The nuts and bolts => Installation & Updates => Topic started by: bbruecker on December 22, 2007, 08:21:43 am

Title: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 22, 2007, 08:21:43 am
Hi,

after a try on a more modern computer I decided to give VectorLinux a try. The live version looks great and I was happy http://vectorlinux.osuosl.org/docs/vl58/manuals/vl5_installation_guide_en.html#iso_linux to finde  an installation method to install by ISO-file. I was very lucky because the notebook doesn't boot from CD-Rom (CD-Rom-drive ist connected via PCMCIA), and that causes a lot of trouble.

I'm currently running damn-small-linux (DSL) version 4.2 on that computer. I want to install VectorLinux with the vinstall-iso script.

When I start the script displays an error: gunzip: invalid option --S. After commenting out the -S-option, the script stops with gunzip: img: No such file or directory.

What do I have to to, to run the script?

Thx, Benjamin
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 22, 2007, 08:44:36 am
just a guess, but make sure you are not using the vinstall-iso script with a live iso.
you need an installable iso like this http://vectorlinux.osuosl.org/veclinux-5.8/iso-release/VL-5.8-std-Gold.iso


HTH,
Uelsk8s
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 22, 2007, 08:54:46 am
Hi Uelsk8s,
I try to install with VL-5.8-std-Gold.iso. That' not a not Live-Cd I guess.
Benjamin
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 22, 2007, 08:11:37 pm
you are right, it is not a livecd.
I have never ran into any problems using the vinstall-iso, but i have never tried it in DSL.
I can only suggest opening up the script and running each command in a terminal until it gives you an error and if you cant figure that out then post back here and we can help.
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: BlueMage on December 22, 2007, 11:20:53 pm
BlueMage, here to save the day!  Why?  Because I've done this several times now  >:(  Install Vector from a DSL install, I mean.

First off, I would post my (modified) vinstall-iso script, but regretably it's on the slim client I have at home.  That machine has NO cd-drive, hence why I've gotten fairly intimate with this process.  There are a few small modifications, namely commenting out certain checks.  Specifically, I haven't commented out the -S as I've completely buggered it off.  I've also buggered off the bits related to /sys - that frequently caused my install to fail before it even got going.

Code: [Select]
## Copy the initrd.img
    echo "Preparing initrd ..."
    gunzip -c loop/isolinux/initrd.img > $INSTALLRD || \
error_exit "cannot decompress initrd.img from ISO-file"

Putting the gunzip'ing of initrd might work a bit better if you use this.  As best i can tell, the -S is included so that the script doesn't break should the compressed file not be in a format the decompressor expects.

:(  If I was at home I'd be able to give you a bit more help with this as I'd have it right in front of me.  Unfortunately, that's not going to be until sometime mid-to-late January.
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 23, 2007, 03:59:30 am
Thank you all for trying to help me.

BlueMage: The script is mow copying initrd.img with your help.

Now it the script stops here:
mount: special device /sys does not exist
ERROR: cannot mount /sys filesystem


There is a line above: EXT2-fs warns that e2fsck is recommended. I think I can ignore this.

I can cd to the folder loop/sys, but the directory is empty. So I thought the image is bad, but md4sum says  VL-5.8-std-Gold.iso is ok.

What can I do next?
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 23, 2007, 06:31:46 am
you can take the kernel and initrd from the ISO and put them into your boot folder, then add them to lilo and reboot making sure to place your ISO in the root of a partition you dont want to use for the installation. then choose the installer from the lilo menu and it will find the ISO and start the install.
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 23, 2007, 06:57:20 am
Hi uelsk8s,

I have Grub installed. I'm sure that will work either, but I'm not very common with linux-booting.

I suppose I have to to start initrd.vinstall. Is that right? Please can you give me an example?

Thx, Benjamin
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 23, 2007, 07:09:08 am
Ok I just tryed this:
kernel /home/dsl/initrd.vinstall
the result is: Error 13: Invalid or unsupported executable format.
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 23, 2007, 07:19:27 am
on the ISO you should have a isolinux/kernel/sata  and a isolinux/initrd.img
copy those to /boot
then add something like below to your menu.lst

Code: [Select]
  title vector installer
  root (hd0,0)
  kernel /boot/sata root=/dev/sda1 ro
  initrd /boot/initrd.img
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 23, 2007, 07:50:12 am
ok, step-by-step...

This grup-entry helped, until this happens:
VFS: Cannot open root device "sata" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


What is the purpose of "sata"?

Benjamin
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 23, 2007, 09:01:59 am
sata is the name of the kernel.
isolinux/kernel/sata
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: BlueMage on December 23, 2007, 09:13:56 am
Thank you all for trying to help me.

BlueMage: The script is mow copying initrd.img with your help.

Now it the script stops here:
mount: special device /sys does not exist
ERROR: cannot mount /sys filesystem


There is a line above: EXT2-fs warns that e2fsck is recommended. I think I can ignore this.

I can cd to the folder loop/sys, but the directory is empty. So I thought the image is bad, but md4sum says  VL-5.8-std-Gold.iso is ok.

What can I do next?

I, um, I kinda cheat here - i comment out the lines that have anything to do with /sys in the vinstall-iso script.  It's a dirty method, but it's worked for me.  As best I can tell, it's a byproduct of using DSL - something about how it's set up compared to other distros.  For example, no such dirty hax are required if you're trying to vinstall-iso from another vector install.

Also, yep, I also get the kernel panic and set-valid-root bit if the install mucks up - unfortunately, I'm not intimate enough with the process to troubleshoot it short of Windows'ing it by reinstalling.

If you can, follow what uelska8s is saying - his method isn't as dirty as mine, and I honestly have no idea what the side effects of how I install it are.  They could be non-existent, they could be timebombs ticking down.
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 23, 2007, 10:29:23 am
Hi uelsk8s,
do you have any idea how to fix my kernel-panic-problem? The sata kernel file is stored correctly at \boot\sata. What's wrong? How can I fix this?
Thx, Benjamin

Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 23, 2007, 10:48:05 am
Hi uelsk8s,
do you have any idea how to fix my kernel-panic-problem? The sata kernel file is stored correctly at \boot\sata. What's wrong? How can I fix this?
Thx, Benjamin

what partition is your /boot on? 
post your menu.lst and we can work it out
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 23, 2007, 12:26:39 pm
Hi uelsk8s,

Here is the code of my second try:

Code: [Select]
# Standardeintrag
default 0
# Wartezeit
timeout 15

# DSL
title DSL
kernel /boot/linux24 root=/dev/hda1 quiet vga=788 acpi apm dma noscsi frugal

# Installation
title vl install
kernel (hd0,0)/boot/sata root=/dev/sata ro
initrd (hd0,0)/boot/initrd.img

My first atempt looked under "installation" like this:

Code: [Select]
title vl install
root (hd0,0)
kernel /boot/sata root=/dev/sata ro
initrd /boot/initrd.img

Hd0 is the boot partation. The installation starts, but hangs up at /dev/sata.
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 23, 2007, 12:53:20 pm
if the sata kernel is in the same folder as the linux24 kernel then your grub entry should be
title vl install
root (hd0,0)
kernel /boot/sata root=/dev/hda1 ro
initrd /boot/initrd.img
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 23, 2007, 01:27:33 pm
OK, we make progress...

The installation process stops now her:
INIT: Entering runlevel: 5
FATAL: Could not load /lb/modules/2.6.18.5/mudules.dep: No such file or directory
...
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 23, 2007, 01:50:56 pm
I apologize fo rthe last post the /dev/sata threw me off  :)

it should be
title vl install
root (hd0,0)
kernel /boot/sata root=/dev/ram rw
initrd /boot/initrd.img
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 23, 2007, 02:08:34 pm
It's me again!

I'm greeted from Vector Linux Install ... but ...

libhardware(EIDE): directory /proc/ide/ inesistente !
libhardware(SCS): directory /proc/scsi/ inesistente !


and after that:

/usr/sbin/setup: cannot create /tmp/setup.log: read-only file system

What can I do next?
Thx Benjamin

Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 23, 2007, 03:22:25 pm
if it gives you a shell after the read-only file system error then try to remount root as rw

mount -o remount / rw
and then run setup
/usr/sbin/setup
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 23, 2007, 03:51:40 pm
after mount -o remount / rw or  "can't create lock file /etc/mtab~952: Read-only file system (use -n flag to overide). After that I tried: mount -n -o remount / rw. After that: "mount: you must specify the filesystem type". What can I try else?
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 23, 2007, 04:28:28 pm
mount should tell you what is mounted ant the filesystem it is using.
type mount and see what it says.
then try mount -t FILESYSTEM -n -o remount / rw. (replace FILESYSTEM with whatever mount tells you)
did you add the rw to the kernel line in menu.lst?
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 24, 2007, 04:17:23 am
Hi, It doesn't work, but I won't give up.
Mount tells me: warning: can't open /etc/mtab: No such file or directory.
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 24, 2007, 07:29:57 am
try "mount -n" first and then "mount -o remount rw /"
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 24, 2007, 07:39:53 am
"mount -n" displays the same error.
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: uelsk8s on December 24, 2007, 07:46:50 am
try "mount -v proc /proc -n -t proc"
and then "mount -o remount rw /"
Title: Re: installation isues on vinstall-iso on Damn-Small-Linux (debian-woody-based)
Post by: bbruecker on December 24, 2007, 07:55:43 am
"mount -v proc /proc -n -t proc" gives "proc on /proc type proc (rw)" but
"mount -o remount rw /" or "mount -o remount rw" displays: "can't create lock file /etc/mtab~951: Read-only file system (use -n flag to overide)"