VectorLinux

The nuts and bolts => Installation & Updates => Topic started by: Cariboo on October 05, 2008, 01:41:26 pm

Title: Backup a custom kernel installation...
Post by: Cariboo on October 05, 2008, 01:41:26 pm
Because of the issue described HERE (http://forum.vectorlinux.com/index.php?topic=6001.0) I had to follow Uelsk8's recommendation:

Quote
Cariboo,
you are having a very odd situation there.
I wish i could tell you exactly what was stopping the kernel from loading.
The best course for you may be to compile a custom kernel with all of the scsi and sata drivers removed.
Uelsk8s

Yes, I had to compile a custom kernel and now I wonder if I could use "Remastersys" to backup/save this (valuable) installation, to have a working CD in case of a crash?
Or is there another system backup utility?

Any reply is highly appreciated :)
Cariboo
Title: Re: Backup a custom kernel installation
Post by: uelsk8s on October 05, 2008, 01:55:00 pm
grab the livetools from here: http://vectorlinux.osuosl.org/Uelsk8s/vl-live-tools-1.0.7-i586-1vl59.tlz
install the package and run vmklive either from the menu or from root terminal
Title: Re: Backup a custom kernel installation
Post by: Cariboo on October 05, 2008, 09:06:53 pm
grab the livetools from here: http://vectorlinux.osuosl.org/Uelsk8s/vl-live-tools-1.0.7-i586-1vl59.tlz
install the package and run vmklive either from the menu or from root terminal

Thank you, Uelsk8s, for your immediate response.....

I hope I don't bother you too much with this:

I downloaded the file, I put it in directory /tmp but now I'm stuck.
I know how to install *.bin files, *.tar.gz files, but I don't know what to do with a *.tlz file.
Can I get  more details, please?
Thanks in advance
Cariboo
Title: Re: Backup a custom kernel installation
Post by: uelsk8s on October 05, 2008, 09:38:31 pm
.tlz is VL's native package format.
You install it by running "installpkg pkgname".
if it is in tmp try "installpkg /tmp/vl-live-tools-1.0.7-i586-1vl59.tlz"

Uelsk8s
Title: Re: Backup a custom kernel installation
Post by: Cariboo on October 06, 2008, 08:44:23 am
Thank you
and congratulation to the Vector Linux Dev. team...
This is an awesome OS...with the best support ever,,,
 :-*
Title: Re: Backup a custom kernel installation
Post by: Cariboo on October 06, 2008, 10:52:49 pm
Hi all,

Thank you
and congratulation to the Vector Linux Dev. team...
This is an awesome OS...with the best support ever,,,
 :-*

I was all exited. I started -->Menu/System/vmklive... It seemed to work. the menu came up, it calculated the size and so forth.
Now I wanted to burn the *.iso file to night, which was supposed to be in /tmp,
but I couldn't find it there.
I also tried 'find / -name *.iso' and couldn't find it either  ???

What is the correct procedure?
Any ideas?

 :( Cariboo

Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 07, 2008, 07:02:11 am
if you didnt give it a name it will be called .iso and will be hidden.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 07, 2008, 08:07:23 am
Sure, I did ....

---> Menu ---> System ---> vmklive
Remaster window opens:
---> "Enter the name of the Live CD/DVD" :   (Default 'blank')
---> "Enter the name of the iso file you want it to make.": TEST

New Remaster window opens: "Saving your..."
New Remaster window opens: "Calculating the size of the install.."
New Remaster window opens: "Creating the Live CD..."
New Remaster window opens: "You're (spelling?) TEST.iso and TEST.md5sum are ready.
                                                 They can be found in the /tmp folder.
                                                  Click on any button when you are ready to exit."

I looked in /tmp for hidden files and I only found:

Directories .ICE-unix, .X11-unix, .xorg.conf2849
                                                                           
Files .XO-lock, xfsm-ICE-3V0RIU, xfsm-ICE-5OKBIU,                   
xfsm-ICE-A1., xfsm-ICE-LO.., xfsm-ICE-PY.., xfsm-ICE-PZ..

 ???
Title: Re: Backup a custom kernel installation...
Post by: newt on October 07, 2008, 11:25:59 am
I may be barking up the wrong tree, but it would seem to me that if you have /tmp set to be in ram (tmpfs) then, depending on the amount of ram you have, the file may not be able to be held in /tmp (boy, that was a big circular sentence).  Of course it wouldn't explain the successful message you receive, but a possibility nonetheless.  How is /tmp setup in your fstab, or is it not? Just an idea.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 07, 2008, 01:57:06 pm


Thanks for the reply.../tmp does not show up in /etc/fstab...
It's not on a separate partition...
Whe I installed the system I only created "/" and "/home" as partitions...
so I think /tmp is strictly in "/" and I'm sure it's on the hard drive and not on RAM...

BUT you triggered a thought...and I checked the size of the VectorLinux partition and I noticed that there are only 400MB Free Space.... :o
I'm going to re-partition the Hard Drive (/home has still 2.8GB Free Space and I'll take from there).

Talk to you later...
Cariboo
Title: Re: Backup a custom kernel installation...
Post by: Masta on October 07, 2008, 04:51:05 pm
Well, I guess you figured it out already  8) . I was going to mention free space.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 08, 2008, 04:38:15 am
No luck...
I partitioned the Hard drive new:
/           4GB
/home 1.2GB
/tmp    1.2GB

