• Lucid Dreaming - Dream Views




    Results 1 to 24 of 24

    Hybrid View

    1. #1
      Veteran of the DV Wars Man of Steel's Avatar
      Join Date
      Mar 2007
      LD Count
      ~35
      Gender
      Location
      Houston, TX
      Posts
      4,553
      Likes
      94

      Ubuntu Dual-Boot Tutorial

      I got a PM asking me, of all people, how to go about dual-booting Vista and Ubuntu, and after writing up a rather lengthy response, I figured I may as well post it here where somebody else might get some use out of it, too.

      NOTE: Follow these instructions at your own risk. I STRONGLY recommend that you do some research through Google and Google Linux, as well as reading through the Ubuntu Forums, before attempting this. As your common sense should tell you, I'm not responsible if you mess up your computer trying this. As far as I know, everything in this post is correct, but it certainly won't hurt to double-check things.

      I'm no expert at such things, but I have set up a dual-boot before on a few different machines. It's actually far easier than you might be thinking. First you'll need a working CD of the latest version of Ubuntu/Kubuntu. You can download the CD image from their site, HERE or have them send you CDs in the mail, they don't cost anything. Just burn the CD image to a CD using your CD burning program of choice. I've heard Alcohol120% works well. I used InfraRecorder I think. Make sure you burn it as an image and not a data CD, and also be sure to burn it at a slow speed (4x-8x) rather than maximum, as burning it at faster speeds can cause it to hitch during booting or installation, or just plain ruin it. Then you want to boot from the CD; you do this by putting in the disc and restarting your computer (before you restart, make sure the CD burned correctly by letting it run in Windows. It should pop up with a window telling you a little about Ubuntu, and listing a few programs you can use in Windows as well.). It should automatically boot from the CD.

      If it doesn't, you have to set your BIOS boot order. Start up your computer, and watch with bated breath and lightning reflexes for that BIOS screen. Press whatever key is needed to get into your BIOS as soon as you see the screen (usually it says at the bottom of the screen what key to press, if not, or if you don't want to risk missing it the first five or six times, go here for a list of what keys to press for what BIOSes/computer manufacturers: LIST). In fact, start pressing it repeatedly as soon as you press the power button. That way you might actually get into the BIOS on the first boot. Then just find the setting for boot order, raise your CD drive to priority #1, and save and exit. Then put the CD in and restart.

      Once Ubuntu loads up (it may ask you a few questions while booting, such as what language to use, what keyboard layout to use, screen resolution, etc., not sure if it still does that these days) go to the equivalent of the Start menu, look in I believe it should be the System, or possibly Utilities submenu, and find QTParted. That's what you'll use to partition your hard drive. You need a separate partition for Ubuntu to install to. You might want to do a little research on partitioning before starting. A quick Google Linux search should turn up plenty on that.

      You will need to unmount your hard drive before partitioning. That's easy enough to do. Open Konsole (Linux equivalent of Command Line) and type:
      HTML Code:
      sudo passwd
      This allows you to set a temporary password for root (su means switch/super user, do is obvious). After setting the password, type:
      HTML Code:
      sudo umount -f /media/sda1
      This unmounts your hard drive so that QTParted can access it. Check to be sure it's unmounted with:
      HTML Code:
      mount
      That should list all mounted filesystems.

      QTParted is pretty easy to use, and if you have any questions there is plenty of online documentation. Using it, you'll need to resize your existing Windows partition, to about half the size of your hard drive, or two-thirds, depending on how much space you want for Ubuntu. I'd make sure you have at least 10GBs for Ubuntu. Then make a new partition in the newly opened-up space, however big you want for Ubuntu minus 1.5-2 times how much RAM you have. So say you have 2 GBs of RAM, save out 3.5-4 GBs space. Make the main (root) Ubuntu partition use the reiserfs file system. Then use that 3.5-4 GBs (relative to your RAM) to make a swap partition for Ubuntu. The file system type should be swap (It may say Linux Swap Partition or the like). This works like virtual memory in Windows. So say your hard drive is 100 GBs, and you have 2 GBs of RAM, you should have say:
      • Windows Partition - 60 GBs (NTFS)
      • Ubuntu Root Partition - 35 GBs (reiserfs)
      • Swap Partition - 4 GBs (swap)
      • A small bit of leftover free space

      With me so far? Good. It gets easier now. See that little icon on the desktop that says Install? Click that. Then just follow the steps until you get to the partition bit. Make SURE you opt to do that manually, or it could wipe out your Windows installation. All you have to do is select the fresh-made partition you just created a few minutes ago for the root partition, and the smaller (swap) partition for your swap partition. Then follow the steps and prompts from there. Should be a piece of cake, really.

      PM me if you have any questions, or better yet, PM one of the other guys, like Ynot or possibly wasup or one of the other more Linux-savvy folk that frequent the Tech Talk forum. Also, if anybody sees that I said something wrong here, speak up; I don't want to be responsible for turning someone's computer into a nice paperweight with a shiny screen.

      Hope this helps,
      MoS
      Last edited by Man of Steel; 02-28-2008 at 06:40 AM.

    2. #2
      Member Identity X's Avatar
      Join Date
      Mar 2004
      Gender
      Posts
      1,529
      Likes
      7
      Here's what I did.

      1. Wubi
      2. There is no two

    3. #3
      Member Achievements:
      1 year registered Veteran First Class 5000 Hall Points

      Join Date
      Sep 2004
      Gender
      Location
      Seattle, WA
      Posts
      2,503
      Likes
      217
      Yeah, and be sure to understand all those commands. Not every primary hard disk will live under /media/sda1.

    4. #4
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      there's not really any need anymore to manually partition things

      I'll do a screenshot tutorial type thing

      *********

      Burn Ubuntu CD
      http://www.snoopy.force9.co.uk/ubuntu/01.png

      Reboot
      The Ubuntu Live CD will kick in
      http://www.snoopy.force9.co.uk/ubuntu/02.png

      Choose "Start or Install Ubuntu"
      Ubuntu will boot up
      http://www.snoopy.force9.co.uk/ubuntu/03.png

      When it's booted, it'll look like this
      Notice the "Install" icon
      http://www.snoopy.force9.co.uk/ubuntu/04.png

      At this point, you can play around with it, if you want
      Webbrowsing / email / etc.
      but it's running off the CD, so will be quite slow

      To install to your hard drive,
      click the "install" icon
      http://www.snoopy.force9.co.uk/ubuntu/05.png

      Choose your language, and click forward
      Choose your location, and click forward
      http://www.snoopy.force9.co.uk/ubuntu/06.png

      Choose your keyboard layout, and click forward
      http://www.snoopy.force9.co.uk/ubuntu/07.png

      Now, the disk partitioning...
      http://www.snoopy.force9.co.uk/ubuntu/08.png

      This will depend on how many disks you have
      and what your personal preferences are
      http://www.snoopy.force9.co.uk/ubuntu/09.png

      If you have one disk (currently with Windows on it) and you want to dual boot
      you'll need the first option
      This will shrink the windows partition, so there's room for the linux partitions

      If you have one disk (currently with Windows on it) and you want to get rid of Windows altogether
      you'll need the second option
      This will delete the windows partition, and the Linux partitions will use the whole disk

      Then there's the manual partition option
      Use this if you know what you're doing

      Seeing as I only have one disk on this virtual machine
      and I don't want to lose windows
      I'll be using the first option, and resizing the partitions

      It'll warn you before making any changes
      http://www.snoopy.force9.co.uk/ubuntu/10.png
      If you're happy, press continue

      Now the resizing begins
      This will take some time
      So be patient
      http://www.snoopy.force9.co.uk/ubuntu/11.png

      Next, you can migrate settings and things over from your Windows install if you wish
      (email accounts, documents, etc.)
      I've never really used this feature, but anyhow
      http://www.snoopy.force9.co.uk/ubuntu/12.png

      Now, you get to choose your account name & password
      also a name for your computer, for networking
      http://www.snoopy.force9.co.uk/ubuntu/13.png
      Don't forget your password...

      Next is a confirmation screen, before actually installing the system
      you have the option to go back and change things if you want
      http://www.snoopy.force9.co.uk/ubuntu/14.png
      If you're happy, click Install

      Ubuntu is now being installed
      http://www.snoopy.force9.co.uk/ubuntu/15.png

      You can still use the Live CD, even while it's installing to the hard disk
      While you wait, you can pass the time by surfing the net
      or playing the various games that come with Gnome
      http://www.snoopy.force9.co.uk/ubuntu/16.png

      When it's done, you can reboot into your new operating system
      http://www.snoopy.force9.co.uk/ubuntu/17.png

      You'll have a snazzy new boot loader
      With options to boot into Linux or Windows
      http://www.snoopy.force9.co.uk/ubuntu/18.png


      Enjoy
      Last edited by Ynot; 02-28-2008 at 11:07 PM.
      (\_ _/)
      (='.'=)
      (")_(")

    5. #5
      Banned
      Join Date
      May 2007
      LD Count
      Loads
      Gender
      Location
      Digital Forest.
      Posts
      6,864
      Likes
      386
      Quote Originally Posted by Identity X View Post
      Here's what I did.

      1. Wubi
      2. There is no two
      QuetzacoautalOWNED.

    6. #6
      Veteran of the DV Wars Man of Steel's Avatar
      Join Date
      Mar 2007
      LD Count
      ~35
      Gender
      Location
      Houston, TX
      Posts
      4,553
      Likes
      94
      Wow, Ynot, great post, man. I didn't realize that Ubuntu would automatically resize your Windows partition for you now, that's great. I never did get around to installing last night, got tied up doing other stuff. But yeah, that's awesome.

      Edit: Heh, apparently Kubuntu doesn't do that; I had to manually partition my HDD just now. Got Kubuntu up and running now, though, and KDE 4 installed, though I haven't tested that yet.
      Last edited by Man of Steel; 02-29-2008 at 08:25 AM.

    7. #7
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      Never used Kubuntu
      I'm a Gnome guy, always have been
      but,
      Ubuntu & Kubuntu would (or, should) be the same (just using different desktop environments)

      Maybe they're not??
      I don't know

      At any rate
      It really doesn't matter which you install (and I've never understood the split between the different desktop environments)

      Install Ubuntu
      You have Gnome
      Open up Synaptic
      Uninstall Ubuntu-desktop
      Install Kubuntu-desktop
      You have KDE
      (\_ _/)
      (='.'=)
      (")_(")

    8. #8
      Member Identity X's Avatar
      Join Date
      Mar 2004
      Gender
      Posts
      1,529
      Likes
      7
      Quote Originally Posted by Ynot View Post
      Uninstall Ubuntu-desktop
      Install Kubuntu-desktop
      This may sound stupid, but are ou sure these should be the other way round? You wouldn't want to unistall GNOME when using it, would you?

      Anyhow, GNOME is always sufficient, except for Nautilus, which is shit.

    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
    •