Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > Problems with editing minirt (using cpio) - the modified version hangs

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 09-29-2009   #1 (permalink)
Just Joined!
 
Join Date: Sep 2009
Posts: 2
Problems with editing minirt (using cpio) - the modified version hangs

Hey guys

How are you all? I am new to these forums (not necessarily new to linux)

I got my self obsessed with editing F-Protect Rescue Disk's init and I've edited minirt/init but I am having trouble constructing the minirt properly. No matter what I do, when FProtect loads and starts to load the minirt, it simply hangs while detecting for wireless cards and networks (the very start of the booting process). When booting the original ISO, this does not happen.

I edited its init because I wanted to change its $knoppix_dir from 'KNOPPIX' to 'FPROT'. I am on Ubuntu 9.04 and these are the steps I have taken:

- I extracted f-secure-rescue-cd-3.11-23804.iso/boot/isolinux/fsecure/minirt to the desktop

- I used gunzip to extract the file and I got minirt

- I right clicked minirt and I selected Extract (via root).

- I edited init inside the extracted files and I saved the files

- I than used the following cpio command:

Code:
find . | cpio --create --format='newc' > /home/james_w/Desktop/minirt


Of course the original minirt was deleted.
I then used gzip minirt and I recreated the file. Popped it back into the ISO (via UltraISO) and when I boot, I see the welcome screen, press Ener and loads the kernel and starts scanning the networks and that's about it, I am left with a flashing cursor on the screen. This does not happen with the original minirt.gz, it happens only with the modified minirt.


I've googled around and the above cpio command is one of the only ones that gives the new minirt a bit of life. Other one I have tried won' event start the minirt.

Please assist me if you can. I know I can use mkinitramfs but I am not sure how to use this one. Last time I used it didn't turn out what I expected.
james_w is offline  


Reply With Quote
Old 09-30-2009   #2 (permalink)
Just Joined!
 
Join Date: Sep 2009
Posts: 2
I fixed the problem! I feel like an idiot. A bit of a mix up. I forgot to rename the KNOPPIX directory inside the ISO after re-adding minirt.gz because there was a renamed one outside the dir and I was testing the ISO only - directly booting it from VB.
james_w is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 12:30 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2