Hello Everyone,

This is going to be long and somewhat complicated.

A bit of background:

I found that xorg-server 1.16.0 would not detect any screens when
booting, so I went hunting on google and found that in at least one
instance that it was due to dri2 not being loaded in the display driver.

I have an intel i915 onboard (as this is an hp compaq laptop).  I then
checked on xorgs site and found that they had a later version of the
devleopment driver that we have listed to use in the TRUNK book.

After compiling that along with re-compiling the vesa, synaptics, udev,
drivers I rebooted and the same error came up.

I decided to go and update my kernel to the latest version and this is
when my true nightmare began.

My setup is possibly somewhat unique.
 
I am using  GUID Partition Table (gpt) for my drives and using UUID and
PARTUUID to identify the partitions in fstab and grub.cfg.

This requires a separate grub_bios partition of between 1 and 2mb.
Using this eliminates the need for the extended partitions as everything
is created as primary partitions.

I have an internal drive on my laptop and an external USB drive.

I went ahead and did grub-install /dev/sdb9 at first as I was over tired
when doing it.  That of course was the wrong command to use, it should
have been /dev/sdb, but in my tired state I very stupidly used:

grub-install -f /dev/sdb9

Upon re-booting I got the glorious error message of unknown filesystem.

Again instead of leaving it at that point, I booted the internal
harddrive and went ahead and messed things up with trying to do a
grub-install /dev/sdb from there to see if that would work, but still
the nasty error.

I have since done the following on the external drive:

1) Deleted the grub_bios partition and re-created it.

2) Deleted the /boot partition and re-created it.

3) ran grub-install /dev/sdb

4) corrected the PARTUUID line in grub.cfg and the UUID in /etc/fstab

I then re-booted and got exactly the same error about unknown file
system.

I then entered charroot and:

1) Went to re-compile and re-install grub from the source tarball,
following the instructions from development LFS-SYSTEMD as I am on a
systemd system.

This lead to another problem that I can not recall having, namely grub
would NOT compile.  Another google search revealed that there is a bug
in grub-mkfont.c

http://patchwork.openwrt.org/patch/4480/

I manually edited the affected file and compilation completed.

After re-installing grub and re-creating grub.cfg, whilst I was still in
char-root I went ahead and re-compiled the kernel.

After installing the new kernel I re-booted and I STILL get the unknown
file system error.

I just do not know what else to try.  I have already deleted the content
of /tmp.

Oh and I also managed to screw up grub on /dev/sda but have now got that
working correctly.

Please also bear in mind that this base build was done by JHALFS and it
is what I have built the development gnome section of the new BLFS
systemd book on.

If someone could point out what to try next it would be greatly
appreciated.

Regards,

Christopher.

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to