From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1En8lH-0001fC-B9 for garchives@archives.gentoo.org; Fri, 16 Dec 2005 06:08:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBG66mJX010553; Fri, 16 Dec 2005 06:06:48 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBG62gcS027978 for <gentoo-user@lists.gentoo.org>; Fri, 16 Dec 2005 06:02:42 GMT Received: by wproxy.gmail.com with SMTP id 68so525961wri for <gentoo-user@lists.gentoo.org>; Thu, 15 Dec 2005 22:02:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Yo79/EophlaFNb0WQmraF1RxiW1Q6Emg2/0dBTRy0U1DcMi3MJ8+qQQ9USiDwJG6JtG3NlV7IhSs5pRLf+YYtVZPfQ/WTkuCzv8dshHqKQfWp7NFli91U/zIMmICcVCawsCew9LFhCyfU2m0j/aD5spMzAZesPDDCx0gxIpawww= Received: by 10.54.110.11 with SMTP id i11mr3176177wrc; Thu, 15 Dec 2005 22:02:41 -0800 (PST) Received: by 10.54.69.9 with HTTP; Thu, 15 Dec 2005 22:02:41 -0800 (PST) Message-ID: <7573e9640512152202q29c3fa2eh505c7c9399be9656@mail.gmail.com> Date: Thu, 15 Dec 2005 23:02:41 -0700 From: Richard Fish <bigfish@asmallpond.org> Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [OT] how to make Bootable DVD/CDs [Was] Re: [gentoo-user] Backups In-Reply-To: <1134704432.312.12.camel@neuromancer.home.net> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <1cc2dc830512150503o789056d5n8bec0a3dbd514356@mail.gmail.com> <7573e9640512150853w3e222393naaed2d1802f783df@mail.gmail.com> <20051215191550.42ad893b@hactar.digimed.co.uk> <1134704432.312.12.camel@neuromancer.home.net> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id jBG62gcS027978 X-Archives-Salt: c8de8718-8477-48b9-a7af-83ffa5c24610 X-Archives-Hash: 6ec48062ba9492e58533af7024113020 On 12/15/05, Ow Mun Heng <Ow.Mun.Heng@wdc.com> wrote: > On Thu, 2005-12-15 at 19:15 +0000, Neil Bothwick wrote: > > > the rest. I then have a weekly cron script that compresses the backup > > directories with squashfs and writes them to ISO images ready for writing > > to bootable DVDs. It makes restoring individual files very easy, and a > > completely hosed system can be fixed because the DVDs are bootable. > > how can one create bootable CDs/DVDs? Is there a simple way to transfer > GRUB into the DVD/CDs? Or would "dd" of the /boot partition transfer the > whole thing?? The boot process for a CD is very very different than from a hard drive. Basically the BIOS has to pretend that the CD drive is actually a floppy, or a hard drive, for implementing the BIOS calls used by the boot loader. Doing a "dd" of a boot partition and writing that to a CD would not work. There are several different software packages that can make bootable CDs, including GRUB. Ok, it isn't really GRUB that makes the CD bootable, but mkisofs. To use GRUB, you have to make a /boot/grub directory in your CD tree, and copy the stage2_eltorito file into that directory along with grub.conf/menu.lst. Then when you run mkisofs, you add the options: -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table Someone who uses a GUI for CD burning will have to comment on how to do this without the command line! -Richard -- gentoo-user@gentoo.org mailing list