Newbie problem getting Ubuntu s/w to start on triple boot Acer Aspire One netbook
I currently have an Acer Aspire One netbook 120GB drive which came with Linpus lite preloaded. I have set-up dual boot a year or so ago. It now dual boots to either Linpus or Vista (yes I know!) via the Linpus grub.conf ( I got the instructions I think from here: http://jargongeneration.com/AcerAspire/index.php)
I want to get the latest Ubuntu 11.04 build on this as a third boot option. If this work OK I may ditch the Linpus or Vista build at some point.
So I've used Gparted on a USB drive to setup up three extended Logical Partitions (sda5, 6 and 7).
I then loaded Ubuntu s/w via an external drive with
/boot on 100MB /sda5
Swap on 1GB /sda6
/ on the 40GB+ /sda7
When I was asked for the bootloader location in the Ubuntu install gui I chose /sda5 (out of complete ignorance)
All fine at this point.
What do I have to get the linpus lite /boot/grub/grub.conf to see and start ubuntu?? Or is there something else I need to do??
Also, how does Ubuntu know which swap partition to use, as there is already one for the linpus lite install.
Thanks in advance
I think different linux distros can share the same swap partition. And you should have chose sda instead of sda5 to install the bootloader. try running the ubuntu installer again and this time choose sda for bootloader install location.
Since Linpus is not very popular and you may be switching to Ubuntu, papul1993s suggestion is good. If you want to add an entry to Linpus grub.conf try this:
Well I'm getting somewhere now thanks to papul1993s suggestion.
I now have the startup grub menu giving me the Ubuntu boot options, plus the Vista one (Ubuntu seemed to recognise I had Vista on the disk and setup this up for me). These boot options work OK and I now have configured Ubuntu for wireless network, users etc.
Clearly the bootloader for Ubuntu has replaced the linpus bootloader.
What do I do to add the linpus startup to the end of the Ubuntu grub boot list - i.e the other way round to what yancek detailed above (FYI, Linpus OS is on sda1, and its swap on sda2).
I would have a go at editing the new grub.cfg file, but there a bit at the top that tells you not to do that.
I want to leave Linpus on the netbook on there for two reasons :
Firstly, its a low footprint OS, so it uses less battery than most other OS's on this netbook (which runs out of battery very quick)
Secondly my wife is used to using Linpus and will need some education to use the Ubuntu. So for now I still need it operational on the Acer.
BTW, I am used to working with Windows, and I was a UNIX admin some years ago, but I am not that familiar with Linux configs/protocol/commands. So you may have to spell things out a little for me.
In Ubuntu, open a terminal and run: sudo update-grub
Should pick up Linpus and add it to the menu. If it doesn't, run os-prober from terminal
Linpus is not listed.
sudo update-grub gives me:
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found memtest86+ image: /memtest86+.bin
Found Windows Vista (loader) on /dev/sda2
(P.S I thought that the swap for linpus was on sda2 - but must have got that wrong as it appears from this that the vista loader runs from there - How do I get a list of the latest partition table?)
Well my parition table looks like this
Device Boot Start End Blocks Id System
/dev/sda1 1 3824 30716248+ 83 Linux
/dev/sda2 * 3825 8309 36018172 7 HPFS/NTFS
/dev/sda3 19327 19457 1052257+ 82 Linux swap / Solaris
/dev/sda4 8309 19326 88499201 5 Extended
/dev/sda5 8309 8322 102400 83 Linux
/dev/sda6 8322 8452 1048576 82 Linux swap / Solaris
/dev/sda7 13674 19326 45402112 7 HPFS/NTFS
/dev/sda8 8452 13479 40378368 83 Linux
/dev/sda9 13479 13673 1559552 82 Linux swap / Solaris
I don't know how I've ended up with 3 linux swap partition - but never mind.
SO I believe Linpus partitions are sda1 and sda3. The rest are either the Vista partitions or Ubuntu
So still struggling to get those Linpus partitions in the startup menu
Just to add to this. Another reason I need to get the linpus working again is that Ubuntu seems to have a bug when connecting to hidden wireless networks. Other have the same issue with Ubuntu 11.04
Fail mode is as described here:
I have to f*nny around every time I boot, or sometimes even if I switch users, to get my hidden wireless network to connect. This is more than just an annoyance as it effectively prevents my wife and kids from using Ubuntu and this netbook unless I am in the house.
If this were to happen (again; it's already happened a couple of times) to my AOA-150, here's what I'd do (again):
1. Boot from a live USB drive
2. Install grub legacy (into the live environment)
3. As root (replace x with the location of your Linpus partition)
5. chroot to the Linpus partition
6. Fix /boot/grub/grub.conf. The entry for Ubuntu on sda5 would look like this:
Thanks RockDoctor - a few questions as below in red.
Sorry to ask them but as I say I am a newbie to the Ubuntu/Linux way of working.
If I can persuade my wife to start using Ubuntu then I may end up blowing Linpus away at some point.
My approach above is to do things the Fedora way (Linpus was based on Fedora 8; Fedora 15 comes out later this month), by reinstalling the bootloader (the legacy version of grub) used by Linpus and Fedora. .
To answer your question:
1. A non-Linpus live USB. The Ubuntu live USB should be fine
3. The code in question #3 is run from a terminal as root
The value of x should be 0
4. I recommend mounting to /opt, just because I know nothing else will be mounted there
5,6. My bad - this is unnecessary. Since you're already root, exit grub (type quit at the grub prompt). Then, while you're still in the terminal window, gedit /opt/boot/grub/grub.conf.
OK, cheers RockDoctor. Will try it out.
OK, I've cracked it, although I'm not sure which of my actions did so.
I struggled with your instructions Rockdoctor when it came to installing the legacy grub to the Live USB env. I created the live env OK, but got an error near the end of the legacy grub install.
SO I tried another method I'd seen in the official Ubuntu GRUB2 online docs, namely to change the /etc/grub.d/40_custom file, which allows new entries to be added to the grub.cfg.
To get the right linpus grub.conf syntax I mounted Linpus sda1 partition (to /opt as you advised) for reference, making the corresponding additions for Linpus to the 40_custom_file. Then I ran a grub-update.
This added two, not one, entry to the grub startup menu.
So it looks like I did not need my entry in 40_custom_file after all. I removed these changes, updated the grub again, and Bob's your uncle, it works :-)
So I don't know what fixed this: the mount? other updates I've done to Ubuntu via the s/w manager over the last couple of days,? or something else?
I have updated grub in the past a couple of times, and it only ever found the Ubuntu and Vista loads, not the Linpus one, so a little confused here.
Does not matter anyway. I now have a grub2 menu entry at boot which allows me into Linpus.
Thanks for your help.
|All times are GMT -5. The time now is 06:40 PM.|