I've run into this same problem after converting root to ext4 after a Lucid
upgrade.
As soon as any files used by grub (kernels, stage1, etc) get converted to
extents, grub fails.
Running grub-install from a Lucid livecd CD did not help:
mount -t ext4 /dev/sda2 /mnt
grub-install --root-director
copied the text to the release notes.
** Changed in: ubuntu-release-notes
Status: Fix Committed => Fix Released
--
Patched grub will not boot from EXT4 partition
https://bugs.launchpad.net/bugs/316872
You received this bug notification because you are a member of Ubuntu
Bugs, which is sub
Fix Committed for issues addressed in technical overview errata but not
yet in release notes, as agreed with Steve on IRC.
** Changed in: ubuntu-release-notes
Status: Triaged => Fix Committed
** Changed in: ubuntu-release-notes
Assignee: (unassigned) => Colin Watson (cjwatson)
--
Pa
keeping this task open since it will also need to be documented in the
release notes, not just the technical overview.
** Changed in: ubuntu-release-notes
Assignee: Colin Watson (cjwatson) => (unassigned)
Status: Fix Released => Triaged
--
Patched grub will not boot from EXT4 partiti
Added this text:
Ext4 support in GRUB was provided by Colin King. If you choose to
upgrade your `/` or `/boot` filesystem in place from ext2 or ext3 to
ext4 (as documented on the
[[http://ext4.wiki.kernel.org/index.php/Ext4_Howto#Converting_an_ext3_filesystem_to_ext4|ext4
wiki]]), then you ''must'
As explained in previous comments (and discussed in person with Colin
King), this is not something we feel we can safely fix in grub; as such,
I'm opening a task on ubuntu-release-notes so that we document this as
part of any documentation about upgrading in-place to ext4.
** Also affects: ubuntu-
Just to clarify:
This is not a bug in the ext4 support in the grub boot loader, it's more
of an issue that the update is not installing the new version of the
grub stage1.5 and stage2 images. I'm not sure if this an issue of grub-
update not doing this when it should or not.
grub-install should
update-grub wouldn't do it; it only deals with menu.lst. grub-install is
not generally something that's safe to run automatically on upgrades;
for one thing, it's entirely legitimate to have the grub package
installed but not to have it installed in your MBR.
To be honest, this seems like a docume
I resolved it by moving the files from liveCd (/usr/lib/grub/i386-pc) to
/boot/grub and it works flawlessly.
Probably this issue was because neither post-install nor me invokes
update-grub after updating.
--
Patched grub will not boot from EXT4 partition
https://bugs.launchpad.net/bugs/316872
Yo
I've just checked the version of these files on another box (I have two
with Jaunty) and it shows 0.97-29ubuntu47 installed (and it's good) but
version of these files are the same: 30 jan 2008 (and that's not so
good). I want to mention that these boxes are in continuos updating from
Gutsy.
--
Pa
Vladimir,
You are correct - the stage1/2 fimages are way too old - hence the
issue. The older grub will detect ext4 but will not be able to read any
files on an ext4 filesystem.
I suggest re-running grub-install - I believe this will re-install the
latest versions of stage1_5 and stage2 etc..
--
Colin, result is the same.
I've noticed that files stage1/2 on my machine are too old
/boot/grub/e2fs-stage1_5 8660 modified:30 jan 2008 12:00:38
/boot/grub/stage2 110292 modified:30 jan 2008 12:00:40
I suppose that it's not ok and these these files should be changed in
grub...-ubuntu47.
I've re-tested with the following:
Jaunty amd64 Alpha3, installed with ext3:
/dev/sda1 /boot (ext3)
/dev/sda5 swap
/dev/sda6 / (ext3)
upgraded to ext4 and it works fine.
Vladimir: I did not add "rootfstype=ext4" to grub menu.lst. What happens
when you comment out or remove this?
Coli
I tested the Kubuntu 9.04 Alpha 3 (desktop CD x86).
I tried clean install.
Install setting (manual partition)
/dev/sda5 is /boot as EXT4.
/dev/sda6 is / as EXT4.
/dev/sda7 is swap.
The grub was able to boot the kernel from /boot (EXT4).
--
Patched grub will not boot from EXT4 partition
https
I have the same problem today when I tried to migrate to ext4.
1. Up-to date jaunty with new grub
2. Used jaunty alpha 3 liveCD to convert partition
3. Via live-cd:
tune2fs -O extents,uninit_bg,dir_index /dev/sda1
fsck -pf /dev/sda1
mount -t ext4 /dev/sda1 /disk
vi etc/fstab (ext3 -> ext4)
Got Alpha 3 installed--clean / partition as EXT4 & converted the
existing /home from 3 to 4. Boots just fine with a fresh EXT4---So I
know that my system did not have a problem---the install I had converted
was a upgraded Intrepid install that was quite heavy with apps & custom
bits.My guess is
I'm going to install with alpha 3 tonight & see if I have any
problemsMaybe I just have a "funny" install..I'll post after I get
the new install going.
Cheers!!
Dean
On Thu, Jan 15, 2009 at 7:17 AM, Colin King
wrote:
> Still cannot reproduce this with i386 and AMD64 installations.
>
>
Still cannot reproduce this with i386 and AMD64 installations.
--
Patched grub will not boot from EXT4 partition
https://bugs.launchpad.net/bugs/316872
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-b
Just adding more history to this bug report:
Tue, 13 Jan 2009 18:36:58 -0800 (Wed, 02:36 GMT) Dean wrote:
More information (all good)--I backed up my /boot to a different
drive--then deleted it & re-installed it--thought was to recreate it as
a "real" EXT4 section & it worked that way--I reset
I've tried to reproduce this:
1. Installed Jaunty from daily build ISO of Wednesday 14th January 2009.
2. Installed with ext3 for /
3. Rebooted using the same live CD ISO image and then converted / to ext4 using:
tune2fs -O extents,uninit_bg,dir_index /dev/sda1
fsck -pf /dev/sda1
4. Rebooted, gr
Just adding more history to this bug report:
On Tue, 13 Jan 2009 17:48:54 -0800 (Wed, 01:48 GMT) Dean wrote:
> In any case, I went directly to the EXT4 Wiki & converted as per these
> instructions:
>
> To convert an existing ext3 filesystem to use ext4, use the command
>
> $ tune2fs -O exte
Hi Colin--
Have sent the conversion information to your personal E---menu.lst
follows...
# menu.lst - See: grub(8), info grub, update-grub(8)
#grub-install(8), grub-floppy(8),
#grub-md5-crypt, /usr/share/doc/grub
#and /usr/share/doc/grub-doc/.
## default num
#
Hi Dean,
1) Can you attach your /boot/grub/menu.lst file
2) Can you inform me how you created the ext4 partition?
Thanks! Colin
--
Patched grub will not boot from EXT4 partition
https://bugs.launchpad.net/bugs/316872
You received this bug notification because you are a member of Ubuntu
Bugs, w
** Changed in: grub (Ubuntu)
Assignee: (unassigned) => Colin King (colin-king)
--
Patched grub will not boot from EXT4 partition
https://bugs.launchpad.net/bugs/316872
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs
24 matches
Mail list logo