Jump to content











Photo
- - - - -

PARTED MAGIC 5.10 ISO BOOT


  • Please log in to reply
28 replies to this topic

#1 Technotika

Technotika

    Frequent Member

  • Advanced user
  • 419 posts
  • Location:United Kingdom
  •  
    United Kingdom

Posted 01 April 2011 - 03:13 AM

Hi

Anyone got this working from ISO yet?

So far I ported working settings from 5.5 & also a reported working setting up of 5.8, with no success:-



title                            ³ 8.PARTED MAGIC 5.10 ³\n                           	"Partitioning Suite"

find --set-root --ignore-floppies /ISO/APP/pmagic.iso

map --heads=0 --sectors-per-track=0 /ISO/APP/pmagic.iso (hd32)

map --hook

root (hd32)

kernel /pmagic/bzImage noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=10 loglevel=0 keymap=uk iso_filename=/ISO/APP/pmagic.iso

initrd /pmagic/initramfs


If I try a bog Standard ISO (hd32 0r 0xff) map Sqfs never gets found (yawn) & with the above a white screen and a forced reboot!

thnaks!

#2 davlak

davlak

    Frequent Member

  • Advanced user
  • 224 posts
  •  
    Italy

Posted 01 April 2011 - 05:46 AM

my personal approach should be to trick the isolinux.cfg into the pmagic.iso/boot/syslinux folder and then rebuild the iso.
delete the following from menu.lst


iso_filename=/ISO/APP/pmagic.iso 


and add the following to each line inside the mentioned isolinux.cfg


iso_location=/ISO/APP/ iso_filename=/ISO/APP/pmagic.iso


after:


APPEND edd=off


so in your case:


APPEND edd=off iso_location=/ISO/APP/ iso_filename=/ISO/APP/pmagic.iso


OR put the iso inside a folder pmagic on the root of the drive.
in this case no trick is needed, either in isolinux.cfg or in the menu.lst...if I remember right.

p.s. iso_filename=/ISO/APP/pmagic.iso is needed only when changing the name of the iso.

EDIT: isolinux.cfg path corrected

#3 davlak

davlak

    Frequent Member

  • Advanced user
  • 224 posts
  •  
    Italy

Posted 01 April 2011 - 07:38 AM

p.p.s: obviously you can also create a dedicated configfile, i.e. parted.ini
menu.lst:

configfile /path of your parted.ini


and inside the parted.ini you may add each the isolinux.cfg commands, modified for grub4dos, i.e.:


title 1. Parted Magic 5.10 Default settings (Runs from RAM)

find --set-root /ISO/APP/pmagic.iso

map /ISO/APP/pmagic.iso (hd32) || map --mem /ISO/APP/pmagic.iso (hd32)

map --hook

root (hd32)

kernel /pmagic/bzImage edd=off iso_location=/ISO/APP/ iso_filename=/ISO/APP/pmagic.iso noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=788 loglevel=0 max_loop=256 vmalloc=256MiB

initrd /pmagic/initramfs


and so on...

#4 skyide

skyide

    Frequent Member

  • Advanced user
  • 218 posts
  •  
    Australia

Posted 01 April 2011 - 07:55 AM

No problems here


title Parted Magic Live CD (5.10)

root (hd0,10)

map --heads=0 --sectors-per-track=0 (hd0,10)/pmagic-5.10.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem (hd0,10)/pmagic-5.10.iso (0xff)

map --hook

chainloader (0xff)


Contents of (hd0,10)
- pmagic-5.10.iso
- pmagic (this is a folder extracted from the ISO)

#5 steve6375

steve6375

    Platinum Member

  • Developer
  • 7567 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 01 April 2011 - 08:48 AM

here are my tests (ISO file only).


title pmagic-5.10.iso - ISO from UFD    DOES NOT WORK !!!

find --set-root --ignore-floppies /_ISO/pmagic-5.10.iso

map --heads=0 --sectors-per-track=0 /_ISO/pmagic-5.10.iso (0xff)

map --hook

root (0xff)

chainloader (0xff)



title Parted Magic 5.10.iso ISO (in ram hard disk)    WORKS

find --set-root /_ISO/pmagic-5.10.iso 

map --heads=0 --sectors-per-track=0 /_ISO/pmagic-5.10.iso (hd32)

map --hook

root (hd32)

kernel /pmagic/bzImage noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=10 loglevel=0 keymap=uk iso_filename=/_ISO/pmagic-5.10.iso

initrd /pmagic/initramfs

map --unmap=0:0xff



title Parted Magic 5.10.iso - using Memdisk WORKS

kernel /_ISO/memdisk

initrd /_ISO/pmagic-5.10.iso



#6 Technotika

Technotika

    Frequent Member

  • Advanced user
  • 419 posts
  • Location:United Kingdom
  •  
    United Kingdom

Posted 01 April 2011 - 11:07 AM

excellent stuff - the memdisk option looks promising nice and neat! although I always thought memdisk was a syslinux thing - but then again what do I know ? (nowt) hence the questions - cheers !! edit - sweet as with memdisk!!! thanks :dubbio:

#7 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 01 April 2011 - 11:45 AM

This works for me with UFD and CD:

title pmagic-5.10

find --set-root /images/pmagic-5.10.iso

map --heads=0 --sectors-per-track=0 /images/pmagic-5.10.iso (hd32) || map --mem --heads=0 --sectors-per-track=0 /images/pmagic-5.10.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)


"Works" means that pmagic comes up well.
I did not test every function.

Peter

#8 steve6375

steve6375

    Platinum Member

  • Developer
  • 7567 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 01 April 2011 - 11:59 AM

This works for me with UFD and CD:

title pmagic-5.10

find --set-root /images/pmagic-5.10.iso

map --heads=0 --sectors-per-track=0 /images/pmagic-5.10.iso (hd32) || map --mem --heads=0 --sectors-per-track=0 /images/pmagic-5.10.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)


"Works" means that pmagic comes up well.
I did not test every function.

Peter


Doesn't work for me on UFD (CD not tested) - it may depend on the system used, the previous version had problems with the vmalloc setting - one setting worked for some but not for others. I see this version is pre-set to 256MiB. see http://reboot.pro/14...post__p__124087

#9 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 01 April 2011 - 01:49 PM

Doesn't work for me on UFD (CD not tested) - it may depend on the system used, the previous version had problems with the vmalloc setting - one setting worked for some but not for others. I see this version is pre-set to 256MiB. see http://reboot.pro/14...post__p__124087

Do you have some hints about system differences? "previous version" of what?

I format the UFD with your RMPartUSB ( :dubbio:) version 2.01.0619 with parameters: [DRIVE=2 FAT32 WINPE VOLUME=multiPE_MB]
GrubInst.exe with parameters: [--verbose --skip-mbr-test (hd2)]

Peter

#10 steve6375

steve6375

    Platinum Member

  • Developer
  • 7567 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 01 April 2011 - 03:34 PM

sorry, I mean previous versions of pmagic. Did you read the thread I linked to?

#11 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 01 April 2011 - 04:31 PM

sorry, I mean previous versions of pmagic. Did you read the thread I linked to?

Yes, I did. But I did not find a logical relation to the actual issue. Maybe it depends on my low Grub4Dos knowledge.

I tried older pmagic versions:
title pmagic-5.10

find --set-root /images/pmagic-5.10.iso

map --heads=0 --sectors-per-track=0 /images/pmagic-5.10.iso (hd32) || map --mem --heads=0 --sectors-per-track=0 /images/pmagic-5.10.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)



title pmagic-5.7

find --set-root /images/pmagic-5.7.iso

map --heads=0 --sectors-per-track=0 /images/pmagic-5.7.iso (hd32) || map --mem --heads=0 --sectors-per-track=0 /images/pmagic-5.7.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)



title pmagic-5.9

find --set-root /images/pmagic-5.9.iso

map --heads=0 --sectors-per-track=0 /images/pmagic-5.9.iso (hd32) || map --mem --heads=0 --sectors-per-track=0 /images/pmagic-5.9.iso (hd32)

map --hook

root (hd32)

chainloader (hd32)

They all started pmagic succesfully from the UFD.

Maybe it depends on my hardware.
Motherboard ASUS P5KPL-AM
UFD Lexar Geyser Jumpdrive 1 GB

Peter

#12 steve6375

steve6375

    Platinum Member

  • Developer
  • 7567 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 01 April 2011 - 04:48 PM

OK, I think the problem is where the ISO is located! According to my notes on my website it must be in the root, /pmagic or /images folder, otherwise it won't work. This may explain why it did not work for me in my /_ISO folder! Also the name of the iso must not be changed.

I just booted from my EeePC 904HA using /x/x.iso and it did not find the sqfs (nor in QEMU). I then added the iso file named pmagic-5.10.iso to \pmagic folder and it booted even though the grub4dos still mapped the x/x.iso file. So I tried (with no pmagic iso's at all except the single one which I renamed) as follows...

/x/x.iso NOT WORK
/images/x.iso NOT WORK
/images/pmagic-5.10.iso WORKS
/images/Pmagic-5.10.iso WORKS (capital P)

(sorry for misleading crossed-out text earlier, I forgot I still had a correctly named ISO on my USB stick!).
So it is definitely path and name dependent!

#13 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 01 April 2011 - 06:56 PM

...even though the grub4dos still mapped the x/x.iso file...

Since Linux doesn't have a GRUB4DOS sector-mapped/file-backed disk driver, it doesn't matter what you map with GRUB4DOS, from Linux' perspective. Linux can only work with information passed on the kernel command-line, through an initramfs, or hard-coded in startup scripts. GRUB4DOS mappings are pre-kernel. Looking for the SquashFS is post-kernel. Pre-kernel drives do not persist into post-kernel time.

#14 skyide

skyide

    Frequent Member

  • Advanced user
  • 218 posts
  •  
    Australia

Posted 01 April 2011 - 09:38 PM

Doesn't work for me on UFD (CD not tested)


Just place the pmagic folder on the root of the UFD and it should be fine.

I tried older pmagic versions:


Some of the older ones work without the need of dropping the pmagic folder on the root of the UFD and they just work but some still require you to do this. Probably different init scripts.

#15 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 01 April 2011 - 10:10 PM

Has anyone actually READ davlak's post? ;)

There are TWO parameters:
  • iso_location=/ISO/APP/
  • iso_filename=/ISO/APP/isoname.iso
First one says WHERE the .iso is ( IF NOT / or /pmagic/ or /images/ )
Second one says WHAT name the .iso has (IF NOT pagicx.yz.iso )

And someone didn't even read a previous reply to one of his posts :thumbsup::
http://reboot.pro/12491/
http://reboot.pro/12491/page__st__12

Now, if you change the .iso location, you need to add the iso_location= parameter, if you change the iso filename you need to add the iso_filename= one, if you do BOTH, you need BOTH parameters...

:cheers:
Wonko

#16 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 01 April 2011 - 10:33 PM

And someone didn't even read a previous reply to one of his posts :thumbsup::

It's too bad that Icecube's post didn't make any difference. Trying to help, sometimes you fail... Or maybe it just slips between the cracks. ;)

#17 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 01 April 2011 - 10:57 PM

It's too bad that Icecube's post didn't make any difference. Trying to help, sometimes you fail... Or maybe it just slips between the cracks. :thumbsup:


I have an obviously more grumpy :cheers: opinion on this.
"Cracks" are created by NOT taking the needed time to READ, think, research, do tests using some logic BEFORE posting.... ;) or, if you prefer, conditions for slipping are created or at least increased artificially.... :cheers:

:cheers:
Wonko

#18 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 02 April 2011 - 05:11 PM

Here I have some personal unexplained issues:

I use successfully the "Standard" \images folder for all ISOs in my project.
I use successfully all the original ISO names in my projects.

My answering reaction to this topic is caused by the fact that I do not have any problem, neither with UFD nor with CD / DVD.

And in my project, I do not see any reason to rename \images to \myimages or \pmagic.??? to \mypmagic.???

What is the reason to try changing the standard directory or the ISO name?

Peter

#19 steve6375

steve6375

    Platinum Member

  • Developer
  • 7567 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 03 April 2011 - 07:59 AM

...

#20 desin

desin
  • Members
  • 7 posts
  •  
    Switzerland

Posted 03 April 2011 - 03:18 PM

this works for me (grub4dos)

title Parted Magic v5.10
find --set-root --ignore-floppies /pmagic-5.10.iso
map --heads=0 --sectors-per-track=0 /pmagic-5.10.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)

with the iso in the root eg. /pmagic-5.10.iso

#21 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 03 April 2011 - 10:01 PM

this works for me (grub4dos)

Really? :)

They are so much different from the settings already reported to be working allright (post #4).... :whistling:

BTW, post #15 (AND given links in it) do explain WHY it does work and WHAT to do if you want to place the .iso not in the parsed by default paths and/or you rename it.

@pscEX

What is the reason to try changing the standard directory or the ISO name?

Because it can be done? :smiling9:
Another attempt to introduce variations WITHOUT need, just for the sake of failing (because of NOT reading first available info)? :dubbio:


:rolleyes:
Wonko

#22 skyide

skyide

    Frequent Member

  • Advanced user
  • 218 posts
  •  
    Australia

Posted 04 April 2011 - 10:05 AM

The way I have done works for most distributions and not just Parted Magic -- this is -- when you copy their live system and paste it in the same location on the UFD as in the ISO. All you have to do after you have done this is add an entry in menu.lst. However some distributions (not many) have hard coded instructions to look for the live system only on optical drives. On my old UFD I have about 23 or more different distributions on 23 or more UFD partitions...If you have Ultra ISO installed you can delete the live system from within the ISO to save space but this is not necessary if you have plenty of space.

#23 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 04 April 2011 - 10:50 AM

This was the official documentation for ISO booting Parted Magic with grub4dos, when it was officially supported:
http://replay.waybac...so-booting.html

Only the map ... (hd32) must be replaced with:
map --heads=0 --sectors-per-track=0 ... (hd32)

If you have RAM enough, why don't you use MEMDISK to load the Parted Magic iso?
title Parted Magic ISO with MEMDISK

kernel /memdisk iso

initrd /some/random/path/partedmagic/loaded/via/MEMDISK/doesnt/care/partedmagic.iso


#24 desin

desin
  • Members
  • 7 posts
  •  
    Switzerland

Posted 04 April 2011 - 07:12 PM

sorry Wonko

thanks for clarifying

comming from MultiPE Leopard v2 sp1

with /Boot/IMG/pmagic*.iso (hd32)

that does not work

it was just the easyest solution that works

#25 zeets

zeets

    Newbie

  • Members
  • 26 posts
  •  
    United States

Posted 08 April 2011 - 06:53 AM

No problems here


title Parted Magic Live CD (5.10)

root (hd0,10)

map --heads=0 --sectors-per-track=0 (hd0,10)/pmagic-5.10.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem (hd0,10)/pmagic-5.10.iso (0xff)

map --hook

chainloader (0xff)


Contents of (hd0,10)
- pmagic-5.10.iso
- pmagic (this is a folder extracted from the ISO)

Is there a way to do this without partitioning the UFD?

I'm a newb to grub4dos, just looking to set up a UFD with a few tools - TrueCrypt, Ghost and Parted Magic. Got the first two, and trying to get Parted Magic without making things too complicated. Thanks.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users