There is more to a bootdisk than a kernel image... > rdev bzImage /dev/fd0 Change the kernel file to look for / (root fs) on /dev/fd0 This probably isn't what you want
> rdev bzImage 49152 You've got me with this one, it isn't a valid syntax, thought is seems to interpret it as a major/minor pair and sets the root device to /dev/md2 (???) overriding the first command > rdev -R bzImage 0 Mount root read-write > dd if=/boot/bzImage of=/dev/fd0 copy the modified image to the floppy OK, so you've now got a kernel on disk that will boot, and try to access /dev/md2 as a root partition. What you _need_ is a boot disk that not only has a kernel on it, but also a compressed image of a root filesystem stored further on on the disk. There are many bootdisk howtos out there that cover such creation, it is well beyond the scope of this email :) Unless you create a root image, though, you'll still need to mount / from your hard disk (you need one from somewhere) and you still won't be able to run partimage. Personally, for a partimage boot disk, I use superrescue written by Peter Anvin http://www.kernel.org/pub/dist/superrescue/v2/ - it is a 700Mb boot CD image based on RedHat 7.2, complete with build instructions for tweaking it. I removed KDE (I only use gnome) and added some toys such as partimage, so mine fits on a 650Mb CD-RW - one of the most useful 'rescue disks' I've ever possessed :) -----Original Message----- From: Tinu Patel [mailto:[EMAIL PROTECTED]] Sent: 30 July 2002 15:36 To: [EMAIL PROTECTED] Subject: Using rdev to create custom boot disk Hi All, I have a RH 72 server for which I would like to create a custom bootdisk using rdev. The following are the steps I performed: rdev bzImage /dev/fd0 rdev bzImage 49152 rdev -R bzImage 0 dd if=/boot/bzImage of=/dev/fd0 I need this bootdisk for using Parition Image for Linux, the standard bootdisk (from partimage.com) does not work on my machine. The above are instructions from partimage's website, when I use the disk I get the following error: invalid compressed format (err=2) --system halted The boot process hangs right there. This is the first time I am using rdev and haven't understood completely the way is works, I didn't find the man page helpful either. Thanks Tinu __ redhat-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ This E-Mail is sent in confidence for the addressee only. Unauthorised recipients must preserve this confidentiality and should please advise the sender immediately by telephone (+44 (0)870 241 6492) and return the original E-Mail to the sender without taking a copy. Cyprotex has taken all reasonable precautions to ensure that no viruses are transmitted from Cyprotex to any third party. Cyprotex accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this E-Mail or the contents. -- redhat-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list