Not a question, but seeing as I managed to get Ubuntu dual-booting quite happily I thought it be worth setting-out how I did it. When I was messing about, I found it hard to find my exact problem so perhaps this will help somebody ...
1) Already had XP on a partition, with an empty, unformatted partition left free for Ubuntu (I did a little forward planning for once).
1.5) Changed my SATA hard-drive (my only hard-drive) to "Enhanced" in the BIOS, otherwise Ubuntu couldn't see it.
2) Tried to install Ubuntu on the spare partition and completely stuffed it up. Was trying to avoid messing with the Master Boot Record (MBR). Also didn't know what kind of format (ext2, fat, whatever) to use. Also didn't know where to mount it ("/..." wasn't very helpful).
3) Couldn't boot machine. Didn't want to mess with MBR via Knoppix, as MBR is on an NTFS partition.![]()
4) Used XP CD to boot into recovery mode. Tried "fixmbr" and "fixboot" but made no difference. Could see that MBR was pointing towards the incomplete/stuffed-up Ubuntu partition, not the XP partition, Didn't know how to change it. Panicked. Up until the small hours faffing about. Fortunately I had an ancient machine to run the internet through and do some more research.
5) Installed XP over Ubuntu, so that I could at least boot my machine. MBR automatically fixed by XP installation. Old XP installation and new one now available on Windows Boot Loader (whatever it's called).
6) Did more research. Installed Ubuntu over my new XP installation, this time using ext3 format disk and mounting as "/" (which I now realise is "root", which is for the main linux set-up). Set a boot flag, as advised by the help menu within the Ubuntu installer, and allowed GRUB to reside on my MBR.
7) Sweeeeeet! Ubuntu booted up happily.![]()
8) Did some more research. Amended my fstab to auto-mount my XP partition as read-only (/dev/sda1 /media/WinXP ntfs user,ro,noexec,nls=utf8,umask=0222 0 0)
note: I found WIKI page to be useless when it comes to mounting other partitions, but have since found:-
https://wiki.ubuntu.com/Automaticall...dowsPartitions
9) Deleted boot-loader reference to second XP installation, which no longer existed. Did that in XP, via right-click on My Computer/Advanced/Start-up and recovery/Edit.
10) Edited GRUB via "sudo gedit /boot/grub/menu.lst" to put XP at the top of the list, so that my wife doesn't throw a fit when it auto-boots into Ubuntu after 5 seconds.
That was it. Strangely, the effort of installing has got me up to speed on some basic commands. I had given up on Ubuntu previously, but thought I'd try it again.
It was still frustrating and, frankly, confusing that I couldn't play DVDs or MP3s without installing a few other things. That said, once you know where to look Synaptic makes it really very easy to pull in all of the neccessary files to get things working. I also understand that Ubuntu has restricted itself to totally open, free software by default, which makes sense in many ways.
Thanks for all of your help, Ubuntu forum and developers. I hope that this does somebody some good.
Ed



Adv Reply



Bookmarks