How do i install GRUB on 9.04/AMD64/EXT4 new install?

Associate
Joined
28 Oct 2002
Posts
1,510
Hi

I have just installed the RC of Ubuntu 9.04/64 using Ext4. However i see this note that says it won't reboot (its a dual boot vista system) unless i update GRUB to allow for Ext4.

There is this note:

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 ext4 wiki), then you must also use the grub-install command after upgrading to Ubuntu 9.04 RC to reinstall your boot loader. If you do not do this, then the version of GRUB installed in your boot sector will not be able to read the kernel from the ext4 filesystem and your system will fail to boot.

My Linux knowledge is not good. When its says run grub-install i assume i need to specify a device (in grub format). How do i know what to put?

Many thanks

Diss


edit


ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00008776

Device Boot Start End Blocks Id System
/dev/sda1 * 1 29519 237111336 7 HPFS/NTFS
/dev/sda2 29520 47884 147516862+ 83 Linux
/dev/sda3 47885 48641 6080602+ 5 Extended
/dev/sda5 47885 48641 6080571 82 Linux swap / Solaris

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x04ce04ce

Device Boot Start End Blocks Id System
/dev/sdb1 1 7649 61440561 7 HPFS/NTFS
/dev/sdb2 7650 24321 133917840 b W95 FAT32
 
Last edited:
thx eXor

i thought the sda bit needed to be something like (hd0,1) - or is that no longer the case?

how would i know whether sda = hd0,0 or whatever?

cheers

diss
 
thanks all

i have it sorted - didn't realise you could use sda or hd0 formats - very useful for future reference

re EXT4 - any idea when this will be fixed and what the data integrity issues are e.g. random data loss or loss in certain circumstances?

cheers

diss
 
Back
Top Bottom