LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-20-2004, 03:57 PM   #1
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
Question on packaging a kernel


ive asked something similar to this before, but now i have a different need. I need to take a hard disk image on a cdrom and somehow make it boot and install itself on a hard drive. the hard drives will be the exact size and models, but will be empty before install, so i need a way to make a bootable cd out of a hard disk image and install the image on the drive. i cant use kickstart, since i need the install to be already customized, and i cant do this over a network install. any ideas? Ive looked into isolinux, but i cant tell if its just booting the cd or installing it onto the hard drive.

edit:

I figured out all of it but one aspect. any ideas how i'd get a customized kernel packaged into an rpm so it can be automatically installed? I cant figure out a way to get the modules, source, and kernel all to install (unless i use the stock kernel, but that isnt an option).

Last edited by czarherr; 05-20-2004 at 06:45 PM.
 
Old 05-20-2004, 07:46 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Let me get this straight:either
a)You have an ISO image on your harddrive that you want to boot from?
b)Or you want to make an image from your harddrive?
c)Or you have an image of a harddrive (loopback file with valid filesystems on it) stored on a CD that you want to boot from?

If it is A) then you can use dd to copy the ISO image to a partition. Set that partition as bootable with fdisk prior to doing this and your machine should boot from it OK.

If it is B) then, you can simply use dd to make a copy of the filesystem to an file.

If it is C) then my guess is that you'd need to configure an initial ramdisk (perhaps using islinux) to mount the file as a loopback filesystem. If you take a look at Knoppix, you get the idea.

Or am I missing the question entirely?
 
Old 05-20-2004, 08:29 PM   #3
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Original Poster
Rep: Reputation: 32
close, i didnt word it very well, sorry. I have the hard drive image, and i want to put it on a cd so i can install it on other systems. i already figured out how to do that using kickstart, but i want to be able to install a kernel i have already customized.
 
  


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
How to use ISO images for updates after hard drive installation? Nandor Fedora - Installation 9 08-01-2005 02:48 PM
ISO Hard Drive Install xethm55 Yoper 4 11-29-2004 01:47 PM
No floppy, no cd burner, iso on hard drive, how do i install? har02052 Mandriva 14 10-21-2004 03:59 AM
having problems when mounting an iso on the hard drive k0ljat Linux - Software 2 05-17-2003 01:08 AM
Installing ISO from a hard drive Will Linux - Software 5 10-11-2001 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:19 PM.

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