Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: double wubi booting (how do i)

  1. #1
    Join Date
    Nov 2010
    Location
    Waiting for 11.10 Alpha
    Beans
    10
    Distro
    Ubuntu 11.04 Natty Narwhal

    Exclamation double wubi booting (how do i)

    i have installed wubi on my computer and now i have made a copy of the Ubuntu file so i can try Natty without wrecking my install.
    i used EasyBCD to make another bootloader entry for it and bcdedit command line and it works fine.
    but it is selecting the original /ubuntu/disks/root.disk not the new /ubuntu2/disk/root.disk.
    how do i redirect Ubuntu 2 to the appropriate root.disk

  2. #2
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: double wubi booting (how do i)

    You don't need a second boot entry. The way wubildr.mbr works is it searches for a file called wubildr in the root of any partition. So you can call wubildr.mbr anywhere you like and it will look for the same file.
    When it finds it, wubildr also does the same thing - it looks for the /ubuntu/disks/root.disk file and loop mounts it and then presents the menu /boot/grub/grub.cfg from within that root.disk.

    So your best bet is to add a custom entry in your main install that allows you to boot the copy. e.g. like what was done here http://ubuntuforums.org/showthread.php?t=1591825

    Also if you've referenced a specific kernel in the custom entry you'll have to manually update that after the upgrade. Instead you can specify to always boot the latest kernel:
    Code:
    linux /vmlinuz root=/dev/sdXY loop=/ubuntu2/disk/root.disk ro...
    initrd /initrd.img
    Just be careful - the way that grub/lupin detects a wubi install is pretty basic and it may treat your copy as a normal grub - make sure you don't let it install itself to any devices (drives or partitions).

    Personally, I wouldn't test Natty in this way. You can try it on a 'live USB' or install it to an external drive. It's still in alpha and there's a risk even if you know exactly what you are doing

    You could also try it by backing up your root.disk (as you have done) and the C:\wubildr and then upgrading your current install. Then once you are done with the experiment, copy the root.disk and C:\wubildr back over.

    PS I read somewhere that Natty is a 'stretch release'. There are a lot of major changes so you should expect problems.

  3. #3
    Join Date
    Nov 2010
    Location
    Waiting for 11.10 Alpha
    Beans
    10
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: double wubi booting (how do i)

    Quote Originally Posted by bcbc View Post
    Also if you've referenced a specific kernel in the custom entry you'll have to manually update that after the upgrade. Instead you can specify to always boot the latest kernel:
    Code:
    linux /vmlinuz root=/dev/sdXY loop=/ubuntu2/disk/root.disk ro...
    initrd /initrd.img
    Just be careful - the way that grub/lupin detects a wubi install is pretty basic and it may treat your copy as a normal grub - make sure you don't let it install itself to any devices (drives or partitions).
    thank you, i will try that code
    too be sure, this is the method i am currently doing right? and what is with the dots after ro, am i ment to fill in the blanks (im a total noob, only been using ubuntu for half a year)

    Edit: I tried it in the terminal but it didn't recognize linux command. To be clear I can get into ubuntu but it's the wrong root.disk. I would like to change the .disk from inside ubuntu2, preferably in terminal. How do I do that

    Quote Originally Posted by bcbc View Post
    Personally, I wouldn't test Natty in this way. You can try it on a 'live USB' or install it to an external drive. It's still in alpha and there's a risk even if you know exactly what you are doing

    You could also try it by backing up your root.disk (as you have done) and the C:\wubildr and then upgrading your current install. Then once you are done with the experiment, copy the root.disk and C:\wubildr back over.

    PS I read somewhere that Natty is a 'stretch release'. There are a lot of major changes so you should expect problems.
    i will be waiting for beta and then i will update but i am just setting the foundations at the moment. ive been pretty good with wubi only got a minimal bash screen when booting up because i tried firefox 4 beta 5 off the daily build repo.
    Last edited by molond; March 13th, 2011 at 01:55 PM.

  4. #4
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: double wubi booting (how do i)

    Quote Originally Posted by molond View Post
    thank you, i will try that code
    too be sure, this is the method i am currently doing right? and what is with the dots after ro, am i ment to fill in the blanks (im a total noob, only been using ubuntu for half a year)

    Edit: I tried it in the terminal but it didn't recognize linux command. To be clear I can get into ubuntu but it's the wrong root.disk. I would like to change the .disk from inside ubuntu2, preferably in terminal. How do I do that
    That thread I linked to explained how to do it. You need to create a new boot entry in the grub menu - which is done by editing the 40_custom file. Yes the ... is supposed to be "fill in the blanks".

    Honestly I don't recommend that you pursue this. Wubi is designed to be a single install environment and there's a strong chance you can mess up you install by playing with it.
    Also installing beta software is another good way to break it.

  5. #5
    Join Date
    Nov 2010
    Location
    Waiting for 11.10 Alpha
    Beans
    10
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: double wubi booting (how do i)

    Ok i will do the other method but i wanted a method that if i did something stupid it would only affect one of the installs. but thanks for the help

  6. #6
    Join Date
    Nov 2010
    Location
    Waiting for 11.10 Alpha
    Beans
    10
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: double wubi booting (how do i)

    Quote Originally Posted by bcbc View Post
    Honestly I don't recommend that you pursue this. Wubi is designed to be a single install environment and there's a strong chance you can mess up you install by playing with it.
    Also installing beta software is another good way to break it.
    I don't really care about my wubi. I store all my files on windows and wubi is for fun or quick start up for internet. If it gets stuffed up I will reinstall but already have a back up of the whole system as I explain at the start

  7. #7
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: double wubi booting (how do i)

    The other thing you can do is rename the \ubuntu folder - as I mentioned, wubildr is pretty dumb - it just look for the file /ubuntu/disks/root.disk on the root of any partition. So you could rename them and it will switch. Just be careful of doing this with different releases as the wubildr file also changes (and that's in the root).

  8. #8
    Join Date
    Nov 2010
    Location
    Waiting for 11.10 Alpha
    Beans
    10
    Distro
    Ubuntu 11.04 Natty Narwhal

    Thumbs down Re: double wubi booting (how do i)

    Quote Originally Posted by bcbc View Post
    Also installing beta software is another good way to break it.
    Its alive. Alpha 3 worked (i could not wait and somebody close by has a unsecured internet connection) but it cannot find the latest kernal which it says is 2.6.38-6 do you know what to do to find it. i configured my grub.cnf with details found in the natty one but i cannot find it.

  9. #9
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: double wubi booting (how do i)

    Quote Originally Posted by molond View Post
    Its alive. Alpha 3 worked (i could not wait and somebody close by has a unsecured internet connection) but it cannot find the latest kernal which it says is 2.6.38-6 do you know what to do to find it. i configured my grub.cnf with details found in the natty one but i cannot find it.
    I noticed that Natty's Wubi has been fixed recently and tested it last night.

    I'm not really clear what your issue is .... did you have a problem with the upgrade or just a problem booting the natty wubi from your other wubi grub?

  10. #10
    Join Date
    Nov 2010
    Location
    Waiting for 11.10 Alpha
    Beans
    10
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: double wubi booting (how do i)

    Quote Originally Posted by bcbc View Post
    I'm not really clear what your issue is .... did you have a problem with the upgrade or just a problem booting the natty wubi from your other wubi grub?
    Install was fine but it just cannot find the kernel and when I boot the old kernel it has error: no file then it shows the splash screen.
    Last edited by molond; March 17th, 2011 at 02:14 PM.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •