LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-27-2011, 10:57 PM   #1
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Cannot boot Hiren's Boot from an ISO on ext3?


Hi,

I want to boot Hiren's Boot CD from an ISO file on HDD. Under Windows, I put the ISO file into C: drive, use grub4dos and configure something like this:
Code:
title Hiren's Boot 9.8 map chainloader
find --set-root /hiren98.iso
map (hd0,0)/hiren98.iso (0xff) || map --mem (hd0,0)/hiren98.iso (0xff)
map --hook
chainloader (0xff)
boot
and it works fine.

But under Gentoo, put the ISO file into / and try 2 different ways
Code:
title Hiren's Boot 9.8 kernel initrd
root (hd0,0)
kernel /boot/grub/HBCD/memdisk quiet
initrd /boot/grub/HBCD/boot.gz /s
(tried to put the HBCD folder on both of / and /boot/grub/)
Code:
title Hiren's Boot 9.8 map chainloader
find --set-root /hiren98.iso
map (hd0,0)/hiren98.iso (0xff) || map --mem (hd0,0)/hiren98.iso (0xff)
map --hook
chainloader (0xff)
boot
and none of them works. With the first, I can boot into interactive menu, but whenever I choose an application (such as Acronis Disk Director Suite, Ghost, ...), I got the error:
Quote:
"HBCD folder not found! Do you want to try again?"
With the second, it gives me the "Error 15: file not found" at the `find` command, although I can found it without --set-root:
Code:
grub> find /hiren98.iso
(hd0,0)
If I bypass the `find` command, I got the other error with `map --hook` command:
Quote:
ERROR 11: Unrecognized device string
Does Hiren's works with ext3 partition? Is there any different between GRUB4DOS and GNU GRUB?

Last edited by quanta; 03-28-2011 at 09:21 PM.
 
Old 03-28-2011, 04:04 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,996

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Grub and Grub4dos may have some differences. Dunno which grub you have and how it was compiled so I can't even guess.

You could load grub4dos from grub and do it that way I guess.


See this for more clues. http://ubuntuforums.org/showthread.php?t=1549847
 
1 members found this post helpful.
Old 03-28-2011, 11:32 PM   #3
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Original Poster
Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by jefro View Post
You could load grub4dos from grub and do it that way I guess.
Oh, why didn't I think of that! Follow your suggestion, I solved it by the steps below:

- download grub4dos and extract it
- create grub4dos folder in /boot/grub
- copy grub.exe from above extracted folder to /boot/grub/grub4dos
- add an entry into /boot/grub/menu.lst:
Code:
title Hiren's Boot CD 9.8
root (hd0,0)
kernel /boot/grub/grub4dos/grub.exe --config-file="find --set-root /hiren98.iso; map /hiren98.iso (0xff) || map --mem /hiren98.iso (0xff); map --hook; chainloader (0xff); boot"
One more thing: at the first time, I also copy the menu.lst to /boot/grub/grub4dos and passing to --config-file but it didn't work. Don't know why.
 
Old 03-29-2011, 03:19 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,996

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Post this on new thread maybe to get others input.

One more thing: at the first time, I also copy the menu.lst to /boot/grub/grub4dos and passing to --config-file but it didn't work. Don't know why.
 
  


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
Could not completely boot Knoppix 6.2 from ISO on ext3 quanta Linux - Distributions 2 03-20-2011 08:42 AM
Extract ISO to HD, create ISO from Extractions, Boot ISO LemensTS Linux - Software 1 12-28-2010 01:10 PM
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
how to create disk on key boot from boot.iso prince amir Linux - Enterprise 2 12-19-2007 01:57 AM
/boot ext2 or ext3? xushi Slackware 27 07-08-2005 11:52 PM

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

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