I installed VL 5.9-std new and
I installed and modified kernel 2.6.22.19 because of THIS (http://forum.vectorlinux.com/index.php?topic=6001.15.).
Then I got vl-live-tools installed.
After ---> Menu ---> System ---> vmklive, when finished I got
"Your TEST.iso and TEST.md5sum are ready. They can be found in the /tmp folder".
In /tmp I can not find any iso-file!
 ???
                                                 
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 08, 2008, 06:03:42 am
It may be that your new kernel is missing the modules needed for the livecd.
check if you have aufs.ko and squashfs.ko in your modules dir.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 08, 2008, 10:44:19 am
....................
check if you have aufs.ko and squashfs.ko in your modules dir.

I tried /lib, /usr/lib and I don't know exactly where this "modules dir" would be.  ???
Please, give me an hint!
Thanks
Title: Re: Backup a custom kernel installation...
Post by: newt on October 08, 2008, 11:01:56 am
This thread is good in that it should help to shape vl-live-tools package.  For instance, it seems that the live tools will indicate 'success' even after failure - failure should be indicated if failure is acheived (perhaps simply checking to see if the files exist upon completion of the live scripts; if they do and are of correct size then success, if not then failure).  If certain modules should be present prior to live distro creation then those modules should be 'checked for' prior to compilation; if they do not exist then failure or prompt for their location.  Just observations - it doesn't help cariboo's situation but perhaps it will serve a useful purpose in the future.

Cheers!!
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 08, 2008, 07:56:27 pm
the modules should be in /Lib/modules/$(uname -r)
To can use "find /lib/modules/$(uname -r) -name aufs.ko"
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 08, 2008, 10:39:08 pm
When I type this command
To can use "find /lib/modules/$(uname -r) -name aufs.ko"

I get error prompt:
Quote
bash: uname -r: command not found
(same for find squashfs.ko)

When I 'cd' to /lib/modules I find two directories:
2.6.22.14 and 2.6.22.19

 ???
Title: Re: Backup a custom kernel installation...
Post by: newt on October 08, 2008, 10:46:35 pm
perhaps: find /lib/modules/`uname -r` -name aufs.ko
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 09, 2008, 06:29:43 am
not sure how or why you are missing the uname command here is my output

Quote
uel:$ find /lib/modules/$(uname -r) -name aufs.ko
/lib/modules/2.6.25.15/kernel/fs/aufs/aufs.ko
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 09, 2008, 08:16:53 am
not sure how or why you are missing the uname command here is my output

I'm so sorry.... The bloody typo thing hit me ....(uname-r) instead of (uname -r)  ;D

So anyway, there is no output to this command for both aufs.ko and squashfs.ko.
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 09, 2008, 05:21:38 pm
Cariboo,

you need to build those modules for your kernel.
there should be source for them in your /usr/src dir
let me know if you need help with that.

Uelsk8s
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 09, 2008, 05:54:56 pm
Uelsk8s

thanks for offering help...
You thought me how to configure the kernel using "make menuconfig".
Would this be the command I would have to use?
If yes, what would I have to look for and what would I have to do?

Cariboo
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 09, 2008, 08:32:36 pm
these modules are built outside of the kernel.
I will post the commands to build them below.
You can run them 1 at a time or copy the block and paste it into a script(text file) and run them all at once.

Code: [Select]
cd /usr/src/build-kernel-22.19
VER=2.6.22.19
KERNEL=linux-$VER
CURDIR=$(pwd)
TMP=/usr/src
K=$(echo $TMP/$KERNEL | sed -r s/'\/'/'\\\\\/'/g)
cd $TMP
tar -xf $CURDIR/aufs.tar.bz2
tar -xf $CURDIR/squashfs3.3.tar.gz
tar -C lzma449 -xf $CURDIR/lzma449.tar.bz2
tar -xf $CURDIR/patches/squashfs/sqlzma.tar.bz2

patch -p0 < $TMP/sqlzma1-449.patch
patch -p0 < $TMP/sqlzma2k-3.3.patch
patch -p0 < $TMP/sqlzma2u-3.3.patch
cd $TMP/squashfs3.3/squashfs-tools
patch -p0 < $CURDIR/patches/squashfs/mksquashfs.quiet.patch

cd $TMP/$AUFS
cat local.mk \
 | grep -v "^CONFIG_AUFS_DEBUG =" \
 | grep -v "^CONFIG_AUFS_COMPAT =" \
 | grep -v "^CONFIG_AUFS_BRANCH_MAX_127 =" \
 | grep -v "^CONFIG_AUFS_HINOTIFY =" \
 | grep -v "^CONFIG_AUFS_EXPORT =" \
 | grep -v "^CONFIG_AUFS_AS_BRANCH =" \
 | grep -v "^CONFIG_AUFS_DLGT =" \
 | sed -r "s/KDIR = .*/KDIR = $K/" \
 | sed "s/CONFIG_AUFS_BRANCH_MAX_1023 =/CONFIG_AUFS_BRANCH_MAX_1023 = y/" \
 | sed "s/CONFIG_AUFS_KSIZE_PATCH =/CONFIG_AUFS_KSIZE_PATCH = y/" >Makefile
make
mkdir -p /lib/modules/2.6.22.19/kernel/fs/aufs/
cp $TMP/$AUFS/aufs.ko /lib/modules/2.6.22.19/kernel/fs/aufs/

cd $TMP
cat Makefile | sed -r "s/KDir = .*/KDir = $K/" \
             | sed -r "s/SqFs = .*/SqFs = $K\/fs\/squashfs\//" \
             | sed -r "s/C=1/C=0/" >Makefile2
cat Makefile2 >Makefile
make
mkdir -p /lib/modules/2.6.22.19/kernel/fs/squashfs/
cp $TMP/lzma449/C/Compress/Lzma/kmod/{un,sq}lzma.ko k/lib/modules/2.6.22.19/ernel/fs/squashfs/
cp $TMP/$KERNEL/fs/squashfs/squashfs.ko /lib/modules/2.6.22.19/kernel/fs/squashfs/

after you are done you can run the find from before and see if the modules are there now
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 11, 2008, 12:06:59 pm
Thank you for the instructions...
I started today and got no Errors until this after entering the 10th line:
Quote
vector://usr/src
root:# tar -C lzma449 -xf $CURDIR/lzma449.tar.bz2    <--- enter command of the 10th line
tar: lzma449: Cannot chdir: No such file or directory    <--- prompt
tar: Error is not recoverable: exiting now                       <--- prompt


What is to do  ???         
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 11, 2008, 01:23:18 pm
run mkdir lzma449 before line 10
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 11, 2008, 01:50:04 pm
run mkdir lzma449 before line 10

Do I start all over again..?
or just run 'mkdir lzma449'....but being at what location  then?

Also,
it would be interesting to know how to do this in which editor:
...copy the block and paste it into a script(text file) and run them all at once.
Title: Re: Backup a custom kernel installation...
Post by: Masta on October 12, 2008, 11:41:34 am
Any text editor would be fine. You'll want to make it a shell script by adding
Code: [Select]
#!/bin/bashas the very first line.
Then paste the contents uelsk8s gave you. Save the file, and rename from .txt to .sh

It should look like this:
Code: [Select]
#!/bin/bash
cd /usr/src/build-kernel-22.19
VER=2.6.22.19
KERNEL=linux-$VER
CURDIR=$(pwd)
TMP=/usr/src
K=$(echo $TMP/$KERNEL | sed -r s/'\/'/'\\\\\/'/g)
cd $TMP
tar -xf $CURDIR/aufs.tar.bz2
tar -xf $CURDIR/squashfs3.3.tar.gz
mkdir lzma449
tar -C lzma449 -xf $CURDIR/lzma449.tar.bz2
tar -xf $CURDIR/patches/squashfs/sqlzma.tar.bz2

patch -p0 < $TMP/sqlzma1-449.patch
patch -p0 < $TMP/sqlzma2k-3.3.patch
patch -p0 < $TMP/sqlzma2u-3.3.patch
cd $TMP/squashfs3.3/squashfs-tools
patch -p0 < $CURDIR/patches/squashfs/mksquashfs.quiet.patch

cd $TMP/$AUFS
cat local.mk \
 | grep -v "^CONFIG_AUFS_DEBUG =" \
 | grep -v "^CONFIG_AUFS_COMPAT =" \
 | grep -v "^CONFIG_AUFS_BRANCH_MAX_127 =" \
 | grep -v "^CONFIG_AUFS_HINOTIFY =" \
 | grep -v "^CONFIG_AUFS_EXPORT =" \
 | grep -v "^CONFIG_AUFS_AS_BRANCH =" \
 | grep -v "^CONFIG_AUFS_DLGT =" \
 | sed -r "s/KDIR = .*/KDIR = $K/" \
 | sed "s/CONFIG_AUFS_BRANCH_MAX_1023 =/CONFIG_AUFS_BRANCH_MAX_1023 = y/" \
 | sed "s/CONFIG_AUFS_KSIZE_PATCH =/CONFIG_AUFS_KSIZE_PATCH = y/" >Makefile
make
mkdir -p /lib/modules/2.6.22.19/kernel/fs/aufs/
cp $TMP/$AUFS/aufs.ko /lib/modules/2.6.22.19/kernel/fs/aufs/

cd $TMP
cat Makefile | sed -r "s/KDir = .*/KDir = $K/" \
             | sed -r "s/SqFs = .*/SqFs = $K\/fs\/squashfs\//" \
             | sed -r "s/C=1/C=0/" >Makefile2
cat Makefile2 >Makefile
make
mkdir -p /lib/modules/2.6.22.19/kernel/fs/squashfs/
cp $TMP/lzma449/C/Compress/Lzma/kmod/{un,sq}lzma.ko k/lib/modules/2.6.22.19/ernel/fs/squashfs/
cp $TMP/$KERNEL/fs/squashfs/squashfs.ko /lib/modules/2.6.22.19/kernel/fs/squashfs/
Save as "script.sh" or whatever-name.sh
Then open terminal and execute it like:
Code: [Select]
sh script.sh
I've added the new line for you, sobasically all you need to do is copy the entire code and paste :)
P.S.
       I dont think you'll need to start over, just start the script, if that doesn't work, then maybe start over.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 12, 2008, 02:49:04 pm
Thank you, Masta,
I got another Error message and I apologize for bothering you again...but I just don't know enough to fix it...
Quote
root:# sh BuildModules.sh
patching file lzma449/C/Compress/Lzma/kmod.mk
patching file lzma449/C/Compress/Lzma/sqlzma.mk
patching file lzma449/C/Compress/Lzma/testflags.c
patching file lzma449/C/Compress/Lzma/uncomp.c
patching file lzma449/C/Compress/Lzma/kmod/Makefile
patching file lzma449/C/Compress/Lzma/kmod/module.c
patching file lzma449/CPP/7zip/Compress/LZMA_Alone/comp.cc
patching file lzma449/CPP/7zip/Compress/LZMA_Alone/sqlzma.mk
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: linux-2.6.23/fs/squashfs/Makefile
|===================================================================
|RCS file: linux-2.6.23/fs/squashfs/Makefile,v
|retrieving revision 1.1
|retrieving revision 1.2
|diff -u -p -r1.1 -r1.2
|--- linux-2.6.23/fs/squashfs/Makefile  4 Nov 2007 13:21:40 -0000       1.1
|+++ linux-2.6.23/fs/squashfs/Makefile  5 Nov 2007 05:43:36 -0000       1.2
--------------------------
File to patch:
what do I have to do with 'File to patch:'   ???
Title: Re: Backup a custom kernel installation...
Post by: Masta on October 12, 2008, 05:41:33 pm
Thank you, Masta,
I got another Error message and I apologize for bothering you again...but I just don't know enough to fix it...
Quote
root:# sh BuildModules.sh
patching file lzma449/C/Compress/Lzma/kmod.mk
patching file lzma449/C/Compress/Lzma/sqlzma.mk
patching file lzma449/C/Compress/Lzma/testflags.c
patching file lzma449/C/Compress/Lzma/uncomp.c
patching file lzma449/C/Compress/Lzma/kmod/Makefile
patching file lzma449/C/Compress/Lzma/kmod/module.c
patching file lzma449/CPP/7zip/Compress/LZMA_Alone/comp.cc
patching file lzma449/CPP/7zip/Compress/LZMA_Alone/sqlzma.mk
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: linux-2.6.23/fs/squashfs/Makefile
|===================================================================
|RCS file: linux-2.6.23/fs/squashfs/Makefile,v
|retrieving revision 1.1
|retrieving revision 1.2
|diff -u -p -r1.1 -r1.2
|--- linux-2.6.23/fs/squashfs/Makefile  4 Nov 2007 13:21:40 -0000       1.1
|+++ linux-2.6.23/fs/squashfs/Makefile  5 Nov 2007 05:43:36 -0000       1.2
--------------------------
File to patch:
what do I have to do with 'File to patch:'   ???

It is no bother at all  :)
Seems to me that the patch missed, perhaps wrong patch version? Anyway, without looking at line 9, I can't help much from there, so I'll pass the ball over to one of the other Gurus
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 12, 2008, 06:05:56 pm
Cariboo,
I am building a new kernel that I would like you to try.
I will post it as soon as its uploaded.

Uelsk8s
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 12, 2008, 09:11:38 pm
new kernel is here: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-2.6.26.6-i686-1vl59.tlz
modules: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-modules-2.6.26.6-i686-1vl59.tlz
and source: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-src-2.6.26.6-i686-1vl59.tlz
download them, and install them with installpkg.
then run vliloconf you should have a new 2.6.26.6 boot option reboot and let us know if it works there

Uelsk8s
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 13, 2008, 06:01:26 am
new kernel is here: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-2.6.26.6-i686-1vl59.tlz
modules: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-modules-2.6.26.6-i686-1vl59.tlz
and source: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-src-2.6.26.6-i686-1vl59.tlz
download them, and install them with installpkg.
then run vliloconf you should have a new 2.6.26.6 boot option reboot and let us know if it works there
Uelsk8s
Thanks Uelsk8s...
Here is the terminal output of running "installpkg".
Before I continue I would like to know how serious I have to take this:
Quote
vector://tmp
root:# installpkg kernel-modules-2.6.26.6-i686-1vl59.tlz
.-----.-----------------------------------------------------------------------.
| 1/1 | Installing kernel-modules-2.6.26.6-i686-1vl59.tlz                     |
'-----'-----------------------------------------------------------------------'
.-----------------------------------------------------------------------------.
| VectorLinux linux-2.6.26.6 kernel modules                                   |
|                                                                             |
| These are Linux kernel modules (device drivers)                             |
|                                                                             |
| config by joe1962                                                           |
|                                                                             |
|                                                                             |
|                                                                             |
| built by Uelsk8s for Vectorlinux                                            |
'-----------------------------------------------------------------------------'
Executing install script for kernel-modules-2.6.26.6-i686-1vl59...

If you installed a new kernel, remember to check your boot loader
configuration and in case of LILO run /sbin/lilo. If you are using
another boot loader, such as GRUB, refer to its manual to learn how
to select the new kernel at boot.
vector://tmp
root:# installpkg kernel-2.6.26.6-i686-1vl59.tlz
.-----.-----------------------------------------------------------------------.
| 1/1 | Installing kernel-2.6.26.6-i686-1vl59.tlz                             |
'-----'-----------------------------------------------------------------------'
.-----------------------------------------------------------------------------.
| VectorLinux linux-2.6.26.6 kernel                                           |
|                                                                             |
| Built for Vectorlinux                                                       |
| based on the config-2.6.19.2-VLsleep                                        |
| config by joe1962                                                           |
|                                                                             |
| Package Created By: Uelsk8s                                                 |
'-----------------------------------------------------------------------------'
Executing install script for kernel-2.6.26.6-i686-1vl59...

If you installed a new kernel, remember to check your boot loader
configuration and in case of LILO run /sbin/lilo. If you are using
another boot loader, such as GRUB, refer to its manual to learn how
to select the new kernel at boot.
vector://tmp
root:# installpkg kernel-src-2.6.26.6-i686-1vl59.tlz
.-----.-----------------------------------------------------------------------.
| 1/1 | Installing kernel-src-2.6.26.6-i686-1vl59.tlz                         |
'-----'-----------------------------------------------------------------------'
ERROR: Package is corrupt: kernel-src-2.6.26.6-i686-1vl59.tlz[/b]
vector://tmp
root:#
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 13, 2008, 07:09:50 am
the kernel-src package you have is corrupt.
it will not stop the other tests, go ahead and run vliloconf and reboot.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 13, 2008, 07:48:13 am
the kernel-src package you have is corrupt.
it will not stop the other tests, go ahead and run vliloconf and reboot.
Shall I download it again? May be you remember, I had to configure the kernel because of this Laptop's specific SCSI issue where I had to un-check all SCSI Low Level drivers to avoid dead locks at boot time. For that I had to do "installpkg kernel-src.*"

EDIT:  Oct. 13, 08
No success....... See screenshots and
(because there was a warning about /etc/fstab) files 'fstab' and
'linux-live-debug.log'.
PS: I observed in /tmp a growing number of "live_data_<wxyz>" directories containing sub directories 'boot' and 'vector' (no hidden files)
 :o  ???  ::)
I repeat my question from above: Shall I download it (src-package) again?
Title: Re: Backup a custom kernel installation...
Post by: Masta on October 17, 2008, 05:19:54 am
You can safely remove the "live_data_<wxyz>" from the /tmp.

The errors you see on the first image about the fstab and the bootsplash 640x800 are not important. The fstab will change change during a live environment anyhow, and installation will build a new one.
 The reason for the bootsplash error is because we have removed that resolution from the themes since it is nearly deprecated and practically nobody uses it .. this builder was built before that that was done. SO it is reporting that there is no 640x480 resolution.. not important either since the installer is set to use minimal 800x600.

It looks as though the live package is working. If you're not seeing an iso in /tmp , please look into live_data_4072 to see if somehow your iso was built inside there. After a successful build it will tell you where that iso was  built though.
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 17, 2008, 07:00:28 am
Quote
I repeat my question from above: Shall I download it (src-package) again?
redownload the source package, install it
run "rm -rf /tmp/*"  (be careful with that command)
then reboot into the new kernel and run vmklive again
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 18, 2008, 06:16:01 am
........
It looks as though the live package is working. If you're not seeing an iso in /tmp , please look into live_data_4072 to see if somehow your iso was built inside there. After a successful build it will tell you where that iso was  built though.

