Cannot use Grub4dos with ext4 formatting [solved]

Using applications, configuring, problems
Post Reply
Message
Author
frourio
Posts: 112
Joined: Thu 05 Jan 2017, 03:57

Cannot use Grub4dos with ext4 formatting [solved]

#1 Post by frourio »

Hi all,

I'm trying to write a bootloader with Grub4dos to an ext4 formatted partition and I seem to be missing some library. (For Tahrpup 6.0.5)

Attatched are the screenshots showing my process, including error dialogue boxes.

The final error message in grub4dosconfig.log is:
Writing... /mnt/sdc1/menu.lst
Installing grldr ...
‘/usr/lib/grub4dos/grldr’ -> ‘/mnt/sdc1/grldr’
cp: cannot stat ‘’: No such file or directory
Failed to install extlinux.
Attachments
ext4-problem.png
(12.04 KiB) Downloaded 378 times
ext4-problem2.png
(10.53 KiB) Downloaded 354 times
ext4-problem3.png
(13.83 KiB) Downloaded 350 times
Last edited by frourio on Tue 24 Jan 2017, 01:15, edited 1 time in total.

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#2 Post by LazY Puppy »

I'm trying to write a bootloader with Grub4dos to an ext4 formatted partition and I seem to be missing some library. (For Tahrpup 6.0.5)
Are you sure it isn't tahr64 6.0.5?

Just asking as we had that confusion in the Kupfer topic...

Edit:

Probably it is a bug in grub4dosconfig.

Actually checked the Tahr Puppies 602, 605 and 64 605. All of them include extlinux in /sbin.

Edit2:

File /usr/lib/grub4dos/chain.c32 isn't included in 602, 605 and 64 605.
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

frourio
Posts: 112
Joined: Thu 05 Jan 2017, 03:57

#3 Post by frourio »

LazY, yes! My bad. 64 bit.

So nothing I can do in that case?

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#4 Post by LazY Puppy »

I don't know.

Never tried to install grub4dos to ext4 partition. Usually I'm using ext2 for boot partitions as I'd multiple cases of Puppy not booting from ext3. So, my boot partitions are ext2 and my data partitions are ext3. No ext4 in use at all.
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#5 Post by dancytron »

Do you think it might be related to this bug I reported in Xenial pup?

http://murga-linux.com/puppy/viewtopic. ... 504#916504

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#6 Post by LazY Puppy »

I'm currently not running tahr64 605, so I can't check its version. Though, tahr 602 has extlinux 4.05.

Code: Select all

root# extlinux --version
extlinux 4.05  Copyright 1994-2011 H. Peter Anvin et al
root#
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#7 Post by bigpup »

See if chain.c32 is in /usr/lib/syslinux

I can not run Tahrpup64 on this computer, but I used Tahrpup 6.0.5 (32bit) and Grub4dos config worked OK on a ext4 partition.
I installed to a USB flash drive partition formatted ext4.

Just to make sure something is not wrong with the file system.
Run Gparted and do a check on the ext4 partition.

To fully understand.
sdc1 is on what type device?
Any other operating systems on it?
Are you using the default settings when running Grub4dos config or selecting something in the options?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

frourio
Posts: 112
Joined: Thu 05 Jan 2017, 03:57

#8 Post by frourio »

See if chain.c32 is in /usr/lib/syslinux
The "syslinux" directory doesn't even exist with /usr/lib.
Just to make sure something is not wrong with the file system.
Run Gparted and do a check on the ext4 partition.
Not sure what kind of check you meant, but I checked the properties of the partition. Anything specific I'm looking for?
sdc1 is on what type device?
USB
Any other operating systems on it?
On the device's other partition, another Linux distro. (Not Puppy.)
Are you using the default settings when running Grub4dos config or selecting something in the options?
I do the following:

1. Load Grub4dos
2. Select "SHOW PBS" (Button at the bottom.)
3. Choose my desired ext4 partition (sdc1 in this case)
4. Do NOT select any other options
5. Then press OK.

Next message is:

"Some components are lacking to perform this function..."

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#9 Post by bigpup »

2. Select "SHOW PBS" (Button at the bottom.)
That could be the problem.
I never do that.
That PBS stuff has never worked very well.

For a USB flash drive I just select the usb drive.
Select "search only within this device" option.
Let Grub4dos config do the rest.

This will put Grub4dos on the first partition and the MBR of the device.
That is where it works the best.
Last edited by bigpup on Mon 23 Jan 2017, 08:28, edited 1 time in total.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#10 Post by bigpup »

On the device's other partition, another Linux distro. (Not Puppy.)
Grub4dos config does a good job of finding other Linux installs and making a boot menu entry, but it is not 100% all the time.
There are a few Linux operating systems it may not do correctly. The major ones usually work.
The only ones I have had problems with, had their boot stuff in a very strange location, that Grub4dos config was not looking in.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#11 Post by bigpup »

Just to make sure something is not wrong with the file system.
Run Gparted and do a check on the ext4 partition.
Not sure what kind of check you meant, but I checked the properties of the partition. Anything specific I'm looking for?
If you have the drive partition not mounted.
Run Gparted.
In the list of partitions it finds.
Right click on the partition and select check.
This does a check of the file system of that partition.
If anything is wrong, it will correct, and report what it did.
If it does find errors and corrects them. Run it again until no errors are found.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

frourio
Posts: 112
Joined: Thu 05 Jan 2017, 03:57

#12 Post by frourio »

Yup. That was it bigpup. The PBS option. (One shouldn't use it in this case.)

You nailed it. Nice one!

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#13 Post by LazY Puppy »

PBS = Partition Boot Sector?

I also never used this option. Probably someone should make a suggestion to shinobar (wasn't it created by shinobar?) just to remove that option from the GUI.
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#14 Post by bigpup »

frourio,

Good to see it worked. :D

Please edit the subject in your first post and add solved.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

frourio
Posts: 112
Joined: Thu 05 Jan 2017, 03:57

#15 Post by frourio »

Done.

Post Reply