Help - Search - Members - Calendar
Full Version: New challenge to boot BartPE from RAM/Firadisk on iMac
The CD Forum > Bart's PE Builder > General
uluwatu
Hi, I was helped to set up BartPE to boot fully in RAM from the system volume using GRUB4DOS in this post :
http://www.911cd.net/forums//index.php?sho...st&p=165074

- it has worked beautifully using XP Pro sp3 on a variety of WinTel equipment - desktops & lappies, and I'm very grateful for the help.

Now I run into an error when trying to use the same approach with XP Pro sp3 installed to partition 4 on an Intel iMac.

I do have rEFIt installed, but I get the same error (which I'll describe below) whether I allow rEFIt to manage the boot, or if I hold the "Alt-Option" key and get Mac's boot mgr.

On the C:\ volume I have:

QUOTE
boot.ini,
grldr
menu.lst
FIRADISK.GZ
BartPE.iso



My boot.ini file :

QUOTE
[boot loader]
timeout=15
default=multi(0)disk(0)rdisk(0)partition(4)\WINDOWS

[operating systems]
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Windows XP Pro" /noexecute=optin /fastdetect
C:\grldr="Start GRUB4DOS ldr"



My menu.lst file :

QUOTE
# global options
# color white/blue black/light-gray
color white/green white/blue

timeout 20
default 0
fallback 1

# menu entries

title 01. BartPE ISO from RAM
find --set-root /BartPE.iso
map --mem /FiraDisk.gz (fd0)
map --mem /BartPE.iso (0xff)
map --hook
chainloader (0xff)/I386/SETUPLDR.BIN || chainloader (0xff)/I386/setupldr.bin

title 02. Windows XP
chainloader (hd0)+1

title 03. Reboot
reboot

title 04. Commandline
commandline


--------------------------------
When I click the Windows logo at boot, of course it brings up the classic :

QUOTE
Windows XP
Start GRUB4DOS ldr



If I click "Start GRUB4DOS ldr", a screen flashes by too quickly for me to read it, and then presents a screen with this text,
which remains until I click to make some choice at the grub> _ prompt :

QUOTE
GRUB4DOS 0.4.4 2009-03-31, Memory: 639K / 2031M, MenuEnd: 0x483D8
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywere else TAB lists the possible
completions of a device/filename. ESC at any time exits. ]
grub> _



** Will greatly appreciate some insight to fix this so I can boot sooo quickly into BartPE from RAM on the system volume once again,
even if it is running on an iMac ! wink.gif
.
jaclaz
You are using a COMPLETELY OUTDATED and also NOT RECOMMENDED version of grub4dos, reknown for a number of bugs later fixed ph34r.gif.
Read the grub4dos WHERETO:
http://reboot.pro/14/
choose if you feel like using the current recommended and stable 0.4.4 version 16-10-2009 or LATEST 0.4.5 experimental.

You are also probebly using an outdated version of firadisk (but that is NOT current problem).
Get anyway LATEST (0.0.1.30):
http://reboot.pro/8804/

Basically that grub4dos CANNOT find it's menu.lst, there could be several reasons for that, but until you update to a current version there is no sense in attempting troubleshooting it.

Is the "multi(0)disk(0)rdisk(0)partition(4)" a Primary partition or a Logical Volume inside Extended?

OT, but not much wink.gif, you may be interested to this:
http://www.911cd.net/forums//index.php?showtopic=24100
Latest here:
http://www.911cd.net/forums//index.php?sho...24100&st=96

jaclaz
uluwatu
QUOTE (jaclaz @ Feb 18 2011, 06:39 PM) *
Is the "multi(0)disk(0)rdisk(0)partition(4)" a Primary partition or a Logical Volume inside Extended?

jaclaz

Thanks once again jaclaz! I will go collect those current versions and report back after an hour or two,
but to answer the question - it's a Primary.

I use a "non-Boot Camp" set-up - I make partitions using Disk Utility from the Snow Leopard Install DVD,
& basically just use the Boot Camp.exe to install the drivers.