The ¨live_data_4072¨ directory´s properties tell me it is 19MB big.
When I look inside, it shows two sub directories: boot, vector.
boot contains: /dos, /isolinux, /syslinux, and other files like initrd.gz, vmlinuz, spash.cfg, to mention some of them!
vector contains: /base, /config, /modules, /optional, /rootcopy, /tools and txt-files like changelog.txt among others!

I´m going to follow Uelsk8s route and get the source package new.... ;D
Title: Re: Backup a custom kernel installation...
Post by: Masta on October 18, 2008, 08:05:09 pm
OK, just checking :)
I'd follow his advice too, he's Da-Man  ;)
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 19, 2008, 09:53:03 am

Quote
I repeat my question from above: Shall I download it (src-package) again?
redownload the source package, install it
run "rm -rf /tmp/*"  (be careful with that command)
then reboot into the new kernel and run vmklive again

You said HERE (http://forum.vectorlinux.com/index.php?topic=6001.15) at your 4th post:

Quote
..........................................
copy the kernel to /boot "cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.22.19"

I just would like to mention that the command "cp ..." for this new kernel version 2.6.26.6 is now:

"cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.26.6"

from ...://usr/src/linux-2.6.26.6

I'm not done yet...keep you posted!
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 19, 2008, 10:02:32 am
Cariboo
You should not need to recompile this kernel, or use that cp command???
you only need the kernel source if you are going to build more kernel modules.

Uelsk8s
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 19, 2008, 10:12:11 am
Cariboo
You should not need to recompile this kernel, or use that cp command???
you only need the kernel source if you are going to build more kernel modules.

Uelsk8s

Because I have this SCSI issue I thought I have to...Anyway
I started a fresh installation from CD,
I installed this new kernel,
deactivated the SCSI low level drivers
recompiled the kernel and now
I'm going to get vmklive

I'll keep you posted
Title: Re: Backup a custom kernel installation...
Post by: wcs on October 19, 2008, 10:39:52 am
Quote
new kernel is here: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-2.6.26.6-i686-1vl59.tlz

Hi, uel.
Is this a new "blessed" vl kernel, for everyone to try?
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 19, 2008, 10:43:10 am
Quote
new kernel is here: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-2.6.26.6-i686-1vl59.tlz

Hi, uel.
Is this a new "blessed" vl kernel, for everyone to try?
Yes, please do
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 19, 2008, 10:44:56 am
Cariboo
You should not need to recompile this kernel, or use that cp command???
you only need the kernel source if you are going to build more kernel modules.

Uelsk8s

Because I have this SCSI issue I thought I have to...Anyway
I started a fresh installation from CD,
I installed this new kernel,
deactivated the SCSI low level drivers
recompiled the kernel and now
I'm going to get vmklive

I'll keep you posted
I fixed this kernel and hoped you could try it without recompiling it.
That way you would be using a stock kernel, and if it works for you, we would fix an issue that others had also.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 19, 2008, 11:13:55 am
I have vmklive installed and a tried a back up, but had the same results as before....\
no *.iso file in /tmp
this is linux-live-debug.log:
Quote
creating empty directory /tmp/initrd_tree_4023
creating directories
creating some essential devices in rootdisk
copying files to the rootdisk
rcopy /lib/modules/2.6.26.6/kernel/fs/aufs /tmp/initrd_tree_4023
What else should I provide?
Title: Re: Backup a custom kernel installation...
Post by: wcs on October 19, 2008, 11:25:10 am
Quote
Yes, please do

Thank you!
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 19, 2008, 11:34:49 am
I have vmklive installed and a tried a back up, but had the same results as before....\
no *.iso file in /tmp
this is linux-live-debug.log:
Quote
creating empty directory /tmp/initrd_tree_4023
creating directories
creating some essential devices in rootdisk
copying files to the rootdisk
rcopy /lib/modules/2.6.26.6/kernel/fs/aufs /tmp/initrd_tree_4023
What else should I provide?

If you recompiled the kernel it may not work with the vmklive scripts.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 19, 2008, 12:43:03 pm
Sorry...as you can see, I just don't get the big picture..... ???

So the next thing I would have to to is to get the original back as you said earlier:
Quote
new kernel is here: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-2.6.26.6-i686-1vl59.tlz
modules: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-modules-2.6.26.6-i686-1vl59.tlz
......
download them, and install them with installpkg.
then run vliloconf you should have a new 2.6.26.6 boot option reboot and let us know if it works there
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 19, 2008, 12:51:12 pm
Sorry...as you can see, I just don't get the big picture..... ???

So the next thing I would have to to is to get the original back as you said earlier:
Quote
new kernel is here: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-2.6.26.6-i686-1vl59.tlz
modules: http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-modules-2.6.26.6-i686-1vl59.tlz
......
download them, and install them with installpkg.
then run vliloconf you should have a new 2.6.26.6 boot option reboot and let us know if it works there
I would remove everything in /usr/src "rm -rf /usr/src/*" and /tmp "rm -rf /tmp/*
then install the kernel and kernel-modules packages run vliloconf and reboot into the 2.6.26.6 kernel.
after that run vmklive
Title: Re: Backup a custom kernel installation...
Post by: Masta on October 19, 2008, 03:35:46 pm
what about the symlinks in /boot? shouldn't those be removed as well, or should the package replace them?

Just thought to make sure on this, as he's already having issues compiling and made symlinks (probably) pointing to other file names. Out of experience, I had to remove those too, when recompiling the kernel.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 20, 2008, 01:24:27 am
That's what I did:
Fresh installation from CD (kernel 2.6.22.14)
Install the new kernel and new kernel-modules packages
run vliloconf and reboot into the 2.6.26.6 kernel
run vmklive

An .iso file was generated,
a md5sum was also generated,
the md5sum check was OK.

Before I tried to burn the iso.image I shutdown the Laptop, to check if the SCSI issue was solved with the kernel 2.6.26.6.
It isn't...boot hangs at line "Loading iSCSI transport class v2.0-724"...see HERE (http://forum.vectorlinux.com/index.php?topic=6001.0)
When I checked the source file with "make menuconfig" I found the low level SCSI driver section still activated <*>
Other observations:
setting up modules FAILED
caching fonts FAILED
Xserver doesn't start..
executing 'vxconf' does not work, screen appears with colored narrow vertical stripes
(earlier generated xorg.conf attached)
I need a break...
It's one o'clock am ...I'm getting tired...and  ???

Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 20, 2008, 07:34:09 am
ok if I understand what you wrote above you installed 2.6.26.6 kernel then booted using 2.6.26.6 kernel made a livecd with vmklive tried to boot a 2nd time with same 2.6.26.6 kernel and that's when it hung.

Easiest way to proceed is to blacklist or delete the iscsi modules in /lib/modules/2.6.26.6 run depmod -aq then reboot and make a new livecd
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 20, 2008, 10:57:10 am
ok ..... tried to boot a 2nd time with same 2.6.26.6 kernel and that's when it hung.
The hang situation arises only if I boot after shutting down (Power OFF).
But anyhow, after all,
I had a good night sleep and I'm going to start the whole procedure once more right now.....
I want to include this procedure:
Quote
delete the iscsi modules in /lib/modules/2.6.26.6 run depmod -aq then reboot and make a new livecd
but I don't know how to find iscsi modules.
If I go to /lib/modules/2.6.26.6 I see:
-Links 'build' and 'source'
-Diectory 'kernel'
-Fles 'modules.alias, -.ccwmap, -.dep, -.ieee1394map, -.inutmap, -.isapnpmap, -.ofmap, -.pcimap, -.seriomap, -,symbols, -.usbmap

Where do I find 'iscsi modules'?
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 20, 2008, 06:04:10 pm
sorry I am away from a computer now typing this from my phone
If you run "find /lib/modules/2.6.26.6 -name iscsi*" you should be able to find them
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 20, 2008, 06:34:45 pm
sorry I am away from a computer now typing this from my phone
If you run "find /lib/modules/2.6.26.6 -name iscsi*" you should be able to find them
:o Autch... surely I know this command....sorry for bothering you with that... ::)

They are in
Quote
"/lib/modules/2.6.26.6/kernel/drivers/firmware" and "/lib/modules/2.6.26.6/kernel/drivers/scsi"

Local Time: Mon 20 Oct, 18:14 ---> vmklive started!

Local Time: Mon 20 Oct, 21: 52 ---> vmklive finished (after 3hrs38min)
Message before closing the window "VL-build":
Quote
No space left on device, cannot fwrite 32768*1.

Size of /tmp 1.3GB
*.iso file size: 624.94 MB
md5sum not created.
linux-live-debug.log attached.

I'm going to repartition the harddrive and make /tmp size to 2GB. That's all I can get,
and start over again!
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 21, 2008, 10:30:10 am

ISO file and md5sum created...
Live DVD burned...

First boot from Live DVD starts promising...but then:

Quote
Fatal Error occured - Vector Data not found.
You are maybe using an unsupported boot device (eg. SCSI or old PCMCIA).
Workaround:
Copy the directory vector from your boot device to an IDE/SATA disk, eg. /mnt/hda1/vector or C:\vector. Then try to boot again.
*Something went wrongand we can't continue. This should never happen.
*Please reboot your computer with Ctrl+Alt+Delete...

I do this and the second boot starts...but then:

Quote
Fatal Error occured - Can't find executable chroot command
*Something went wrongand we can't continue. This should never happen.
*Please reboot your computer with Ctrl+Alt+Delete...

Again, I do this and now I get to the same:

Quote
Fatal Error occured - Can't find executable chroot command
*Something went wrongand we can't continue. This should never happen.
*Please reboot your computer with Ctrl+Alt+Delete...

I'm going to try on another computer how  LiveDVD works there!
 
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 21, 2008, 12:39:11 pm
LiveDVD not working here either...

The other computer is my AMD64/3000+ desktop with 2GB memory.

The liveDVD starts to boot
Boot screen splash - blue, radiant with globe and VectorLinux text
'Starting udev'. The action bar (or what it is called?) fills up

Case one: There it stops and only a hardware reset helps to get out of it.
Case two: after 'Starting udev' is finished a terminal window opens and shows the same Fatal Error as it showed on
                the Laptop

 :o  ???  ::)
