PDA

View Full Version : Problems with minirt.gz - unknown-block(1,3)



avionix
05-25-2007, 05:07 AM
Hi !
This is the first time I write to this forum.
I have been working with remastering of 5.0.1 version, everything was alright (remove & add packages), until I decided to make a little change in the Welcome message, replacing "Welcome to Knopppix ...", with "Welcome to Avionix, based on Knoppix ...".
I modified the linuxrc file, inside minirt.gz (uncompress, mount, edit, umount and compress again) and build a new ISO and burn a CD.
After this, system doesn't boot and display an error:

Kernel Panic: not syncing: VFS: Unable to mount root fs unknown-block(1,3)

If I restore the original minirt.gz, everything works well again.
I have been "googling" and applying lot of "recipes" and advices, but I can not solve this problem.
I appreciate your help.

There are the followed steps in details:

mastercopy is the master directory needed for remastering, /working is an example working directory.

cp /mastercopy/boot/isolinux/minirt.gz /working/
cd /working
gunzip minirt.gz
mkdir mnt
mount -o loop minirt ./mnt

Now, I can edit (with nano or vi text editor) and save ./mnt/linuxrc file

umount ./mnt
gzip -9 minirt

cp minirt.gz /mastercopy/boot/isolinux/

that's all

Thanks in advance,
Sebastian.

mcreel
05-25-2007, 08:37 AM
I saw this problem when I was working on the latest version of ParallelKnoppix. You need to edit linuxrc turning off Mac conversion. That is, do "nano -N linuxrc".

LoneShadow
05-25-2007, 04:34 PM
I saw this problem when I was working on the latest version of ParallelKnoppix. You need to edit linuxrc turning off Mac conversion. That is, do "nano -N linuxrc".

Does it matter if we use vi instead of nano -N to edit the file ?
I did read about minirt.gz not being too large. Though using gzip -9 should be sufficient.

- LS

avionix
05-25-2007, 06:47 PM
Hi mcreel !
Thanks a lot for your suggestion.
Fortunately it solves the problem, now I have a Knoppix based system with customized startup messages. :D

Sebastian.