technical partition 1 = EFI protective partition......disk0s1
technical partition 2 = "Snow Leopard" = HFS+....diskos2
technical partition 3 = "WinDATA"= NTFS............disk0s3
technical partition 4= "XP"= NTFS......................disk0s4
technical partition 5= "macDATA" = HFS+..........disk0s5

see you in a little while bye2.gif
jaclaz
Once you get to the grub4dos grub> prompt, enter in it:
CODE
geometry (h

[TAB]
If you have only one hard disk it should complete to :
CODE
geometry (hd0)

or anyway type the above and press [ENTER]

What does grub4dos give as feedback?

CODE
root (hd0,

[TAB]
try autocompleting to:
CODE
root (hd0,0)

[ENTER]
CODE
root (hd0,1)

[ENTER]
CODE
root (hd0,2)

[ENTER]
etc.
What is the result of each root command entered?

jaclaz
uluwatu
QUOTE (jaclaz @ Feb 18 2011, 06:55 PM) *
What does grub4dos give as feedback?

jaclaz


OK, will try, but 1st - do I replace my existing FIRADISK.GZ MD5 = 80f51bc7fabb1457a4b32e210918453a @ 28 KB

with firadisk.img MD5 = 3d6f1c5a5fd21dd22e6a3da54922aa8c @ 1.40 MB ?
jaclaz
QUOTE (uluwatu @ Feb 18 2011, 07:59 PM) *
OK, will try, but 1st - do I replace my existing FIRADISK.GZ MD5 = 80f51bc7fabb1457a4b32e210918453a @ 28 KB

with firadisk.img MD5 = 3d6f1c5a5fd21dd22e6a3da54922aa8c @ 1.40 MB ?

FORGET for the moment about firadisk, it comes as a LATER problem.

Quite obviously firadisk.gz is a gzipped version of firadisk.ima or firadisk.img.
You get LATEST firadisk driver, you create a floppy image of it, and then you optionally gzip it.
Or you get any firadisk.gz you may have, UNgzip it to firadisk.ima or .img, mount it or however replace it's contents with LATEST version, then optionally re-gzip it.

Do you really think anyone can guess WHERE you got those images by their MD5 and tell you something about them - like which version, etc.? unsure.gif

jaclaz
uluwatu
QUOTE (jaclaz @ Feb 18 2011, 08:12 PM) *
Do you really think anyone can guess WHERE you got those images by their MD5 and tell you something about them - like which version, etc.? unsure.gif

jaclaz


I don't understand your intent with this question?
My intent in providing the MD5 is that at my meager level of skill, this is the best/only way I know of communicating which version I have.
If I can do better, kindly explain and I'll do my best to comply biggrin.gif

I just replaced my original grldr with the newer one just downloaded,
then i connected a keyboard with a Pause/Break key, now I capture the initial screen with Pause:

QUOTE
GRUB4DOS 0.4.4 2009-10-16, Memory: 639K / 2031M, MenuEnd: 0x49028

find /menu.lst, /boot/grub/menu.lst, /grub/menu.lst
commandline
reboot
halt


edit - seems like this "newer" one is the same 0.4.4 as my original one ,
and also, as far as I can recall, I visited your same links to obtain the original one(s), but, we'll see ~
jaclaz
QUOTE (uluwatu @ Feb 18 2011, 08:19 PM) *
edit - seems like this "newer" one is the same 0.4.4 as my original one ,


QUOTE (uluwatu @ Feb 18 2011, 08:19 PM) *
GRUB4DOS 0.4.4 2009-10-16, Memory: 639K / 2031M, MenuEnd: 0x49028


QUOTE (uluwatu @ Feb 18 2011, 07:27 PM) *
GRUB4DOS 0.4.4 2009-03-31, Memory: 639K / 2031M, MenuEnd: 0x483D8


Can you spot the difference? unsure.gif

If you communicate a MD5, you communicate a file hash.
Since there are at least 30 (as in 0.0.1.30) versions of the driver, that may have been added to a floppy image by m people and later gzipped by n people (same or other) with different gzip compatible compressors, we have a nice 30^m^n range of possible MD5's. w00t.gif
A file hash ONLY makes sense if it comes "coupled" with a given version AND a download link, it is used to verify that a given download was successful and no corruption occurred.

A doubt: you do know what a floppy image is and what gzip is, right? hmm.gif

jaclaz
uluwatu
ah yes, the devil is in the details, and he's biting my de-tail right now!

Here are the results of the previous request :

note: this is a WD 1.5 TB SATA II drive jumpered to perform @ SATA I which is what this early 2006 Intel iMac mobo supports


grub> geometry (h
drive 0x80(LBA): C/H/S=1024/255/63, Sector Count/Size=16450560/512
Partition num: 0, Filesystem type unknown, partition type 0xEE
Partition num: 1, Filesystem type unknown, partition type 0xAF
Partition num: 2, Filesystem type unknown, partition type 0x07
Partition num: 3, active, Filesystem type unknown, partition type 0x07

btw - I appreciate all tutorings/learnings - I didn't understand those further distinctions about the MD5.

CODE
http://en.wikipedia.org/wiki/Gzip
ok,

now my original setup seems to perform fine using the compressed file -
I guess I should perform my own experiment to see what will happen if I use the .img uncompressed file ?

edit 2 : so I decompressed the FIRADISK.GZ to firadisk.img, and then needed to update the listing in the menu.lst file
from map --mem /FiraDisk.gz (fd0) to map --mem /firadisk.img (fd0) and works fine -
this is just a little notation for other beginners like myself

------------------------------
grub> root (hd0,
Error 11: Unrecognized device string, or you omitted the required DEVICE part
which should lead the filename.
------------------------------
grub> root (hd0, 0)
Error 11: Unrecognized device string, or you omitted the required DEVICE part
which should lead the filename.
------------------------------
grub> root (hd0, 1)
Error 11: Unrecognized device string, or you omitted the required DEVICE part
which should lead the filename.
------------------------------
grub> root (hd0, 2)
Error 11: Unrecognized device string, or you omitted the required DEVICE part
which should lead the filename.
------------------------------
grub> root (hd0, 3)
Error 11: Unrecognized device string, or you omitted the required DEVICE part
which should lead the filename.
------------------------------
jaclaz
It seems like instead of issuing the command:
QUOTE
root (hd0,n)


you issued the command:
QUOTE
root (hd0,[SPACE]n)


And you didn't pay the needed attention. ph34r.gif

If I tell you to type:
CODE
root (hd0,

and press the [TAB] key, you should press the [TAB] key AND NOT the [ENTER] key. whistling.gif

If you are going to use grub4dos you should have read and understood it's guide:
http://diddy.boot-land.net/grub4dos/Grub4dos.htm
ALL of it.
These might be of interest to you, and represent the very minimum you should be familiar with:
http://diddy.boot-land.net/grub4dos/files/basics.htm
http://diddy.boot-land.net/grub4dos/files/cli.htm

jaclaz
uluwatu
oops.gif thanks very much for your patience ..... i'll get this correct yet!

QUOTE (jaclaz @ Feb 18 2011, 06:55 PM) *
Once you get to the grub4dos grub> prompt, enter in it:
CODE
geometry (h

[TAB]

If you have only one hard disk it should complete to :
CODE
geometry (hd0)


I did:
CODE
grub> geometry (h
[TAB]

Possible partitions are:
Partition num: 0, Filesystem type unknown, partition type 0xEE
Partition num: 1, Filesystem type unknown, partition type 0xAF
Partition num: 2, Filesystem type unknown, partition type 0x07
Partition num: 3, active, Filesystem type unknown, partition type 0x07


QUOTE
or anyway type the above and press [ENTER]

What does grub4dos give as feedback?


I did:
CODE
grub> geometry (h
[ENTER]

Error 11: Unrecognized device string, or you omitted the required DEVICE part which should lead the filename.


QUOTE
CODE
root (hd0,

[TAB]


I did:
CODE
root (hd0,
[TAB]

Possible partitions are:
Partition num: 0, Filesystem type unknown, partition type 0xEE
Partition num: 1, Filesystem type unknown, partition type 0xAF
Partition num: 2, Filesystem type unknown, partition type 0x07
Partition num: 3, active, Filesystem type unknown, partition type 0x07


QUOTE
try autocompleting to:
CODE
root (hd0,0)

[ENTER]


I did:
CODE
root (hd0,0)
[ENTER]  

Error 17: Cannot mount selected partition


QUOTE
CODE
root (hd0,1)

[ENTER]


I did:
CODE
root (hd0,1)
[ENTER]

Error 17: Cannot mount selected partition


QUOTE
CODE
root (hd0,2)

[ENTER]
etc.

What is the result of each root command entered?


I did:
CODE
root (hd0,2)
[ENTER]

Error 17: Cannot mount selected partition


I did:
CODE
root (hd0,3)
[ENTER]

Error 17: Cannot mount selected partition


I did:
CODE
root (hd0,4)
[ENTER]

Error 22: No such partition


************************

jaclaz, I hope I have correctly followed your instructions thumbsup.gif

Question - is there a code in these bulletin board forums to increase space in a sentence string? i was unsuccessful using <br> or <&nbsp>

Now I'll be off to study the suggested links, :thanks:

biggrin.gif

SBernheart

If I can add something to help you along the way (to reach your goal), if someone posts "coded" instructions such as....

CODE
root (hd0,0)

....you're better off 'copying/pasting' the coded material into wherever you're putting it. 99.9% of the time, it's very accurate and it's typed in 'code' for you so there's less likely a mistake is made (like trying to distinguish whether there IS a space or NOT). Sure, they get it wrong once in a blue moon, but they always correct their mistakes so no worries, eh? wink.gif

Hope this helps....

SBernheart
uluwatu
QUOTE (SBernheart @ Feb 19 2011, 01:42 PM) *
Hope this helps....

SBernheart


thumbsup.gif
SBernheart

I have it on great authority that when working with coded material "NO you cannot copy and paste it" is almost ALWAYS the rule. wink.gif

Personally speaking, I will still "copy/paste in Notepad, print it out (if needed) and then CAREFULLY type the code at prompts manually".
Now I'll use Notepad to better *see* if the spaces ARE there, or if the 'very hard to distinguish' spaces are not! rolleyes.gif

Sorry for any confusion, uluwatu. blush.gif

SBernheart
jaclaz
@Sarah
It's not the case of "one-size-fits-all".
Your advice makes LOTS of sense for commands that are to be issued on a Windows (or Linux) console (i.e. any command line interface inside a windowed, multitasking environment) thumbsup.gif , but it make of course NO sense when you apply it to "pure" DOS or to a pre-boot environment like grub4dos prompt sad.gif.

@uluwatu
The Errors 17 while trying to establish root on partitions (hd0,0) and (hd0,1) are "normal" and expected since those partitions have a filesystem that is NOT among the ones grub4dos recognizes and can access.
QUOTE
Partition num: 0, Filesystem type unknown, partition type 0xEE
Partition num: 1, Filesystem type unknown, partition type 0xAF


The same error on the other two partitions (hd0,2) and (hd0,3) is on the contrary "unusual", since, even if it says that the filesystem is "unknown", grub4dos can access NTFS filesystems (type 0x07) allright:
QUOTE
Partition num: 2, Filesystem type unknown, partition type 0x07
Partition num: 3, active, Filesystem type unknown, partition type 0x07


The problem is likely to be caused by some problem in the placement of these partitions. hmm.gif

Now, it is the right time to try and use the latest experimental 0.4.5 version by chenall.
Simply get it:
http://code.google.com/p/grub4dos-chenall/downloads/list
and repeat the previous tests and report.

jaclaz
uluwatu
QUOTE (jaclaz @ Feb 20 2011, 11:40 AM) *
Now, it is the right time to try and use the latest experimental 0.4.5 version by chenall.
Simply get it:
http://code.google.com/p/grub4dos-chenall/downloads/list
and repeat the previous tests and report.

jaclaz


[feb.21.mon] Thanking you again for your time & assistance, will be able to get to it later today & report back thumbsup.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.