Title: Re: Backup a custom kernel installation...
Post by: Masta on October 21, 2008, 08:17:32 pm
Seems like bad burn or corrupt iso created :(
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 21, 2008, 08:55:06 pm
Seems like bad burn or corrupt iso created :(

How do I know that? I didn't notice any errors during the remaster procedure.
I created a md5sum and compared it with the md5sum created by "vmklive", both where identical.
Then I used k3b to burn and they also build a md5sum... which was identical too ???
Title: Re: Backup a custom kernel installation...
Post by: newt on October 21, 2008, 09:38:43 pm
I'm just kind of thinking out loud here...

If I've followed this thread correctly, in it's most simplistic form, you are trying to:
1. Install VL Standard 5.9
2. Compile a new, updated kernel without (i)SCSI support
3. Create a remastered CD so you can install later without all the hassle

I'm no developer, or ISO aficionado, but I wonder if you could simply replace the default kernel on the official cd/iso with your updated kernel minus the (i)SCSI support.  Here's what I'm thinking:
-Create a new cd/iso kernel using the config file used to make the default one minus (i)SCSI support; preferably the same version
-Mount the ISO and replace the existing kernel with the new one; preferably named the same - 'sata'
-Burn the new ISO and test

It sounds too easy so most likely I've over-simplified the process but I wonder if this may prove to be a better method since you really are looking to have a remastered, (normal) installable end product.  It seems that a 'live' end product will only lead to more steps once you actually have a live cd working correctly.

HTH!
Title: Re: Backup a custom kernel installation...
Post by: Masta on October 22, 2008, 05:40:45 pm
Well, it certainly is not a bad burn OR a bad iso. It apparently is booting, it's just having issues with udev. Being a customized kernel, it is hard to accurately diagnose this. However, I am trying to dig up your output from similar cases This should lead us to a resolve.

I am unsure why the kernel package that uelsk8s linked to you , does not work either. I do not have similar hardware with this issue, so at this point it is much reading and digging.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 23, 2008, 07:37:47 pm
I would like to help, but I fear I´m just not educated enough in computer science.... ;D
What other information could/shall I provide?
Title: Re: Backup a custom kernel installation...
Post by: Masta on October 23, 2008, 08:28:01 pm
Is it possible for you to get a copy of the var/log/boot.log?

this will show what's going on during boot up, as you would see in verbose mode (when pressing ESC key to see scrolling text).
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 24, 2008, 08:33:15 am

I ran into another problem now..
The new kernel stops/hangs during boot time at lines:
Quote
Loading Adaptec 120RAID: Version 2.4 Build 5g0
Detecting Adaptec 120 RAID controllers...
as the original did on line: Loading iSCSI transport class v2.0-869.
I'm kind of at the end of the line....
 ???

Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 24, 2008, 11:31:38 am
The main struggles I have right now running VectorLinux on a Dell Inspiron 2500 Laptop are:
1) Booting problems
2) Dial-up connections not possible
3) Broad band connections not possible

I installed 'Puppy Linux 4.1' (Kernel 2.6.21.7) and I had no problems with 1) and 2),
3) is not tested yet because I have no High Speed Internet at home...

Why... ( I know, it's not a very intelligent question ::)) ?
 ???
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 26, 2008, 03:56:29 pm
The main struggles I have right now running VectorLinux on a Dell Inspiron 2500 Laptop are:
1) Booting problems
2) Dial-up connections not possible
3) Broad band connections not possible

I installed 'Puppy Linux 4.1' (Kernel 2.6.21.7) and I had no problems with 1) and 2),
3) is not tested yet because I have no High Speed Internet at home...

Why... ( I know, it's not a very intelligent question ::)) ?
 ???

Because the kernel in puppy doesnt have the modules compiled that are causing problems in your system.
You can use the kernel and modules from puppy in VL.
You can use their kernel config file to build a new kernel for your VL.
You could continue helping tweak our kernels so they work for you and as many of our other users as possible. :)

I have a new kernel on the way into the repo, If you could test it, I would appreciate it.

Uelsk8s
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 28, 2008, 01:35:29 pm
Because the kernel in puppy doesn't have the modules compiled that are causing problems in your system.
You can use the kernel and modules from puppy in VL.
You can use their kernel config file to build a new kernel for your VL.
You could continue helping tweak our kernels so they work for you and as many of our other users as possible. :)

I have a new kernel on the way into the repo, If you could test it, I would appreciate it.

Uelsk8s

I certainly will test it....
Unfortunately I'm not knowledgeable enough to follow your other advice to use the Puppy kernel in VL. I would rather prefer to use an original VL kernel for VL..


Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 28, 2008, 03:05:50 pm
I certainly will test it....
Unfortunately I'm not knowledgeable enough to follow your other advice to use the Puppy kernel in VL. I would rather prefer to use an original VL kernel for VL..
Thanks for testing.
here are the kernel and modules:
http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-2.6.26.7-i686-1vl59.tlz
http://vectorlinux.osuosl.org/veclinux-5.9/kernels/kernel-modules-2.6.26.7-i686-1vl59.tlz

If this kernel works I will get the other modules built for it.
sometimes you can just copy the kernel and modules from a different disto and they will work.

Uelsk8s
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 29, 2008, 05:15:38 pm
Here we are....

Quote
---> New kernel and modules installed
---> Terminal output for command "uname -a":
      Linux vector.linux.net 2.6.26.7 #1 SMP PREEMPT Sun Oct 26 11:27:42 MDT 2008 i686
      Pentium III (Coppermine) GenuineIntel GNU/Linux
---> Live.iso file created
---> LiveDVD burned ( 722MB )
---> Boot starts
---> Boot stops at line:
      * looking for data directory (searching for livecd.sgn file)

Then follows text:
   You are maybe using an unsupported boot device (eg. SCSI 0r old PCMCIA)
   Workaround: Copy directory Vector-2.6.26.7 (that's the name I gave to it) from your boot device
   to an IDE or SATA disk, eg. to /mnt/hda1/Vector-2.6.26.7 and reboot.

What else can I help with ???
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on October 29, 2008, 05:20:28 pm
So the kernel works, you can make a livecd, but it will not boot, correct?
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 29, 2008, 05:24:32 pm
So the kernel works, you can make a livecd, but it will not boot, correct?
Correct!
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on October 31, 2008, 02:02:26 pm
Because the kernel in puppy doesn't have the modules compiled that are causing problems in your system.
You can use the kernel and modules from puppy in VL.
Uelsk8s


I had a second look at this proposal,
but I don't know how I can get the kernel and modules from my Puppy installation, which is on an extra HDD  partition of the same computer or on a LiveCD.
I have no idea how to use "their kernel config" to build a new kernel for your VL.


Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on November 01, 2008, 10:27:58 am
Cariboo,
I built a couple livecd's with the kernel you are using and had no problems.
after i built them i had an idea maybe it doesnt like the long name with the dots and - I named mine VL and vector
anyway, future versions of VL kernel should work with your HW.

In order to try the puppy kernel in vl just copy the kernel from /boot on the puppy install to /boot on the vl install
and the modules from /lib/modules from the puppy install to /lib/modules on the vl install
then run vliloconf on the vl install and it should add a new listing to try it out.


Uelsk8s
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 02, 2008, 07:58:41 am
Cariboo,
I built a couple livecd's with the kernel you are using and had no problems.
after i built them i had an idea maybe it doesn't like the long name with the dots and - I named mine VL and vector.
OK, I used shorter names and tried it again...same behavior: No booting from LiveCD (see screen photo attached)

In order to try the puppy kernel in vl just copy the kernel from /boot on the puppy install to /boot on the vl install
and the modules from /lib/modules from the puppy install to /lib/modules on the vl install
then run vliloconf on the vl install and it should add a new listing to try it out.
Uelsk8s

Well, I got the file vmlinuz from Puppy /boot and the directory /modules from Puppy /lib.
I copied the file and the directory to the corresponded locations in VL. (I had to  rename the VL Originals first in order to copy without overwriting).
Terminal output of 'uname -a':  Linux 2.6.21.7 #1 Sat Aug 30.....
1) Boot (after turn OFF the computer) without any problem --- No hang/stop at boot time!
2) Created LiveCD with Puppy Kernel, boot stops at line: "Detecting Adaptec 120 DAID controllers..."
(see screen photo attached)
 ::)
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on November 02, 2008, 11:34:22 am
is there somewhere you can post your livecd(with the gl kernel) so I can try and figure it out?
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 02, 2008, 02:17:38 pm
is there somewhere you can post your livecd(with the gl kernel) so I can try and figure it out?
What do you mean...the *.ISO file or all files of the burned DVD?
What is the "gl kernel"?
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on November 02, 2008, 02:27:01 pm
I meant the VL kernel, damn typo's :)

the .iso file


