LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 12-09-2004, 10:13 AM   #1
bal_gill
LQ Newbie
 
Registered: Dec 2004
Distribution: SuSe 9.1
Posts: 2

Rep: Reputation: 0
Question Help needed to create a Boot disk for SuSe 9.1 Professional


Hi All,

I'm a newbie to Linux and have the following setup:

Area-51 Laptop
Lacie USB 80GB external drive with SuSe 9.1 installed.

Here's my problem.

1. I want to create a bootable CD so that I can take my distro to demo to clients.

The manual describes the following process:

Creating a bootable CD-ROM with GRUB merely requires a special form of stage2 called stage2_eltorito and, optionally, a customized menu.lst. The classic files stage1 and stage2 are not required.
Create a directory in which to create the ISO image, for example, with
cd /tmp

and

mkdir iso.

Also create a subdirectory for GRUB:

mkdir -p iso/boot/grub

Copy the file stage2_eltorito into the directory grub :

cp /usr/lib/grub/i386-pc/stage2_eltorito iso/boot/grub

Also copy the kernel (/boot/vmlinuz), the initrd (/boot/initrd), and the
file /boot/message to iso/boot/ :

cp /boot/vmlinuz iso/boot/
cp /boot/initrd iso/boot/
cp /boot/message iso/boot/

To make them available to GRUB, copy the file menu.lst to iso/boot and
adjust the path entries to make them point to a CD-ROM device. Do this by re-placing the device name of the hard disks, listed in the format (hd*), in the path names with the device name of the CD-ROM drive, which is (cd):

gfxmenu (cd)/boot/message
timeout 8
default 0
title Linux
kernel (cd)/boot/vmlinuz root=/dev/hda5 vga=794 resume=/dev/hda1
splash=verbose showopts
initrd (cd)/boot/initrd

Finally, create the ISO image with the following command:
mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \
-boot-load-size 4 -boot-info-table -o grub.iso iso

The issue I have with this approach is that the file stage2_eltorito does not exist anywhere on the filesystem and also I'm unsure of internal device name of my cd-rom device that needs to be replaced in the menu.lst file.

So, how do I go about doing this?
Any help would be much appreciated!

Cheers,
Bal

Last edited by bal_gill; 12-09-2004 at 10:18 AM.
 
  


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 create an XP dual boot after linux has been installed izquierdista Linux - Software 4 07-08-2005 02:01 PM
Create A Boot Disk maxf15 Amigo 5 04-16-2005 11:39 PM
Create a boot disk toddmvc Slackware 10 08-18-2003 03:32 AM
how to create a boot disk vichet Linux - Newbie 3 04-20-2002 06:12 AM
how do i create a boot disk? glock19 Linux - General 7 11-16-2001 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 10:16 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