Jump to content











Photo
- - - - -

Booting GParted in Grub4dos


  • Please log in to reply
9 replies to this topic

#1 Flashed

Flashed
  • Members
  • 5 posts
  •  
    Spain

Posted 15 October 2016 - 06:02 PM

Hey there! I'm new here

 

I'm creating my own booteable usb with some recovery tools, using GRUB4DOS. I'm having problems while booting it. I'm adding this lines to my menu.lst

iftitle [if exist /DOS/gparted.iso] GParted
find --set-root --ignore-floppies /DOS/gparted.iso 
map --mem /DOS/gparted.iso (0xff)
map --hook
chainloader (0xff)

While using this lines appears to boot fine, the GRUB menu of Gparted appears. When I select GParted Live, here start the problems. After 2-3 minutes a message appears: '(initramfs) Unable to find a medium containing a live file system'

 

Also I tested using this:

title gparted 11.0 live
find --set-root /gparted-live-0.11.0-10.iso
map /DOS/gparted.iso (0xff) || map --mem /DOS/gparted.iso (0xff)
map --hook
root (0xff)
kernel /live/vmlinuz boot=live config union=aufs noswap noprompt vga=788 ip=frommedia findiso=/DOS/gparted.iso toram=filesystem.squashfs
initrd /live/initrd.img

 

 

But an error appears while booting which says 'mount: aufs on /root/ failed: No such device'

Hope you can help me. Thanks for all!



#2 Flashed

Flashed
  • Members
  • 5 posts
  •  
    Spain

Posted 15 October 2016 - 10:56 PM

I have something new. By changing the parameter on kernel: 'union=aufs' to 'union=overlay' 

Now everything appeared to works fine. I could choose language and get new resolution. But it stops in a black "login" screen:

Debian GNU/Linux stretch/sid debian tty1

debian login: --noclear (automatic login) 

Then it does nothing.

 

Hope you can help me, thanks



#3 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 16 October 2016 - 10:43 AM

You have "mixed" names in the entry you posted, the .iso file is EITHER /gparted-live-0.11.0-10.iso (in root) OR /DOS/gparted.iso (in folder /DOS/).
Anyway, generally speaking, you FIRST try the DOCUMENTED way (when/if such documented way exists) EXACTly as it is given:
http://gparted.org/livehd.php
 title gparted 11.0 live
    find --set-root /gparted-live-0.11.0-10.iso
    map /gparted-live-0.11.0-10.iso (0xff) || map --mem /gparted-live-0.11.0-10.iso (0xff)
    map --hook
    root (0xff)
    kernel /live/vmlinuz  boot=live config union=aufs noswap noprompt vga=788 ip=frommedia findiso=/gparted-live-0.11.0-10.iso toram=filesystem.squashfs
    initrd /live/initrd.img

and only later - particularly if it doesn't work :w00t: - you try variations of it.
It is entirely possible (cannot say if it applies to your case) that the distro wants to have the .iso in root, for some strange reason, and that some other cheat code is needed to put it in to the /DOS/ folder.
 
Also which EXACT version of grub4dos are you using? :unsure:
(it is common that new users :) use one of the now old/obsolete versions :ph34r:)
BTW, the above comes from:
https://bugzilla.gno...g.cgi?id=682160
which comes from a report by Steve6375 here:
http://reboot.pro/to...ed-in-grub4dos/
(and Steve6375 is usually a very reliable source of information :thumbsup:, but he always uses - often without referencing it :whistling: - the very latest grub4dos version)
 
In case, get latest 0.4.6a from here:
http://grub4dos.chen...ries/downloads/
right now:
http://grub4dos.chen....6a-2016-09-20/
http://dl.grub4dos.c...a-2016-09-20.7z
and try again.
 
:duff:
Wonko

#4 Flashed

Flashed
  • Members
  • 5 posts
  •  
    Spain

Posted 16 October 2016 - 01:15 PM

You have "mixed" names in the entry you posted, the .iso file is EITHER /gparted-live-0.11.0-10.iso (in root) OR /DOS/gparted.iso (in folder /DOS/).
Anyway, generally speaking, you FIRST try the DOCUMENTED way (when/if such documented way exists) EXACTly as it is given:
http://gparted.org/livehd.php

 title gparted 11.0 live
    find --set-root /gparted-live-0.11.0-10.iso
    map /gparted-live-0.11.0-10.iso (0xff) || map --mem /gparted-live-0.11.0-10.iso (0xff)
    map --hook
    root (0xff)
    kernel /live/vmlinuz  boot=live config union=aufs noswap noprompt vga=788 ip=frommedia findiso=/gparted-live-0.11.0-10.iso toram=filesystem.squashfs
    initrd /live/initrd.img

and only later - particularly if it doesn't work :w00t: - you try variations of it.
It is entirely possible (cannot say if it applies to your case) that the distro wants to have the .iso in root, for some strange reason, and that some other cheat code is needed to put it in to the /DOS/ folder.
 
Also which EXACT version of grub4dos are you using? :unsure:
(it is common that new users :) use one of the now old/obsolete versions :ph34r:)
BTW, the above comes from:
https://bugzilla.gno...g.cgi?id=682160
which comes from a report by Steve6375 here:
http://reboot.pro/to...ed-in-grub4dos/
(and Steve6375 is usually a very reliable source of information :thumbsup:, but he always uses - often without referencing it :whistling: - the very latest grub4dos version)
 