Title: Re: Backup a custom kernel installation...
Post by: Masta on November 02, 2008, 05:07:49 pm
If you need  a place to upload your .ISO file to (so Uels' can test), give me a PM and I will set you up a place, temporarily, so that you can upload the *.ISO file that you are using to burn onto CD / DVD.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 02, 2008, 06:18:34 pm
OK, guys...
HERE (http://cariboo.1938.googlepages.com/cariboo%27spages2) is a site I could upload to.....
But, as the .iso file is 764.7 MB big, it will take about 72 hours on my dial-up connection!
Is there any other way?
Would it be enough to have some specific files only?
 :'(
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 04, 2008, 11:19:02 am
I meant the VL kernel, damn typo's :)
I just uploaded the kernel to Page 2 HERE (http://cariboo.1938.googlepages.com/cariboo%27spages2)
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on November 04, 2008, 11:53:43 am
Cariboo,

I hate to say this, cause it seemed obvious to me, but that kernel is in the VL repo isnt it?

We would need to have the whole ISO to be of any good testing.
now that you have a VL kernel that works for you I will try and get the module built for your modem.

Uelsk8s
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 04, 2008, 12:50:34 pm
Cariboo,
I hate to say this, cause it seemed obvious to me, but that kernel is in the VL repo isn't it?
.....
Uelsk8s

Uelsk8s

Sure, it is the one you told me to get earlier.
I also got the Puppy kernel (which I now uploaded too). Both work concerning the creation of the LiveCD.
But both have difficulties to boot as I showed earlier with the screen photos.

Cariboo


Title: Re: Backup a custom kernel installation...
Post by: newt on November 04, 2008, 11:02:38 pm
Just to test the idea I've used the kernel you/cariboo posted on PAGE 2 and replaced the bootable ('sata') kernel on the VL5.9Standard ISO.  Then I've ripped out all data leaving only the initial ram disk, kernel, and boot process that gets you to the ncurses installer.  This makes a nice testable and bootable ISO of about 6mb.  Since your primary problem is simply booting to the installer I figure if you can boot this test ISO successfully then the next step would be to hack the iso a bit more and include this kernel within the vlconfig.tlz package on the original ISO and a lilo entry to boot it.  Regardless, I think this could prove to be a useful test ISO for different kernels.  At least it could provide a testing ground to find a kernel that WILL work, and then hack the original ISO to include the necessary kernel for your system.

Give it a shot. Since it's only 6mb a rewritable might be useful so you don't waste a cdr for 6mb.  Then again cdrw's have their own issues ::)

(mediafire has ad pop ups... sorry was the easiest file hosting I could think of ATM)
download: http://www.mediafire.com/?ogvjyoybyxm

If you are able to boot to the installer then the next step would be to try a full modified ISO to actually test the installation.  This test ISO cannot perform any kind of installation at this point; just try to get to the installer and, if you make it, then exit the installer.  If you cannot reach the installer then another kernel should be tried.  I thought in one of your past posts you mentioned a VL kernel that HAS worked - perhaps one that you compiled/configured yourself without scsi/sata???

EDIT:
Quote
I thought in one of your past posts you mentioned a VL kernel that HAS worked - perhaps one that you compiled/configured yourself without scsi/sata???
found it: http://forum.vectorlinux.com/index.php?topic=6001.msg43315#msg43315
What happened with the kernel you compiled here?  Did this kernel also work with your agere modem you were having troubles with?
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 05, 2008, 11:38:30 am
...
Give it a shot. Since it's only 6mb a rewritable might be useful so you don't waste a cdr for 6mb.  Then again cdrw's have their own issues ::)
...
(mediafire has ad pop ups... sorry was the easiest file hosting I could think of ATM)
download: http://www.mediafire.com/?ogvjyoybyxm

It doesn't boot. Hangs at line: Detecting Adaptec 120 RIAD controllers...(see Attachment)


EDIT:
I thought in one of your past posts you mentioned a VL kernel that HAS worked - perhaps one that you compiled/configured yourself without scsi/sata???
found it: http://forum.vectorlinux.com/index.php?topic=6001.msg43315#msg43315
What happened with the kernel you compiled here?  Did this kernel also work with your agere modem you were having troubles with?

 :'(  I cannot explain why, but somehow  I lost this whole thing....too confused with the issue... :'(
Title: Re: Backup a custom kernel installation...
Post by: newt on November 05, 2008, 11:56:21 am
Alright, I've swapped the booting kernel for the puppy kernel you posted.  It works, but differently.  It boots, then says something like 'uncomressing linux.... booting the kernel' and sits there for about 30 seconds, AND THEN it gets to the installer.  I guess you could say that it works.... just differently.  Give it a whirl and see if you have any better luck with this test ISO.

link: http://www.mediafire.com/?bugrmm1phmr
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 05, 2008, 04:59:34 pm
Alright, I've swapped the booting kernel for the puppy kernel you posted.  It works, but differently.  It boots, then says something like 'uncomressing linux.... booting the kernel' and sits there for about 30 seconds, AND THEN it gets to the installer.  I guess you could say that it works.... just differently.  Give it a whirl and see if you have any better luck with this test ISO.
link: http://www.mediafire.com/?bugrmm1phmr
Here we are...that's as far as I can get with the VectorPuppyTest kernel (see attachments)
Title: Re: Backup a custom kernel installation...
Post by: newt on November 05, 2008, 05:45:47 pm
Well that's good news, right?  You've always been stopped prior to that, correct?  That's as much data as the test ISO actually has so the fact that you can't progress any further is to be expected.

I decided to try building the kernel that uelsk8s had you build (2.6.22.19) without the SATA and SCSI support (i.e. the kernel that he provided such wonderful screenshots for).  It sounded like when you followed his direction you were able to get it build and it worked with your hardware.  I've created one last test ISO with this newly built kernel in hopes that it works.  If it does I'd like to try the next step using it rather than the puppy kernel since it's more VL-specific/compatible.  Hopefully this one will get you as far as the puppy one did.

Test VL STD ISO 2.6.22.19 (no SATA/SCSI support): http://www.mediafire.com/?ifc1gv6zwpu

Since there is at least one working kernel, the next step will be to hack the original STD ISO and add in this modified kernel.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 05, 2008, 06:49:54 pm
In between...
I thank you for your patience  ;)
 ::) and I admire your persistence and perseverance...
Cariboo

I'll keep you posted about the outcome with testGold262219....

EDIT:

OKAY, Gold262219 success..
I came to the same boot level as the screens show (already posted) above...."Error at install".
Title: Re: Backup a custom kernel installation...
Post by: newt on November 06, 2008, 06:15:10 pm
That's good news!!

IIRC, you are on dial-up and a full ISO would be heavy to download.  Do you already have an official VL ISO downloaded?  If so, which version and variant (5.8, 5.9, or 5.9.1 and light, standard, or soho)?  If not, then do you have an already-burned official VL CD?  If so, which version/variant?  I'm thinking along the lines of creating a delta that you can use to patch one of the versions you already have to save you a full ISO download, especially considering the fact that it may still not perform properly on your system.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 06, 2008, 11:56:28 pm
That's good news!!
IIRC, you are on dial-up and a full ISO would be heavy to download.  Do you already have an official VL ISO downloaded?
 
Yes. I attached the README file which I found at the burned image.


If so, which version and variant (5.8, 5.9, or 5.9.1 and light, standard, or soho)?
VL 5.9-standard. I think it is Kernel 2.6.22.14 in the original download.
After burning the ISO file the size of the LiveCD is 675.6 MB. 
Title: Re: Backup a custom kernel installation...
Post by: newt on November 08, 2008, 02:10:51 pm
I've created a delta patch from the official VL 5.9 Standard Gold ISO release that simply replaces the bootable/installer kernel with the 2.6.22.19 kernel that you've tried and had success with (link: http://www.mediafire.com/?05ksjxhmxcz ).  To use this patch you'll need to have 4 things: 1) a working system with xdelta - VL preferably, 2) an ISO image of VL 5.9 Standard Gold, 3) the delta patch file, and 4) extra room on your hard drive to store a new full CD ISO image file.

First, boot to your working system.  Next, create a directory to store these few files (mkdir vlisotest).  Change to that directory (cd vlisotest).  Save the delta patch file to that directory.  If you don't already have the VL 5.9 Standard ISO image file then create the ISO image file using your burnt VL 5.9 Standard Gold cd (dd if=/dev/cdrom of=vl59std.iso) - this will take a couple minutes.  Apply the delta patch file and create a new iso file (xdelta patch VL5.9-STD-Gold_262219boot.delta vl59std.iso vl59std_262219boot.iso) - this will take a few minutes.  Burn and test the new ISO - vl59std_262219boot.iso (a CDRW might be worth using since this image may not work as hoped this go-round).

The only difference between the original and new ISO will be a new boot kernel, which will hopefully allow you to perform a full install of VL 5.9 Standard Gold from the CD.  BUT, this is still possibly (probably) only the first step to creating an installable CD that works out-of-the-box for you.  This step simply provides a bootable kernel that (hopefully) your system can work with to install VL.  The next step, if needed, would be to provide this same kernel to the actual _installed_ system - I have not been successful in my attempts at this so far.  Regardless, I think this first step is a useful one because it *should* allow you to perform a full installation, and you never know - perhaps the system will behave better to the old kernel once it's installed than on the cd.

To sum up, the new ISO you'll be creating will have a new installer kernel to allow you to perform a complete install of VL 5.9 Standard.  The actual kernel that gets installed will be the original 2.6.22.14 - no modifications.  My expectation is that you'll be able to fully install VL 5.9 Standard, but will run into problems/stalling when attempting to boot from the hard drive once it's installed.  I'm _hoping_ that somehow your system is only balking at the CDs bootable kernel, and will work correctly with the installed kernel; but I realize this is likely a futile hope.  If you have booting problems then the next step will be to somehow provide the new kernel to the installed system during installation.

I look forward to hearing how it goes - my fingers are crossed  ;D
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 08, 2008, 06:10:08 pm
Quote
First, boot to your working system.  Next, create a directory to store these few files (mkdir vlisotest).  Change to that directory (cd vlisotest).  Save the delta patch file to that directory.  If you don't already have the VL 5.9 Standard ISO image file then create the ISO image file using your burnt VL 5.9 Standard Gold cd (dd if=/dev/cdrom of=vl59std.iso) - this will take a couple minutes.  Apply the delta patch file and create a new iso file (xdelta patch VL5.9-STD-Gold_262219boot.delta vl59std.iso vl59std_262219boot.iso) - this will take a few minutes.  Burn and test the new ISO - vl59std_262219boot.iso (a CDRW might be worth using since this image may not work as hoped this go-round).

Hello newtor,
I couldn't proceed....see attachment "TerminalOutputDuringProcedure"
Cariboo
Title: Re: Backup a custom kernel installation...
Post by: newt on November 08, 2008, 11:34:57 pm
Seems like there could be several possibilities to the I/O error on creating the ISO image.  I would start by cleaning the cd to make sure nothing's interupting the laser during reading (finger prints included); also notice if there are many scratches on the surface.  Then try the following command instead:
dd if=/dev/cdrom of=vl59std.iso bs=2048 count=346283 conv=notrunc,noerror,sync

It's a long shot, but it's easy enough to try.  At the end of the process, first, you should not receive an error and, second, dd should indicate that there were 346283+0 records in and out.  If this succeeds then you should check the md5sum of the newly created iso file (md5sum vl59std.iso); it should be '8198c819044602acaaec54aa33631b39'.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 09, 2008, 01:57:09 pm
@newtor:
It's another try with no success....(see attachment "Third Try")
I'm not quite sure what version of vl5.9-std I have downloaded in April 22, '08...maybe it was a beta release?
I think I should start all over again with the newest, stable VL version available..
I could go to a fiend's place with broadband Internet to download it or I could buy a CD from you.
What do you think?
 :o

EDIT:
From a friend I have VectorLinux Light Beta4, Kernel 2.6.22.19...
I'm going to install it and overwrite my present installation...
Any objections to this idea? Please let me know ::)
Title: Re: Backup a custom kernel installation...
Post by: newt on November 09, 2008, 08:36:11 pm
Absolutely, give it a whirl.  If you run into the same installation troubles (stalling at iscsi stuff) then we can take another shot at getting your VL 5.9 Standard iso image created.  The process would be: dump the cd data to a directory, swap boot kernel for new one, create new iso image.  The same overall end result but a different way of getting there.  Give a holler if/when you're ready.

Here's to hoping VL Light b4 works for ya!
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 09, 2008, 09:27:43 pm
...If you run into the same installation troubles (stalling at iscsi stuff) then we can take another shot at getting your VL 5.9 Standard iso image created. 

I started the installation...and I already can tell you that I ran into "stalling at iscsi stuff" when I started the computer with 'Power ON'.

The process would be: dump the cd data to a directory, swap boot kernel for new one, create new iso image. 

Would I have to copy the CD data to, maybe, /tmp/test?
Would the kernel to swap /change be the vmlinuz file or how would I recognize it?
Where could I get the new kernel?
Would I use the 'dd if=/dev/cdrom of=vl59std.iso' command to create the new ISO?
Title: Re: Backup a custom kernel installation...
Post by: newt on November 09, 2008, 11:22:52 pm
Quote
1) Would I have to copy the CD data to, maybe, /tmp/test?
2) Would the kernel to swap /change be the vmlinuz file or how would I recognize it?
3) Where could I get the new kernel?
4) Would I use the 'dd if=/dev/cdrom of=vl59std.iso' command to create the new ISO?
1) Yes, simply mount your cd and copy it's entire contents to a directory - just as you have indicated.
2) The kernal is title 'sata' on the VL cd and is located in isolinux/kernel/ (e.g. /mnt/cdrom/isolinux/kernel/)
3) If you still have the 'VL5.9-STD-Gold-262219.iso' test iso (~5.6mb) then you can mount that iso (mount -o loop VL5.9-STD-Gold-262219.iso /mnt/cdrom) and copy the 'isolinux/kernel/sata' kernel from the iso contents to the corresponding directory within the path structure where you dumped the VL 5.9 cd contents (i.e. /tmp/test).
4) No, the command would as follows.  Note that I need to be within the root cd-contents directory for this to work correctly (e.g. /tmp/test):
mkisofs -o /tmp/vl59std_262219.iso -R -D -v -V VL_59A -A VL_59A -J -D -no-emul-boot -boot-info-table -boot-load-size 4 -b isolinux/isolinux.bin -c isolinux/isolinux.boot /tmp/test

Hope this helps.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 10, 2008, 04:49:34 am
Bad news...
After I formatted the partitions for VL the installation went well until "Lilo install Error #1" (see screen picture New01)
I finished the installation following the menu and rebooted--- (Result see New02)
I used my boot floppy and booted the vector install which is on partition hda6 and got "Kernel Panic" (see New03)
I'm getting frustrated...
I never had the Lilo problem before!
What else can I do?
 :-\
Title: Re: Backup a custom kernel installation...
Post by: newt on November 10, 2008, 09:44:17 am
Which VL were you installing when you ran into troubles installing lilo?  Was it Light Beta4 or was it the new iso you created with the new Standard with updated 262219 kernel?

You should be able to boot your system using the CD by issuing the command 'linux root=/dev/hda6 ro' at the 'boot:' prompt, and this method will actually use the kernel from the cd (modified 262219 if that's the cd you're using).  Once you've logged in, as root, you should try running vasm/filesystem/lilo and then install to location of your choice (mbr is my preference).  From this point, you could also move a copy of the modified kernel over to the system, add a lilo entry for it, re-write lilo, and then reboot.

I certainly understand your frustrations, and I'm not helping much by having you try various things that are not working for you.  I'm glad to continue trying to help you create a working installation media for VL if you're willing to keep trying, but if you're fed up with the attempts then I can certainly stop.  What I'm trying to help you with I've never done before, so it's a learning process for me as well.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 10, 2008, 11:02:02 am
Which VL were you installing when you ran into troubles installing lilo?  Was it Light Beta4 or was it the new iso you created with the new Standard with updated 262219 kernel?
I used VL-5.9-Light Beta4....I never came that far to create a new iso....
I thank you for the instructions below and I certainly highly appreciate your perseverance and patience!
I let you know when the Lilo issue is solved. And then we go from there to get over it!
 ;)
