LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-13-2009, 02:34 AM   #1
cyber_apostle
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Live CD not proceeding to second stage of boot after squashfs image editing


How to edit squashfs image of a Live CD for remastering
unsquashfs works and extracting to squashfs-root/ a place on disk
mksquashfs on the squsahfs-root/ works but after mkisofs first stage of boot goes fine then 'name'.img fails to make second stage of boot using
KERNEL vmlinuz
APPEND ramdisk_size=17232 ro initrd=name.img root=/dev/ram console=null
in
isolinux.cfg
Where am I wrong unpacking to a normal partition, improperly editing, why is the link from first to second stage of boot broken?

I even tried using -2.0 to make version 2 squashfs but 3.1 does not have this option anymore.
If I use original image with edited items, as splash screen etc, image boots, so edits in first boot stage are OK. I changed ramdisk_size to new after edit.

[root@sysname isolinux]# unsquashfs -s name.img
Found a valid little endian SQUASHFS 2:1 superblock on name.img.
Creation or last append time Mon Sep 19 05:07:45 2005
Filesystem is not exportable via NFS
Inodes are compressed
Data is compressed
Fragments are compressed
Check data is not present in the filesystem
Fragments are present in the filesystem
Always_use_fragments option is not specified
Duplicates are removed
Filesystem size 17229.93 Kbytes (16.83 Mbytes)
Block size 65536
Number of fragments 136
Number of inodes 1299
Number of uids 2
Number of gids 2

I have squashfs, unionfs and its tools installed, 'lsmod' lists them.
This is a micro distribution that need changes and installation to HD scripts added.
Thanks in adv. ?!?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
This Debian live image failed to boot AmiNimA Debian 1 06-10-2009 12:54 PM
Invalid loop location: /image.squashfs crontab Linux - Software 2 09-18-2008 08:54 AM
USB boot without live CD image crimsonflame123 Fedora 2 03-15-2008 06:13 AM
Can I boot Mandriva One Live from ISO image ? sermat Mandriva 2 10-03-2006 03:55 AM
Adding Applications to a Live Boot Image Lofter619 Linux - Software 1 03-25-2006 01:40 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration