SevenPE with tftpd32
#26
Posted 30 August 2011 - 07:35 PM
i will try that
Mean while, i'm trying to boot parted magic from grub4dos, it boot fine on pxelinux, but if i make it run on grub4dos
i will not need another link to other boot manager (pxelinux).
this is my code on pxelinux:
label parted magic
kernel images/pmagic/bzImage
append noapic initrd=images/pmagic/initramfs root=/dev/ram0 init=/linuxrc ramdisk_size=100000
you are the genius of grub4dos (and others more ) maybe you can help me on this one too
many thanks
#27
Posted 31 August 2011 - 08:20 AM
this is my code on pxelinux:
label parted magic
kernel images/pmagic/bzImage
append noapic initrd=images/pmagic/initramfs root=/dev/ram0 init=/linuxrc ramdisk_size=100000
And what is the problem?
"translate" it to grub4dos syntax.
Hints:
http://reboot.pro/10005/
http://reboot.pro/5845/
Wonko
#28
Posted 31 August 2011 - 11:22 AM
this is my code and its working
title parted magic
kernel /images/pmagic/bzImage append noapic
initrd=/images/pmagic/initramfs root=/dev/ram0 init=/linuxrc ramdisk_size=100000
many thanks
Edited by guimenez, 31 August 2011 - 11:22 AM.
#29
Posted 31 August 2011 - 12:23 PM
NO.this is my code and its working
This is your code allright:
title parted magic kernel /images/pmagic/bzImage append noapic initrd=/images/pmagic/initramfs root=/dev/ram0 init=/linuxrc ramdisk_size=100000
But it is NOT the correct translation of anything, try re-reading, this time attentively these:
http://reboot.pro/10005/page__st__1
http://reboot.pro/5845/page__st__1
So, it may work, but a number of parameters are simply ignored, and anyway it does NOT respect grub4dos syntax AND only by pure chance it is parsed correctly.
.
Wonko
#30
Posted 31 August 2011 - 07:09 PM
But i've try with this code in 15 machines and it work always
i'm missing something?
theres any command to change the languaGE at startup?
#31
Posted 31 August 2011 - 08:47 PM
initrd=/images/pmagic/initramfs root=/dev/ram0 init=/linuxrc ramdisk_size=100000
For Info: grub4dos is actually coded to replace an '=' sign found after a command with a ' '. This is why this line works and why lines like gfxmenu=message and echo=fred work too.
#32
Posted 01 September 2011 - 09:03 AM
initrd=/images/pmagic/initramfs root=/dev/ram0 init=/linuxrc ramdisk_size=100000
For Info: grub4dos is actually coded to replace an '=' sign found after a command with a ' '. This is why this line works and why lines like gfxmenu=message and echo=fred work too.
Yep, but still it is not "kosher".
@guimenez
I will try again.
Let's start from your original code:
label parted magic
kernel images/pmagic/bzImage
append noapic initrd=images/pmagic/initramfs root=/dev/ram0 init=/linuxrc ramdisk_size=100000
This is a label
This is a Syslinux/Isolinux/PXELinux command
This is a parameter leading to a file
This are other Linux kernel parameters
Let's go to grub4dos commands.
label becomes title
kernel remains kernel
There is NO equivalent to the append command in grub4dos, as it parses ANYTHING after the (file or device) as parameters to be passed to the Linux kernel (same thing append does) BUT it has a command initrd that tells Linux which initial ramdisk to load.
After a grub4dos command there should be a space (and NOT a = sign, though it's parser allows it).
File or device in grub4dos is always a "qualified" path, when you write /images/pmagic/bzImage you are actually writing ()/images/pmagic/bzImage or in "pseudocode" <current root>/images/pmagic/bzImage say that your current root is (pd), then by writing /images/pmagic/bzImage you are actually writing (pd)/images/pmagic/bzImage and of course if you omit the leading slash what you get makes NO sense (pd)images/pmagic/bzImage
So:
title parted magic
kernel /images/pmagic/bzImage noapic root=/dev/ram0 init=/linuxrc ramdisk_size=100000
initrd /images/pmagic/initramfs
Now tell me that you did not understand the above by reading the preciously given links ATTENTIVELY.
Wonko
#33
Posted 02 September 2011 - 10:59 PM
I was confused with the other link explanation but you are right. It's just understand and paste it to my code.
Big thank you for all the help you give me in this one.
Now everything run fine and I've contributed for a new tutorial in this community
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users