I certainly understand your frustrations, and I'm not helping much by having you try various things that are not working for you.  I'm glad to continue trying to help you create a working installation media for VL if you're willing to keep trying, but if you're fed up with the attempts then I can certainly stop.  What I'm trying to help you with I've never done before, so it's a learning process for me as well.
It was late at night, when the frustration struck yesterday! Now I'm OK again! Thank you again for your help!
Cariboo
;D
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 10, 2008, 02:19:59 pm
I could boot into VL-5.9 Light by issuing the command 'linux root=/dev/hda6 ro' at the 'boot:' prompt from the CD (see image01).
Once logged in, as root, I ran vasm/filesystem/Boot Loader to restore lilo in MBR, but I got the same
"Lilo install Error #1" (see image02 and-03). I attached lilo.conf file as.txt as well.
Rebooting without CD leads again to a black screen ful of "99s".
 ???
What other info shall I provide?
I don't want do deal with the original issues ---boot stall, vmklive--- until this new issue MBR is resolved.

EDIT: Actually is this a hint and what does it mean:
"lilo error=Fatal: Either FIX-TABLE or IGNORE-TABLE must be specified" ?
Title: Re: Backup a custom kernel installation...
Post by: newt on November 10, 2008, 02:27:16 pm
from the terminal try 'lilo -v' and paste the output (warnings are okay, errors are not).

edit:
on second glance, I see that lilo is suggesting that you specify either 'fix-table' or 'ignore-table'.  After reading what those options do from the lilo man pages it seems that they are related to the partition table of the hard drive itself.  I've never come across this issue before but you can certainly try adding one of those options to your lilo.conf and then rewrite lilo

as root:
nano /etc/lilo.conf
---underneath 'prompt' (line 9)
---add 'ignore-table' (no quotes)
Ctrl-o (save)
[enter] (to accept)
Ctrl-x (exit)
lilo -v
The last command should indicate a possible warning but no errors.  If this is the case then you can try rebooting.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 10, 2008, 02:41:48 pm
from the terminal try 'lilo -v' and paste the output (warnings are okay, errors are not).
Same error:
"Fatal: Either FIX-TABLE or IGNORE-TABLE must be specified"
"If not sure, first try IGNORE-TABLE (-p ignore)"
(see image04)
Title: Re: Backup a custom kernel installation...
Post by: newt on November 10, 2008, 03:17:05 pm
I guess it's easier than editing lilo.conf.

Just issue 'lilo -v -P ignore' as root.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 10, 2008, 05:31:25 pm
I guess it's easier than editing lilo.conf.

Just issue 'lilo -v -P ignore' as root.
Looks better....This time 4 warnings were issued...No error that I'm aware of...
Before I reboot, why are there two kernels: vmlinuz-ide-2.6.22.19 and vmlinuz-2.6.22.19 on hda6 (image05)?
Which one shall I choose in case I get there?
Title: Re: Backup a custom kernel installation...
Post by: newt on November 10, 2008, 05:44:22 pm
Overall, I'd say lilo was installed correctly.  I don't know why there are two kernels.  If one doesn't work then reboot and try the other; hopefully one of them works for you.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 10, 2008, 06:38:26 pm
Overall, I'd say lilo was installed correctly.  I don't know why there are two kernels.  If one doesn't work then reboot and try the other; hopefully one of them works for you.
Thanks man, yes, Lilo is up again....'lilo -v -P ignore' did the trick... ;)
OK, now I go back to the actual issues...If you still have the nerves, please confirm what I want to do next:
1) Still running VL-Light, I get my VL5.9-std-GOLD CD and copy it's content to a directory of </tmp/test>.
2) Get 'VL5.9-STD-Gold-262219.iso' from my USB flash memory stick and copy it to the directory of </tmp/test>.
3) In the Command Shell issue this 'overwhelming command line:
'mkisofs -o /tmp/test/vl59std_262219.iso -R -D -v -V VL_59A -A VL_59A -J -D -no-emul-boot -boot-info-table -boot-load-size 4 -b isolinux/isolinux.bin -c isolinux/isolinux.boot /tmp/test'.

EDIT:
BTW both kernels worked! I commented one with # at the beginning orf each line!

EDIT-2:
Strange enough, but although the lilo menu offers a selection of the three installed OSs -Win, Puppy and VL,
only VL is bootable. For Win  I get the message "this is not a bootable disk" and for Puppy I get "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown block(3,5)"
I didn't have this situation before! ???


Title: Re: Backup a custom kernel installation...
Post by: newt on November 10, 2008, 09:38:26 pm
1) correct
2) mount your usb flash drive; then mount 'VL5.9-STD-Gold-262219.iso' from my USB flash memory stick (e.g. mount -o loop /path/to/iso/on/usb/stick.iso /mnt/media); and then copy the mounted kernel to the cd contents you dumped to /tmp/test (e.g. cp /mnt/media/isolinux/kernel/sata /tmp/test/isolinux/kernel/sata) which should overwrite the exisiting kernel.  The name 'sata' is just the given name, the newly copied kernel (262219) actually does not support sata or scsi.
3) correct

I'm hoping that the new VL6 will better support your system out of the box.  It might be worth your while to join in the testing phase when the first beta comes out as the devs might be able to figure something out that will make your system work better out-of-the-box.  Regardless, that's down the road and this is now, so back to the task at hand... ;D

BTW, I'm glad to hear that VL 5.9 Light Beta4 works for you. I wonder if the final Light release would have solved the lilo issues you had during installation???  Maybe for another day :D

Edit:
Regarding Edit-2: It's possible that the boot data was not copied correctly from your puppy installation to the /boot/tamu directory.  It's also possible that the '-P ignore' option causes booting problems for Win and Puppy.  What's the output from 'fdisk -l'?
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 10, 2008, 10:48:44 pm

Regarding Edit-2: .............  What's the output from 'fdisk -l'?
Here it is......(see image06)
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 10, 2008, 11:18:05 pm
.....
2) mount your usb flash drive; then mount 'VL5.9-STD-Gold-262219.iso' from my USB flash memory stick (e.g. mount -o loop /path/to/iso/on/usb/stick.iso /mnt/media);

If I get it right,
"mount -o loop /path/to/iso/on/usb/stick.iso /mnt/media" would in my case stand for 
"mount -o loop /mnt/vl-hot/sdb/vol1/VL5.9-STD-Gold-262219.iso /mnt/media"

and then copy the mounted kernel to the cd contents you dumped to /tmp/test (e.g. cp /mnt/media/isolinux/kernel/sata /tmp/test/isolinux/kernel/sata) which should overwrite the exisiting kernel........

If I get this right too,
"cp /mnt/media/isolinux/kernel/sata /tmp/test/isolinux/kernel/sata" is the command line for my case then...

Please confirm..... ;)
Title: Re: Backup a custom kernel installation...
Post by: newt on November 10, 2008, 11:40:48 pm
Yes, you are correct in both cases.  I'm basing the mount point (/mnt/media) off of VL 5.9 Std so you should confirm you have this same directory, or you can create it as root.

Add the -i switch to the copy command (e.g. cp -i /mnt/media/isolinux/kernel/sata /tmp/test/isolinux/kernel/sata) so it will prompt you to make sure you want to overwrite the existing one.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 11, 2008, 04:27:31 am
I issued both commands...no error message in the console...
How can I proof it worked?
Shouldn't be  /mnt/media/isolinux = /tmp/test/isolinux?
 ???

I checked so far:
"Properties" /mnt/media/isolinux = 5.1 MB (5314762 Bytes)
"Properties" /tmp/test/isolinux = 11.5 MB (12064599 Bytes)
or
"Properties" /mnt/media/isolinux/kernel/sata = 3.1 MB (3200792 Bytes)
"Properties" /tmp/test/isolinux/kernel/sata = 4.0 MB (4158168 Bytes)

How serious are the discrepancies to take?

EDIT: 
Sorry for bothering! When asked for "overwrite" I had to answer "yes", but I only hit ENTER!
Now /mnt/media/isolinux and /tmp/test/isolinux still differ but
"Properties" /mnt/media/isolinux/kernel/sata = 3.1 MB (3200792 Bytes)
"Properties" /tmp/test/isolinux/kernel/sata = 3.1 MB (3200792 Bytes)
which is what we want, right?

And now comes this, right?:
'mkisofs -o /tmp/test/vl59std_262219.iso -R -D -v -V VL_59A -A VL_59A -J -D -no-emul-boot -boot-info-table -boot-load-size 4 -b isolinux/isolinux.bin -c isolinux/isolinux.boot /tmp/test'



Title: Re: Backup a custom kernel installation...
Post by: newt on November 11, 2008, 09:29:29 am
EDIT: 
Sorry for bothering! When asked for "overwrite" I had to answer "yes", but I only hit ENTER!
Now /mnt/media/isolinux and /tmp/test/isolinux still differ but
"Properties" /mnt/media/isolinux/kernel/sata = 3.1 MB (3200792 Bytes)
"Properties" /tmp/test/isolinux/kernel/sata = 3.1 MB (3200792 Bytes)
which is what we want, right?

And now comes this, right?:
'mkisofs -o /tmp/test/vl59std_262219.iso -R -D -v -V VL_59A -A VL_59A -J -D -no-emul-boot -boot-info-table -boot-load-size 4 -b isolinux/isolinux.bin -c isolinux/isolinux.boot /tmp/test'

The differing between /mnt/media/isolinux and /tmp/test/isolinux is normal since the test iso was seriously "lightened" (i.e. stripped) to make downloading easier.  The kernel size, 3.1 MB, looks correct.  I think you can safely move on to the next step.  I've found that I have to be within the root directory of the ISO-directories for the command to work properly, which in your case would be /tmp/test/.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 11, 2008, 11:02:30 am
Yes, I got a new "vl59std_262219.iso". Size: (681.1 MB (714156032 Bytes)).  :)
(see image07 and -08)
Before burning the image and to know everything is OK, do I have to create a md5sum or how does this work?
Title: Re: Backup a custom kernel installation...
Post by: newt on November 11, 2008, 11:12:57 am
I notice that you're final ISO size it slightly larger than what I created. My ISO size came to ~678 MB (711389184 bytes).  In fact, the difference between yours and mine is about the size of the new kernel.  Please check your /tmp/test/isolinux/kernel directory and make sure you only see two files; a text file and the 'sata' file.  Also check that the 'sata' file is 3200792 bytes (~3.1 mb).  If all of this checks out, then try burning your new ISO (cdrw maybe?) and give it a whirl.

Again, my expectations are that the install process should complete successfully but that the actual boot-from-hdd will likely give the iscsi error.  This is the next obstacle to deal with if it pops up.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 11, 2008, 11:33:38 am
Yes, I got only two files (no hidden files) in "/tmp/test/isolinux/kernel"!
Yes, Properties of sata file are "3200792 bytes (~3.1 mb)"
It's burning.... ;D
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 11, 2008, 02:07:54 pm
EUREKA, we passed the first hurdle..... :)
No stall at "Loading iSCSI transport class v2.0-724" when booting a "VL5.9-std-GOLD-262219" CD from a "Power OFF/ON" condition of a Dell Inspiron 2500 Laptop.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 11, 2008, 03:00:02 pm
VL5.9-std-GOLD-262219 HDD installation went without error messages but...
Stall at "Loading iSCSI transport class v2.0-724"
when booting a "VL5.9-std-GOLD-262219" Hard Drive installation on a Dell Inspiron 2500 Laptop from a "Power OFF/ON" condition.
 :'(

EDIT01:
Something went wrong.  :o
Command in console 'uname -r' prompts me 2.6.22.14 instead of .19
I'm working on it and let you know when the new kernel shows up here!

