1 (edited by r140 2008-12-21 20:49:03)

Topic: Gparted with grub4dos - resolved

I would like to integrate gparted to a grub4dos (cd multiboot), but when gparted booting i have the message kernel paning unable to mount root.

I use the same syntax in the syslinux, menu.lst:
TXTAddLine,"%MenuFile_GRUB%"," ","Append"

TXTAddLine,"%MenuFile_GRUB%","title GParted Live modif","Append"

TXTAddLine,"%MenuFile_GRUB%","kernel /live/vmlinuz1","Append"

TXTAddLine,"%MenuFile_GRUB%","initrd=/live/initrd1.img boot=live union=aufs    noswap acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp ip=frommedia nolocales vga=normal" ","Append"


I use gparted-live-0.3.9-13
What is the syntax for mount root for cd multiboot?
   
I have VistaPe which does not include syslinux
thanks

2

Re: Gparted with grub4dos - resolved

Hello r140,

I would like to integrate gparted to a grub4dos (cd multiboot) ...

"menu.lst"-syntax (GRUB4DOS):

title GParted Live (0.3.9-13)
kernel /live/vmlinuz1 boot=live union=aufs    noswap noprompt vga=791 acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp nolocales
initrd /live/initrd1.img


"syslinux.cfg"-syntax (Syslinux):
MENU LABEL GParted Live (0.3.9-13)
kernel /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs    noswap noprompt vga=791  acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp nolocales

Note :
1. You can omit "ip=frommedia", because it's the default value.
2. "filesystem.squashfs" has to be in directory "/live", too.
3. Syntax for GRUB4DOS and Syslinux are not identical, but easy to convert.

Hope, this helps
cmdr

3

Re: Gparted with grub4dos - resolved

Hello,

And thanks, if it help someone , I have resolved my problem with another forum
this is my script

[Main]
Title=Gparted
Level=7
Version=5
Description=Pour fonctionner le script "Grub4Dos" doit être activé
Locked=false
Selected=True
Download_Level=2
Mandatory=False
Author=webjerome, r140
Contact=
Date=20.12.2008
Credits=Avec l'aide du forum www.boot-land.net (with help bootland forum)

[Comment]
This project is based on VistPE by Nightman (www.vistape.net) and includes scripts and code freely available from several users. Most of it comes from www.boot-land.net.
All code taken from public sources is free to use for anyone, but the package you have here also contains many improvements and code made by me, Markus Debus (vpe@markus-debus.de).
If you plan to publish a release based on this or if you want to offer anything from this for download, please contact me first and ask for permission. Thanks.

[variables]
%MenuFile_GRUB%=%targetdir%\menu.lst

[Process]
Echo,Processing Gparted Linux...
If,NotExistFile,"%MenuFile_GRUB%",Exit,"Pour fonctionner le script "Grub4Dos" doit être activé"
DirCopy,"%basedir%\Projects\VistaPE-Core\OtherOS\live","%TargetDir%"

TXTAddLine,"%MenuFile_GRUB%","title Gparted","Append"
TXTAddLine,"%MenuFile_GRUB%","root (cd)","Append"
TXTAddLine,"%MenuFile_GRUB%","kernel /live/vmlinuz1 boot=live union=aufs noswap vga=791 ip=frommedia nolocales","Append"
TXTAddLine,"%MenuFile_GRUB%","initrd /live/initrd1.img","Append"
TXTAddLine,"%MenuFile_GRUB%","lock","Append"
TXTAddLine,"%MenuFile_GRUB%"," ","Append"


[Download]

[Interface]

[InterfaceEncoded]