Author Topic: ubuntu installation gone wrong  (Read 5039 times)

0 Members and 1 Guest are viewing this topic.

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
ubuntu installation gone wrong
« on: February 02, 2012, 07:29:26 pm »
Well I knew I wouldn't be able to explain this no matter how hard I tried so I took some pictures from what I did. I downloaded Ubuntu 10.04 LTS 64 bit and burned it on a dvd. Popped it in and rebooted. Before I begin showing/telling what's wrong, I need to tell that I have 2 hard drives. One is 500 GB which is my windows 7 drive that I use, and the other is a 320 GB hard drive that was my backup but deleted to install ubuntu on and both are internal. Now, I went through the setup process and selected this option:



I selected this option because I did *NOT* want to partition my windows hard drive in any way, because I wanted to completely install it on the external without touching my windows drive in any way shape or form.

At the very end, I got the final confirmation step (though I don't know how important it will be, but I took it anyways)



So I let it install completely without skipping anything and I let it boot up. I forgot why I rebooted, but I did, then I knew that I wanted to uninstall it completely and right away because this is exactly what I DID NOT want to happen:



Great. Ubuntu partitioned my hard drive when I selected the OTHER hard drive that was NOT the 500 GB one and I EXACTLY did NOT want a boot menu. I didn't know what to do at this point, but I tried deleting and reformatting my external hard drive via disk manager or something:



I selected delete on "Disk 1" which is the 320 GB drive that supposedly had ubuntu installed on it. I rebooted it and I was greeted by the same freaking menu. I just want to COMPLETELY uninstall it and get my windows drive the way I had it because I didnt want to go through that menu every single time I booted and it automatically chooses ubuntu if I don't do anything which is really bad for me since I mostly boot up my computer then leave for a min or two. Ok, what I need help doing is is completely getting rid of this and going back to a single windows operating system without ubuntu so that I can unplug the windows drive from my computer to truly install it on the external without doing some weird partition or whatnot.

 >:( First time I didn't like ubuntu  :-\
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: ubuntu installation gone wrong
« Reply #1 on: February 02, 2012, 11:40:31 pm »
The boot menu lies in the MBR, so you have to get a Windows installation DVD and restore its MBR so you can get Windows' boot menu back.
« Last Edit: February 02, 2012, 11:41:00 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: ubuntu installation gone wrong
« Reply #2 on: February 03, 2012, 01:36:43 am »
to me it looks like everything played out perfectly normally. ubuntu was indeed installed on the 320 gb disk, and windows was left on the 500. you can see this as windows lists the second disk as unused, because it doesn't recognise ext4.

like juju said, GRUB is installed in the MBR (Master Boot Record), so it was necessary to overwrite the windows bootloader for ubuntu to run.
how were you planning on booting into either ubuntu or wondows without GRUB's menu to select the one you wanted? if all you want is for windows to be the default, then it's easy enough to change it's config files to do so.

EDIT: if you want to make windows the default boot option, edit /boot/grub/grub.cfg and change

set default="0"

to

set default="4"
(i think it should be 4, given the screenshots, but you can count yourself to double check. all the options are listed in the file below there, headed with

menuentry <whatever>

you'd have to have it still installed, though, of course.
« Last Edit: February 03, 2012, 02:00:00 am by shmibs »

Offline systwo

  • LV2 Member (Next: 40)
  • **
  • Posts: 25
  • Rating: +7/-0
    • View Profile
Re: ubuntu installation gone wrong
« Reply #3 on: February 03, 2012, 02:04:07 am »
You could try repairing the MBR with the windows install disk or equivalent (like Hiren's Boot CD). I think what you want is a completely portable installation of Ubuntu, like the one on this page http://www.pendrivelinux.com/creating-an-ubuntu-live-usb-from-cd/

The version in the link does not save your work but there is another version with persistence (for external HDD and such, as flash memory wears out quicker) on the website somewhere. I've done it before and it works out quite well. Unfortunately, this is as much as I can help you with because I did this a few years ago.

This would be the version you want if you don't want the boot menu to show every time, but boot Ubuntu when your external drive is plugged in
« Last Edit: February 03, 2012, 03:15:56 am by systwo »

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: ubuntu installation gone wrong
« Reply #4 on: February 03, 2012, 02:16:53 am »
Yes, as mentioned by shmibs, your screenshots show that Ubuntu did exactly what you asked for: installing on the second HDD :)
You don't need to destroy the GRUB MBR installed by Ubuntu (which was necessary for your computer to be able to launch Ubuntu on the external drive !), as GRUB is perfectly able to launch Windows. It's easy to configure it to launch Windows by default, and it's also easy to set a low timeout: check online documentation ;)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: ubuntu installation gone wrong
« Reply #5 on: February 03, 2012, 03:05:55 am »
Everything went fine, why would you not want a boot menu? I think you just messed it afterwards...

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: ubuntu installation gone wrong
« Reply #6 on: February 03, 2012, 04:06:36 am »
I think, he wants the bootloader only to be on /dev/sdb1.
This is not so hard to do, but you will first need to restore the MBR of windows (with the advice of the people above).
Then, just go install Ubuntu like you did before. During the installation there will be somewhere button named "Advanced" or "Bootloader options" (I don't remember exactly).
When you click on it you should see two checkboxes (bot selected) with the labels /dev/sda and /dev/sdb. Deselect /dev/sda. Continue your install.
Now the bootloader should only be on /dev/sdb.

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: ubuntu installation gone wrong
« Reply #7 on: February 03, 2012, 06:38:28 am »
well I fixed it actually

reformatted external and followed this: http://ubuntuforums.org/showthread.php?t=1014708

But thanks though :)
« Last Edit: February 03, 2012, 06:38:44 am by Snake X »
Loved this place, still the best producers of power metal, and sparked my dreams of coding.