EDIT02:
During installation I'm asked to enter boot parameters...I ignored that so far.
Do I have to? If Yes which?

Edit03:
I don't understand what happens.
The new CD says it brings VL kernel 2.6.22.19 (see BootFrom...) and the reboot after installation says Linux Version 2.6.22.14 (see Reboot After...)
 ???
Title: Re: Backup a custom kernel installation...
Post by: newt on November 11, 2008, 08:23:46 pm
What you are experiencing is what I've expected, and what I've suggested will happen.

...
The only difference between the original and new ISO will be a new boot kernel, which will hopefully allow you to perform a full install of VL 5.9 Standard Gold from the CD.  BUT, this is still possibly (probably) only the first step to creating an installable CD that works out-of-the-box for you.  This step simply provides a bootable kernel that (hopefully) your system can work with to install VL.  The next step, if needed, would be to provide this same kernel to the actual _installed_ system - I have not been successful in my attempts at this so far.  Regardless, I think this first step is a useful one because it *should* allow you to perform a full installation, and you never know - perhaps the system will behave better to the old kernel once it's installed than on the cd.

To sum up, the new ISO you'll be creating will have a new installer kernel to allow you to perform a complete install of VL 5.9 Standard.  The actual kernel that gets installed will be the original 2.6.22.14 - no modifications.  My expectation is that you'll be able to fully install VL 5.9 Standard, but will run into problems/stalling when attempting to boot from the hard drive once it's installed.  I'm _hoping_ that somehow your system is only balking at the CDs bootable kernel, and will work correctly with the installed kernel; but I realize this is likely a futile hope.  If you have booting problems then the next step will be to somehow provide the new kernel to the installed system during installation.

I look forward to hearing how it goes - my fingers are crossed  ;D

...
Again, my expectations are that the install process should complete successfully but that the actual boot-from-hdd will likely give the iscsi error.  This is the next obstacle to deal with if it pops up.

You can boot your installed system from the CD (boot from cd and enter 'linux root=/dev/hda6 ro' at the boot: prompt - make sure device/partition is correct) which will boot your system using the modified 2.6.22.19 kernel from the CD.  I read posts indicating that some applications like alsa and ndiswrapper are largely kernel-specific, which would mean those things may not work as expected with a kernel update.  BTW, were you able to get your system to boot successfully with the older kernel?  The next step is where we should figure out what will work best for you.  I feel like an entire kernel package/modules/src would be best; a full installable package like uelsk8s has created in the past.  That way you could install the package, get the binaries, modules, and source installed all at once with lilo modifications as well.  Packaging full kernel and module compilation for a vanilla VL install is something I've never done so would be experimental for me.

I'm sure you could copy the kernel from the CD to the installed system, adjust your lilo.conf file to include the new kernel as a boot option, rewrite lilo, and see if the system will boot correctly.  This is probably where I would start since it's should be fairly easy to do.  Give this a shot and see if it works out.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 12, 2008, 09:01:58 am
...
You can boot your installed system from the CD (boot from cd and enter 'linux root=/dev/hda6 ro' at the boot: prompt - make sure device/partition is correct) which will boot your system using the modified 2.6.22.19 kernel from the CD. 
I can boot and kernel 2.6.22.19 is indicated, but X server does not start.
I get Error:
(EE) GARTinit: unable to open /dev/agpgart (No such file  or directory)
(EE) intel(0) : .........
(EE) Screen(s):...No screens...
 Fatal...

Another install:
I had to choose Xvesa during install and I tried, when the system was running, to use --->VasmCC --->VideoConfig.  to get Xorg running but "autoconfig must have stumbled somewhere".
Kernel 2.6.22.19 is running when booting from CD, Xorg is not. New challenge!
Now I believe this idea comes to effect!
Quote
I feel like an entire kernel package/modules/src would be best; a full installable package like uelsk8s has created in the past.  That way you could install the package, get the binaries, modules, and source installed all at once with lilo modifications as well.
I feel lost and I think that the whole issue is beyond my capabilities!

Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on November 12, 2008, 09:19:45 am
I feel lost and I think that the whole issue is beyond my capabilities!

This is definately not beyond your capabilities.
you have built a custom kernel.
the easiest way to proceed IMO, would be to make a package that had your custom kernel+modules+source,
and then add it to the packages/required folder in the custom iso you just made with newtor.
that way it would be installed to the new system.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 12, 2008, 09:50:05 am
....
the easiest way to proceed IMO, would be to make a package that had your custom kernel+modules+source,
and then add it to the packages/required folder in the custom iso you just made with newtor.
that way it would be installed to the new system.
OK!
1) I think, the custom kernel is on the new CD I've burned under --->isolinux --->kernel named "sata"?
2) I found, also on the CD, under --->veclinux --->optional --->kernel-scr.tlz would this be "source"?
3) I can't find modules?
I certainly would need your help to "... make a package"  :-X
Title: Re: Backup a custom kernel installation...
Post by: newt on November 12, 2008, 11:01:10 am
...
the easiest way to proceed IMO, would be to make a package that had your custom kernel+modules+source,
...
uel, from the final compilation step in your post here: http://forum.vectorlinux.com/index.php?topic=6001.msg43053#msg43053
(i.e. after saving run "make && make modules_install")

How does someone build the necessary package? Will checkinstall work, or would a higher-grade package be needed?  Any general steps you can provide in this regard would be appreciated.  I still have the compiled source so (I think) I could create a package fairly easy, if only I knew the best way ;D
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on November 12, 2008, 12:11:25 pm
best way to make a package for this kernel+module+source would be to copy them from the system after the "make && make modules_install" step.

Code: [Select]
mkdir -p PKG/usr/src
cp -ax /usr/src/linux-2.6.22.19 PKG/usr/src
mkdir -p PKG/lib/modules
cp -ax /lib/modules/2.6.22.19 PKG/lib/modules
mkdir -p PKG/boot
cp -ax /boot/vmlinuz-2.6.22.19 PKG/boot
cd PKG
makepkg ../kernel-all-2.6.22.19-i686-1vl59.tlz
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 12, 2008, 06:25:19 pm
best way to make a package for this kernel+module+source would be to copy them from the system after the "make && make modules_install" step.
Code: [Select]
mkdir -p PKG/usr/src
cp -ax /usr/src/linux-2.6.22.19 PKG/usr/src
mkdir -p PKG/lib/modules
cp -ax /lib/modules/2.6.22.19 PKG/lib/modules
mkdir -p PKG/boot
cp -ax /boot/vmlinuz-2.6.22.19 PKG/boot
cd PKG
makepkg ../kernel-all-2.6.22.19-i686-1vl59.tlz

I suppose this is not meant for me to try...I don't have what is needed, do I ?
Title: Re: Backup a custom kernel installation...
Post by: newt on November 13, 2008, 09:50:53 am
Thanks uel!!  We couldn't have received clearer instructions ;D, and the process went as expected.  Cheers!!

Cariboo, If you still have the kernel source that you once downloaded and compiled, plus a little extra space on your hard drive, then you should have everything you need to try.  It would be as simple as following uelsk8s directions on compiling the kernel source without sata/scsi support, and then following his directions on creating a proper package from the kernel source/modules/binaries.  I've created a package but have not tested it yet.  Once I can test it, and it determine that it works, then I'll put it on mediafire - unless you're planning on creating the package yourself.

The last step, which I havn't yet tried, is adding the package to the package list on the cd.  I'm a bit concerned it will overrun the length of a 700mb cd.  If it does, that then perhaps dropping the Acrobat Reader package might regain the needed space???
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 13, 2008, 11:02:08 pm
Cariboo, If you still have the kernel source that you once downloaded and compiled, plus a little extra space on your hard drive, then you should have everything you need to try............. I've created a package but have not tested it yet.  Once I can test it, and it determine that it works, then I'll put it on mediafire - unless you're planning on creating the package yourself.

If I understand you right you are recommending to go through THIS (http://forum.vectorlinux.com/index.php?topic=6001.msg43053#msg43053) procedure one more time.
I feel if I do it again it may lead to the same results as before.
Let me summarize what happened so far;
1) I opened THIS thread because of booting problem: "Loading iSCSI transport class v2.0-724".
2) With the outstanding support from uelsk8s a recompilation of kernel 262219 solved this issue.
3) To be sure I have a working backup for this computer I wanted to build a remastered CD and therefor I opened the THREAD (http://forum.vectorlinux.com/index.php?action=post;quote=53033;topic=7487.120;num_replies=125;sesc=a9db10c75c37b52139013e1b01eaa2bd) we are working on right now.
4) First problem here was that "vlmklive" didn't produce an *.iso file at all.
5) Again, through uelsk8s awesome intervention this was finally solved to the point where an *iso file and md5sum was built.
6) All efforts ended in the original problem that I still have the boot problem either "Loading iSCSI transport class v2.0-724" or "Loading Adaptec 120RAID: Version 2.4 Build 5g0 Detecting Adaptec 120 RAID controllers..." no matter what kernel I use. Right now the LinuxLoader is messed up too.

The last step, which I haven't yet tried, is adding the package to the package list on the cd.  I'm a bit concerned it will overrun the length of a 700mb cd.  If it does, that then perhaps dropping the Acrobat Reader package might regain the needed space???

I hate to confess but I would rather wait until you would put the whole on mediafire  ::)
What ever you would drop I could install later.
I'll go to a friend with broadband internet for faster download.
Title: Re: Backup a custom kernel installation...
Post by: newt on November 15, 2008, 08:58:03 am
Cariboo, I've added the new kernel package to the ISO and tested it.  The install process uses the 2.6.22.19 no scsi/sata kernel, and the new kernel/modules/src gets installed to the system as well (thanks for the tip uel!!).  A lilo entry is automatically created during install of lilo so that should be taken care of as well.  I _think_ this should work correctly this time; install AND boot.  It worked fine for me in testing.  To make space for the new package I had to remove a couple packages; frozen-bubble, and the old kernel source.  Since the new kernel source gets installed I figured you wouldn't need the old kernel source.  Try downloading from the following link (~700mb):
http://www.adrive.com/public/5afff2669ad5c4a26ea859498b0e0b9b3088f01134b0ed9109c147ef3d2069c5.html

Good luck and I hope all goes well.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 15, 2008, 10:13:40 pm
newtor
I don't know how to thank you for doing that for me......

I have to leave it for a couple of days because some family issues need my full attention!
Talk to you later..Thanks for now!
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 16, 2008, 08:17:22 pm
....Try downloading from the following link (~700mb):
http://www.adrive.com/public/5afff2669ad5c4a26ea859498b0e0b9b3088f01134b0ed9109c147ef3d2069c5.html
Good luck and I hope all goes well.
Sorry, but I have some trouble with this link.
As the broadband connection at my friend's is not very stable the download gets interrupted often and we always loose what ever is already downloaded. We have to start all over again.
Is is possible to get a torrent for that?
I think that way the download would continue roughly where it was interrupted.
 ::)
Title: Re: Backup a custom kernel installation...
Post by: newt on November 17, 2008, 10:58:04 am
After further investigation it looks like adrive might not have been the best place to distribute such a large file.  As you've probably discovered, it's not a resumable transfer unless your a $$premium$$ member.  I guess it's very much a YMMV transfer.  Oh well.... live and learn.

I've sent you a PM with an alternative location to download from... and if THAT fails as well then I'll whip up a torrent.  Of course, the download speed of the torrent will be limited to my max upstream (~120kB/s) since I'll be the only seed.

Let me know if you have any more troubles snagging this file.

