ext4 on Ubuntu Jaunty x64

Discussion in 'all things UNIX' started by Arup, Apr 27, 2009.

Thread Status:
Not open for further replies.
  1. chronomatic

    chronomatic Registered Member

    Joined:
    Apr 9, 2009
    Posts:
    1,343

    Are you wanting to get rid of that Windows partition? If so, then just install Jaunty to it using only a / ext4 partition. If it's just for testing Jaunty out, then there is no need to separate a 30GB partition into various partitions.

    I would imagine that Jaunty will recognize Hardy and adjust the /boot/grub/menu.lst file accordingly. However, the MBR will be written to your new partition. If you want to avoid that, then just decline that GRUB be installed during the Jaunty install. Once finished, boot into your Hardy install and edit the menu.lst manually.
     
  2. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    Hi chronomatic,

    The 30 GB part. is not needed (previously used to store Acronis backups from
    my Windows XP drive). However, I think I will take Arup's advice as I don't want
    to get into a situation where I can't boot XP, and also because I am not a Linux geek :doubt:
    Furthermore I won't be able to mount Hardy(ext3) or I suppose
    XP(ntfs) from within an ext4 Jaunty partition.

    Regards
     
  3. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    I will do it as you outlined above. When adding the new menu entry
    (title Ubuntu Jaunty
    root hd1,4
    chainloader +1)
    is it necessary to run update-grub command ?
    Is there such a thing as chainloader +2..3..4 etc. ?

    PS. Have you tried Remastersys Grub Restore ? I have this in my System>
    Admin menu.
    Apologies for all the questions - maybe there should be a Beginners sub-section
    added to the forum ?
     
  4. chronomatic

    chronomatic Registered Member

    Joined:
    Apr 9, 2009
    Posts:
    1,343
    You shouldn't need the chainloader entry. You would need something like:

    Code:
    title Ubuntu Jaunty
    root hd1,4
    kernel /vmlinuz-2.6.28.xxxxxx root=/dev/sda4
    initrd /initrd-2.6.28.xxxx.img
    Basically what you have plus the kernel and initrd lines. You can find out the proper versions of these by looking inside /boot on your Jaunty install. Also be sure that root=/dev/sda4 is changed to whatever device your Jaunty / partition is on.


    No, I haven't. I don't use Ubuntu (Fedora here)
     
  5. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    That sounds easy enough - and when there is a kernel update for either distro,
    the kernel will be updated for the distro I am booted into ?
    After editing the menu.lst is it necessary to run 'update-grub' ?

    Thanks for your explanation.
    Regards.

    Edit: I think I would have to manually update the Hardy menu.lst 'stanza' for Jaunty when the Jaunty kernel gets updated.
    the chainloader would solve this minor inconvenience ?
     
    Last edited: May 9, 2009
  6. chronomatic

    chronomatic Registered Member

    Joined:
    Apr 9, 2009
    Posts:
    1,343
    Ocky,

    Now that I think about it, I would just let Jaunty install Grub to the MBR. It should auto-detect Hardy and will probably set both of them up automatically.
     
  7. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    Forgot to place brackets in previous post .. root (hd1,4) :p
    I have decided to use chainloader - it will be easy for me to remove the
    Jaunty stanzas and reformat that partition when the need arises.

    So far I am still not sure whether I need to run update-grub from terminal
    after adding the Jaunty chainloader stanza to Hardy's menu.lst. ?

    Do I place the Jaunty chainloader stanza just above the END DEBIAN AUTOMAGIC KERNELS LIST ?****

    Oh yes.. I think the swap partition will be shared between the 2 Ubuntus. ?

    **** No, should go below.
     
    Last edited: May 12, 2009
  8. tlu

    tlu Guest

    The new version supports ext4. BTW: SGD is now also included in the Parted Magic ISO but I'm not sure if it's already the newest version.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.