In case, get latest 0.4.6a from here:
http://grub4dos.chen...ries/downloads/
right now:
http://grub4dos.chen....6a-2016-09-20/
http://dl.grub4dos.c...a-2016-09-20.7z
and try again.
 
:duff:
Wonko

 

 

Thanks for your answer

 

First thing I tried was the documented entry, and didn't worked (the aufs error). The version I'm using is 0.4.6a. I tried to copy the iso to root, and get the same results. Also tried to copy again the grub4dos files of 0.4.6a and still the same...

 

Any more ideas?



#5 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 16 October 2016 - 01:28 PM

I am not convinced. :w00t: :ph34r:

There must be *something else*. :unsure:

The reports by ilko (and Steve6375 and dencorso) are reliable.

It is also the first time I see issues reported by the union aufs vs. overlay (mind you, it is entirely possible that what happens is some "extremely rare" case).

Maybe you have a "bad download" or a modified .iso. :dubbio:

Can you post the link from which you got that .iso? (and hopefully there is a MD5 to verify the file).

Which device/filesystem is the .iso residing on? (the devil is in the details)

You could try the partnew trick, but before going to that we should understand how/why the "normal" way doesn't work for the specific version.

:duff:
Wonko

#6 Flashed

Flashed
  • Members
  • 5 posts
  •  
    Spain

Posted 16 October 2016 - 02:03 PM

Here's the iso link: https://sourceforge....e_mirror=freefr

 

I think download is OK because I tested it by using YUMI and worked perfectly. It's residing on a HP 8GB USB in FAT32 with Grub4Dos in MBR (I used Grub Installer GUI 1.1)



#7 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 17 October 2016 - 07:52 AM

I see, that link leads to a current version 0.26.1.5, it is possible that something has changed since the last reported working version (0.17.0.4) by dencorso.

Try (only to verify that there is not the *something else* I was imagining) the actual 0.11.0.10 from here:
https://sourceforge....able/0.11.0-10/

 

As a side-side note, the usual rant about this stuff :w00t: :ph34r: how  (the heck) can something grow from 115 to 268 Mb (more than double) for doing essentially the same things it did before?  :frusty:

 

:duff:

Wonko

 

P.S.:

As expected:
http://reboot.pro/to...b4dos/?p=129938

the good guys changed a good half of the cheat codes :whistling:

 

see if this works:

0.11.0.10 "standard" Syslinux.cfg entry (TO RAM):
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config noswap noprompt toram=filesystem.squashfs ip=frommedia nosplash


The known working grub4dos menu.lst
title gparted 11.0 live
find --set-root /gparted-live-0.11.0-10.iso
map /gparted-live-0.11.0-10.iso (0xff) || map --mem /gparted-live-0.11.0-10.iso (0xff)
map --hook
root (0xff)
kernel /live/vmlinuz boot=live config union=aufs noswap noprompt vga=788 ip=frommedia findiso=/gparted-live-0.11.0-10.iso toram=filesystem.squashfs
initrd /live/initrd.img


0.26.1.5 "standard" Syslinux.cfg entry (TO RAM):
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet noswap toram=filesystem.squashfs ip= net.ifnames=0 nosplash

The new menu.lst entry to try:
title gparted 26.1 live
find --set-root /gparted-live-0.26.1-5-i686.iso
map /gparted-live-0.26.1-5-i686.iso (0xff) || map --mem /gparted-live-0.26.1-5-i686.iso (0xff)
map --hook
root (0xff)
kernel /live/vmlinuz boot=live union=overlay username=user config components quiet noswap findiso=/gparted-live-0.26.1-5-i686.iso toram=filesystem.squashfs ip= net.ifnames=0 nosplash
initrd /live/initrd.img



#8 Flashed

Flashed
  • Members
  • 5 posts
  •  
    Spain

Posted 18 October 2016 - 03:02 PM

Here's the iso link: https://sourceforge....e_mirror=freefr

 

I think download is OK because I tested it by using YUMI and worked perfectly. It's residing on a HP 8GB USB in FAT32 with Grub4Dos in MBR (I used Grub Installer GUI 1.1)

YES!!! Thanks for all!! Both menu entries works! First I tested the it with 0.11 and then with 0.26 and is working fine!!

 

Finally! Thanks a lot men!



#9 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 18 October 2016 - 04:35 PM

Good :)

:duff:
Wonko

#10 ner0

ner0

    Member

  • Members
  • 48 posts

Posted 14 November 2016 - 11:52 AM

Just thought I should add this info: I recently had some issues booting some Debian based distros like Clonezilla which gave me the same error as initially described by the OP: mount: aufs on /root/ failed: No such device

 

In my case the solution, which I don't fully understand, merely consisted of passing an additional boot parameter related to the mount operation, the parameter being: union=overlay

 

In the OP's case, I suspect this would have worked:

title gparted 11.0 live
find --set-root /gparted-live-0.11.0-10.iso
map /DOS/gparted.iso (0xff) || map --mem /DOS/gparted.iso (0xff)
map --hook
root (0xff)
kernel /live/vmlinuz boot=live config union=overlay noprompt vga=788 ip=frommedia findiso=/DOS/gparted.iso toram=filesystem.squashfs
initrd /live/initrd.img





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users