Cheers!
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 17, 2008, 07:08:48 pm
I don't know if all is working correctly....
After connection the menu looks like OK then
running for a while it disconnects and the menu looks like not OK.
Although it says <Not connected to any server>, in this condition, it still seems to download  ???
Can this be OK?
Title: Re: Backup a custom kernel installation...
Post by: newt on November 17, 2008, 08:30:20 pm
I can tell you that it's currently transferring and you're at 9%.  I cannot explain why filezilla would indicate 'not connected' yet still seem to indicate that the transfer is active at 4kB/sec.  I've noticed several disconnects, but your ftp client resumes everytime.  I think doing what you are doing is working.  Sometime tomorrow it should finish up ;D

BTW, will you please edit your post so my IP address is not visible.  Thanks.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 17, 2008, 10:28:09 pm
;D
BTW, will you please edit your post so my IP address is not visible.  Thanks.
OK  ;)
Title: Re: Backup a custom kernel installation...
Post by: newt on November 18, 2008, 09:28:39 am
Thanks!!  BTW, looks like you're at 36% :D
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 18, 2008, 11:24:30 am
Thanks!!  BTW, looks like you're at 36% :D
Actually 41% right now.
I do it on my place with Dial-Up connection.
It is a very stable connection.
Average dl speed is better than 4.3 kB/sec.
 :)
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 20, 2008, 06:54:54 pm
Hello newtor,
as you certainly noticed the download has finished (successfully) and I want to thank you for providing such a stable connection.
I installed the 262219-version and before I continue testing I want to do some clean up.
I want to make sure that only the new kernel (262219) is active, because during the necessary restart (after installation) the the system probably booted with the 262214 kernel and sure enough, it hung!
"pkgtool" shows me installed are:
Quote
"kernel-2.6.22.14-i586-v.., {the-one-I-want-kernel-2.6.22.19-i686}, kernel-headers-2.6.21.5_..,
kernel-modules-2.6.22.14"
(I know the procedure of removing packages and know how to symlink the new kernel.)
What I don't know is  what is really needed and what can be removed.
There is also lot of 262214 related stuff in directory /boot (see screenshot).
Can I 'rm' all the ..14 references?
 ???
Title: Re: Backup a custom kernel installation...
Post by: newt on November 21, 2008, 01:59:59 pm
I was hoping someone else with more concrete knowledge would answer by now.  From my perspective, I cannot see why you would need any other kernel's left installed since you installed an updated kernel with modules.  The one that makes me wonder is the kernel-headers.  Since they are from a previous kernel version I wouldn't think they're necessary, but I certainly didn't put them there so they must have come with the stock VL 5.9 Std which makes me think they should remain until it can be determined that they are not needed.

Regarding the /boot directory: This is the directory that holds all of the boot information so your system can actually boot the operating system.  It can be cleaned up but take caution when doing so.  One option is to create a new directory named '/boot/backup' and move all files you'd like to delete to that directory.  Then create your new symlinks; update /etc/lilo.conf; and update lilo (lilo -v) making sure there are no errors reported before restarting.  I think you're fine moving everything with the ...2.6.22.14 (and associated symlinks) to the /boot/backup directory.  Once you're confident that you don't need those files anymore simply delete the /backup directory.

It looks like the System.map and config files for the new kernel where not included in the install which is probably my fault.  I think I have these somewhere and can get them to you to put in /boot (I do not think they are NECESSARY, but they must be useful in some way).  I do not have an updated initrd so keep that one intact where it is.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 21, 2008, 04:28:26 pm
I was hoping someone else with more concrete knowledge would answer by now.  From my perspective, I cannot see why you would need any other kernel's left installed since you installed an updated kernel with modules.  The one that makes me wonder is the kernel-headers.  Since they are from a previous kernel version I wouldn't think they're necessary, but I certainly didn't put them there so they must have come with the stock VL 5.9 Std which makes me think they should remain until it can be determined that they are not needed.
@newtor
I'm thankful for your comments, specially concerning having several kernels and a header referring to an older kernel version "kernel-headers-2.6.21.5_. ???
I would rather wait until I get more clarification on this multi kernel installation and the fact that I have only "kernel-modules-2.6.22.14", before I go for further testing and using this 2.6.22.19 install.
Do you have any suggestions whom I could contact?
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on November 21, 2008, 05:20:47 pm
I was hoping someone else with more concrete knowledge would answer by now.  From my perspective, I cannot see why you would need any other kernel's left installed since you installed an updated kernel with modules.  The one that makes me wonder is the kernel-headers.  Since they are from a previous kernel version I wouldn't think they're necessary, but I certainly didn't put them there so they must have come with the stock VL 5.9 Std which makes me think they should remain until it can be determined that they are not needed.
@newtor
I'm thankful for your comments, specially concerning having several kernels and a header referring to an older kernel version "kernel-headers-2.6.21.5_. ???
I would rather wait until I get more clarification on this multi kernel installation and the fact that I have only "kernel-modules-2.6.22.14", before I go for further testing and using this 2.6.22.19 install.
Do you have any suggestions whom I could contact?
you can safely remove the kernel-2.6.22.14-i586-1vl59 and the kernel-modules-2.6.22.14-i586-1vl59 packages.
Code: [Select]
removepkg kernel-2.6.22.14-i586-1vl59
removepkg kernel-modules-2.6.22.14-i586-1vl59

You should NOT remove the kernel-headers-2.6.21.5 package. It is required in order to build programs.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 21, 2008, 08:51:55 pm
Regarding the /boot directory: This is the directory that holds all of the boot information so your system can actually boot the operating system.  It can be cleaned up but take caution when doing so.  One option is to create a new directory named '/boot/backup' and move all files you'd like to delete to that directory.  Then create your new symlinks; update /etc/lilo.conf; and update lilo (lilo -v) making sure there are no errors reported before restarting.  I think you're fine moving everything with the ...2.6.22.14 (and associated symlinks) to the /boot/backup directory.  Once you're confident that you don't need those files anymore simply delete the /backup directory.
After following uelsk8s' instructions...Thanks uelsk8s....the /boot directory was basically cleaned up!
I only had to create one symlink: 'ln -s /boot/vmlinuz-2.6.22.19 /boot/vmlinuz' and now /boot looks OK to me! (See ScSh)

Now comes the "vmklive" test and all the different boot conditions test  ;D
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 22, 2008, 07:24:52 am
First results:
1) Booting does not hang anymore!
2) 'vmklive' (using 2.6.22.19 modules) is not producing ISO and md5 files, although it says that these are ready and can be found in the /tmp folder.
I only get "live_data_xxxx and initrd_tree_yyyy" directories there!

Any ideas?

Cariboo
Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on November 22, 2008, 07:33:29 am
my thoughts are that because of the kernel recompile this "custom" kernel does not have the required modules needed to build a livecd.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 22, 2008, 08:01:52 am
my thoughts are that because of the kernel recompile this "custom" kernel does not have the required modules needed to build a livecd.

Yes, I believe so...I have a similar situation trying to install the modem driver, which worked on this machine with the 2.6.22.14 modules. It seems all the problems I have come from the modules.
How can I know what I need for this machine? Can modules be transferred from one version to the other? Which module is responsible for what.... let's say, for vmklive and Agere Modem (which was correctly detected during system installation)?

Title: Re: Backup a custom kernel installation...
Post by: uelsk8s on November 22, 2008, 10:36:47 am
to build your martian driver all you should need is a symlink.

mine is like this:
Code: [Select]
uel:$ ls -la /lib/modules/2.6.26.8/build
lrwxrwxrwx 1 root root 23 2008-11-19 20:41 /lib/modules/2.6.26.8/build -> /usr/src/linux-2.6.26.8/

so try this
Code: [Select]
ln -s usr/src/linux-2.6.22.19 /lib/modules/2.6.22.19/build
if you really want to build a livecd with that kernel let me know, we will figure out a way to get the modules built for it.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 22, 2008, 12:09:17 pm
Quote
to build your martian driver all you should need is a symlink.
so try this
Code: ln -s usr/src/linux-2.6.22.19 /lib/modules/2.6.22.19/build

It's very strange....it says /build already exists...although there are the complains when I try to build the driver.
(See ScSh)
Quote
if you really want to build a livecd with that kernel let me know, we will figure out a way to get the modules built for it.

I don't care what kernel/module version I would have to use....
all I want is to get "VectorLinux" running on a "Dell Inspiron 2500 Laptop"  with Dial-Up and wireless Internet connections, play some music or movie, have text editor and a spread sheet and edit some pictures :'(
The only issue which seems to be solved with this kernel is the "booting" from either powerOFF or reboot conditions.
Title: Re: Backup a custom kernel installation...
Post by: newt on November 22, 2008, 12:23:23 pm
Again, it looks like the problem is related to my inexperience ::).  I can see that the symlink points to the incorrect location - darn, I wonder what other "things" might crop up over time.  To solve the problem at hand, you can simply remove the current symlink and create a new one the way uelsk8s suggests.
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 22, 2008, 12:31:11 pm
Again, it looks like the problem is related to my inexperience ::).  I can see that the symlink points to the incorrect location - darn, I wonder what other "things" might crop up over time.  To solve the problem at hand, you can simply remove the current symlink and create a new one the way uelsk8s suggests.
Sometimes I think I'm the only person on the planet who tries to modernize a Dell Inspiron 2500 Laptop  :o and run it with an advanced Linux System like Vector Linux!
Title: Re: Backup a custom kernel installation...
Post by: newt on November 22, 2008, 12:39:09 pm
At least you have the perseverance and commitment to make it work.  You've stuck it through this far and I imagine that you'll be rewarded in the end; not to mention the knowledge you will have gained by the time you have your perfect distro :)

I wonder what other broken symlinks are located in /lib/modules/2.6.22.19/.  Have a look and take note of any with the red font color (ls -al /lib/modules/2.6.22.19/).  Any that point to /home/staddie/usr/src/... are incorrect and should be fixed to point to /usr/src/... Does that make sense?  Hopefully there aren't many.

EDIT:
It looks like '/lib/modules/2.6.22.19/source' is broken as well. It should point to the same location as 'build'
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 22, 2008, 01:34:30 pm
At least you have the perseverance and commitment to make it work.  You've stuck it through this far and I imagine that you'll be rewarded in the end; not to mention the knowledge you will have gained by the time you have your perfect distro :)
Without your and uelsk8s' help it would never happen................................................
I would like to see it working on other poeple's "Inspirons 2500" too  ;D
I wonder what other broken symlinks are located in /lib/modules/2.6.22.19/.  Have a look and take note of any with the red font color (ls -al /lib/modules/2.6.22.19/).  Any that point to /home/staddie/usr/src/... are incorrect and should be fixed to point to /usr/src/... Does that make sense?  Hopefully there aren't many. EDIT:
It looks like '/lib/modules/2.6.22.19/source' is broken as well. It should point to the same location as 'build'
Exactly, source is pointing also to .../staddie.. (See ScSh)


Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 24, 2008, 09:24:34 am
Hello,
Help needed...
I wonder if there is a way how to fix the broken symlinks in /lib/modules/2.6.22.19  ???

Title: Re: Backup a custom kernel installation...
Post by: newt on November 24, 2008, 09:33:29 am
I think uelsk8s addressed creating the appropriate symlinks a few posts back, but you should probably remove the existing ones first.

rm /lib/modules/2.6.22.19/build
ln -s /usr/src/linux-2.6.22.19 /lib/modules/2.6.22.19/build

rm /lib/modules/2.6.22.19/source
ln -s /usr/src/linux-2.6.22.19 /lib/modules/2.6.22.19/source
Title: Re: Backup a custom kernel installation...
Post by: Cariboo on November 25, 2008, 12:24:52 am
Sorry, my fault..
I missed the 'remove" part..
now the symlinks point to the correct folders...

State of the installation now:
1) No  problems booting any more.
2) Agere Win Modem driver installed and dial-up connection .working.
3) Still no Live CD...'vmklive' does not create an .iso file
(actually this was the reason for opening this topic).
4)

The Laptop is in a condition now where I can do some basic stuff.
I do not close the thread as [SOLVED]  :)