LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-16-2010, 03:30 AM   #1
OverKll
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
adding files extracted from an ISO to GRUB2 bootloader


I have extracted the files from a bootable CD to /dev/sdc2/bootable/winpwrec with the hope of booting from the hard drive. I have read the grub.cfg file and a couple of guides here and I'm still not sure what I'm doing. Is there any chance someone can tell me what I need to add to the grub.cfg file to add this to the boot menu? I am pretty well-versed in computers but I'm new to Linux and I'm still trying to get acquainted with the OS, terminology, and the boot loader. I'm using Ubuntu 9.10, if that matters.

files in the folder:
BOOT.CAT;1 ISOLINUX.BIN;1 SCSI.CGZ;1
BOOT.MSG;1 ISOLINUX.CFG;1 SYSLINUX.CFG;1 VMLINUZ.;1
INITRD.CGZ;1 README.TXT;1 SYSLINUX.EXE;1

isolinux.cfg
Code:
#serial 0 19200

default boot

display boot.msg

timeout 250

prompt 1

label boot

  kernel vmlinuz



append rw vga=1 initrd=initrd.cgz,scsi.cgz 

#console=ttyS0
syslinux.cfg
Code:
#serial 0 19200

default boot

display boot.msg

timeout 250

prompt 1

label boot

  kernel vmlinuz



append rw vga=1 initrd=initrd.cgz,scsi.cgz 

#console=ttyS0
Thanks for your help,
Overkill
 
Old 02-21-2010, 04:28 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
VMLINUZ is the kernel, the INITRD.CGZ may be the initrd image and SCSI.CGZ may be a floppy-size disk holding extra drivers. The BOOT.CAT, BOOT.MSG, ISOLINUX.CFG, ISOLINUX.BIN, SYSLINUX.CFG, README.TXT and SYSLINUX.EXE files are used for El Torito-booting the CDROM. Since you don't have the file system-to-boot on disk and the compression of supporting *.CGZ files is unknown this entry would fail anyway but for examples sake, if all files reside on the first partition ",0" on the first harddisk "hd0" (all as GRUB would recognize it) then a grub.conf entry could look like
Code:
title BootWhatever
 root (hd0,0)
 kernel /VMLINUZ
 initrd /INITRD.CGZ
 boot
(http://syslinux.zytor.com/wiki/index...slinux_Project)
 
Old 02-21-2010, 04:49 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Grub2 is supposed to be able to boot (bootable) iso's directly. I've seen reports that this support is (at best) flakey - then again, I still consider gub2 as beta software; flakey by definition.
@OverKll (if you aren't aware) an iso is the "image" of a bootable CD.
In Linux terms you can create an iso simply be "dd"ing the CD to a disk file - then you might be able to boot it directly. Is this what you're looking for ?.
 
Old 02-22-2010, 07:35 AM   #4
OverKll
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Grub2 is supposed to be able to boot (bootable) iso's directly. I've seen reports that this support is (at best) flakey - then again, I still consider gub2 as beta software; flakey by definition.
@OverKll (if you aren't aware) an iso is the "image" of a bootable CD.
In Linux terms you can create an iso simply be "dd"ing the CD to a disk file - then you might be able to boot it directly. Is this what you're looking for ?.
I was hoping there would be a way to set it up basically the same way that memtest is done with the ubuntu distro so that I don't have to do any partitioning, etc. It's not a big deal, just one of the things I was hoping to explore now that I've gotten off my @ and installed linux :P
 
  


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
Anyone tried grub2 to boot of an iso? niravshah Linux - Newbie 12 08-03-2010 09:53 AM
Mount ISO as specific device (ie: /dev/sda1) with GRUB2 to boot KNOPPIX live cd iso BLuFeNiX Linux - General 2 12-23-2009 01:31 AM
Grub2 and iso boot ---- Again niravshah Linux - Newbie 6 09-18-2009 03:32 PM
downloaded novell OS, extracted ISO and now trying to install randell6564 SUSE / openSUSE 8 11-16-2005 02:10 PM
Best for installation - extracted or unextracted ISO? Andrew Holmes Linux - Newbie 4 11-26-2004 10:58 AM

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

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