CyberNet News
Please login or register.

Login with username, password and session length
Pages: [1] 2   Go Down

Author Topic: Boot-Up or Removal  (Read 6742 times)

0 Members and 1 Guest are viewing this topic.

El Guru (Al)

  • Hero Member
  • *****
  • Reputation: 65
  • Posts: 1535
  • When all else fails...reboot!
    • View Profile
    • WWW
Boot-Up or Removal
« on: September 22, 2007, 04:43:47 PM »
Since the majority of the time I still use Windows is there a way to change the default boot option to Windows instead of Ubuntu?  Either that, how do I uninstall Ubuntu and get back that hard drive that it currently occupies?

Pieter

  • Sr. Member
  • ****
  • Reputation: 34
  • Posts: 793
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #1 on: September 23, 2007, 12:33:27 AM »
No problem! First, copy /boot/grub/menu.lst to /boot/grub/menu.old.lst (as root). If your boot file becomes messed up for some reason, you can go back and fix the problem using the backup file (even using Windows). What you're about to do is not difficult, but you never know what could happen. Okay, so now you'll need to open /boot/grub/menu.lst with root privileges. (sudo gedit /boot/grub/menu.lst in a terminal)
Scroll down until you see a list of operating systems:
Quote
title      Ubuntu, kernel 2.6.20-16-generic
root      (hd0,2)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=3cf77cc0-5e33-4537-902a-f8d7f46900fb ro quiet splash locale=nl_NL
initrd      /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root      (hd0,2)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=3cf77cc0-5e33-4537-902a-f8d7f46900fb ro single
initrd      /boot/initrd.img-2.6.20-16-generic

title      Ubuntu, kernel 2.6.20-15-generic
root      (hd0,2)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=3cf77cc0-5e33-4537-902a-f8d7f46900fb ro quiet splash locale=nl_NL
initrd      /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root      (hd0,2)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=3cf77cc0-5e33-4537-902a-f8d7f46900fb ro single
initrd      /boot/initrd.img-2.6.20-15-generic

title      Ubuntu, memtest86+
root      (hd0,2)
kernel      /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title      Microsoft Windows XP Home Edition
root      (hd0,0)
savedefault
makeactive
chainloader   +1
You should recognize the text behind the word 'title' as it is shown in your boot menu. You can rename these entries if you like. Anyhow, now comes the easy part. Just move the entry for Windows to the top of the OS list like this:
(Note: do not copy/paste this, the situation could be different on your computer.)
Quote
# Note: you can add comments to this file by using the pound character
# Windows is on top of the list
title      Microsoft Windows XP Home Edition
root      (hd0,0)
savedefault
makeactive
chainloader   +1

title      Ubuntu, kernel 2.6.20-16-generic
root      (hd0,2)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=3cf77cc0-5e33-4537-902a-f8d7f46900fb ro quiet splash locale=nl_NL
initrd      /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root      (hd0,2)
kernel      /boot/vmlinuz-2.6.20-16-generic root=UUID=3cf77cc0-5e33-4537-902a-f8d7f46900fb ro single
initrd      /boot/initrd.img-2.6.20-16-generic

title      Ubuntu, kernel 2.6.20-15-generic
root      (hd0,2)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=3cf77cc0-5e33-4537-902a-f8d7f46900fb ro quiet splash locale=nl_NL
initrd      /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title      Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root      (hd0,2)
kernel      /boot/vmlinuz-2.6.20-15-generic root=UUID=3cf77cc0-5e33-4537-902a-f8d7f46900fb ro single
initrd      /boot/initrd.img-2.6.20-15-generic

title      Ubuntu, memtest86+
root      (hd0,2)
kernel      /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
And you're done. Note that I deleted this entry:
Quote
# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:
root
This entry doesn't actually do anything, it's just something like a separator. If you'd like to separate Windows from the Ubuntu entries, add this entry right underneath the entry for Windows:
Quote
# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Ubuntu boot options:
root
You get the general idea. And if you'd like to uninstall Ubuntu: boot the Recovery Console from your Windows XP install CD, execute fixmbr and fixboot, delete Ubuntu's partitions and you're done. The boot menu has been removed and all traces of Ubuntu are gone.
« Last Edit: September 23, 2007, 12:52:40 AM by Pieter De Decker »
Logged
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." - Rich Cook

El Guru (Al)

  • Hero Member
  • *****
  • Reputation: 65
  • Posts: 1535
  • When all else fails...reboot!
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #2 on: September 23, 2007, 01:37:51 AM »
Thanks, I'll give this a try.  I do want to keep Ubuntu but it is a pain to have to make sure I select Windows when I start my computer up.  Now if only I can figure out how to partition the drive that Ubuntu resides on so I can get a chunk of that unused space.  I suppose I could always remove Ubuntu then reinstall it and create it's own partition that way.  I am still trying to figure out who I managed to create another partition on my other drive that doesn't have Ubuntu or Windows on it.  It happened one time when I had trouble booting up.

Pieter

  • Sr. Member
  • ****
  • Reputation: 34
  • Posts: 793
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #3 on: September 23, 2007, 02:12:25 AM »
So you want to resize the Ubuntu partition to make more room for Windows? The only tool I know that can do the job is Acronis Partition Expert, but it's not free.
Logged
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." - Rich Cook

Richard

  • Sr. Member
  • ****
  • Reputation: 26
  • Posts: 801
  • Average Brit Studying an IT Degree
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #4 on: September 23, 2007, 02:44:53 AM »
use start up manager (SUM) - http://web.telia.com/~u88005282/sum/

Direct Download Link - http://web.telia.com/~u88005282/sum/archive/deb/startupmanager_1.9.5-1_all.deb



Easiest way to change Grub i use it when want to change some settings

Older Version will be in 7.10 software universe repository
« Last Edit: September 23, 2007, 02:47:59 AM by Richard »
Logged
Simple is designed and created by using the very best icons created by the open source community

Simple - Download Link

Pieter

  • Sr. Member
  • ****
  • Reputation: 34
  • Posts: 793
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #5 on: September 23, 2007, 02:49:04 AM »
I still prefer to do it manually though. I like doing dirty work. If you know your way around, it's easier to do it yourself than to let a third-party tool do the job.
Logged
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." - Rich Cook

Richard

  • Sr. Member
  • ****
  • Reputation: 26
  • Posts: 801
  • Average Brit Studying an IT Degree
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #6 on: September 23, 2007, 02:52:29 AM »
I still prefer to do it manually though. I like doing dirty work. If you know your way around, it's easier to do it yourself than to let a third-party tool do the job.

I know it is but useful if don't do the "dirty work" editing code your self
Logged
Simple is designed and created by using the very best icons created by the open source community

Simple - Download Link

Pieter

  • Sr. Member
  • ****
  • Reputation: 34
  • Posts: 793
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #7 on: September 23, 2007, 02:54:05 AM »
True. But I for one prefer to do it manually if it's quick and easy. :)
Logged
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." - Rich Cook

Ryan Wagner

  • Administrator
  • Hero Member
  • *****
  • Reputation: 51
  • Posts: 3404
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #8 on: September 24, 2007, 07:28:14 PM »
I still prefer to do it manually though. I like doing dirty work. If you know your way around, it's easier to do it yourself than to let a third-party tool do the job.
You're a crazy geek Pieter! I hate messing with system files knowing that one misspelling can cause the OS not to boot.
Logged

Pieter

  • Sr. Member
  • ****
  • Reputation: 34
  • Posts: 793
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #9 on: September 25, 2007, 09:48:48 AM »
Nah. If you know what you're doing, stuff ain't going to break. In fact, it's possibly even safer to do it yourself. Here's why.

Ryan, you've developed the new CyberNet website, right? So you probably know why some people prefer text editors over WYSIWYG editors: because they mess up your HTML code. Dreamweaver, I'm looking at you! >B\).
What if something weird happened to one of your system files? Let's just say you've performed some tweaks using a tweaking application. Will the automatic boot file editor still be able to pull it off without messing it up?
« Last Edit: September 25, 2007, 09:52:43 AM by Pieter De Decker »
Logged
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." - Rich Cook

Richard

  • Sr. Member
  • ****
  • Reputation: 26
  • Posts: 801
  • Average Brit Studying an IT Degree
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #10 on: September 25, 2007, 04:13:47 PM »
Dreamweaver just ticks me off so much bloat and not need for coding normal html and some javascript files i was doing a website design for course i am on. i turned to notepad and funny thing is nearly half of the class used notepad to do coding after they asked what i using instead of dreamweaver.

moral of the story:

If want bloated code and frequent crashes uses Dreamweaver
If want just the code and no crashes or freezers use Notepad (Best Application MS have keep simple)
Logged
Simple is designed and created by using the very best icons created by the open source community

Simple - Download Link

spock1982 (Ernie)

  • Full Member
  • ***
  • Reputation: 23
  • Posts: 387
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #11 on: September 25, 2007, 08:01:53 PM »
Have you tried Notepad++ Richard? I find it handy for HTML coding and it has no bloat?
Logged

Ryan Wagner

  • Administrator
  • Hero Member
  • *****
  • Reputation: 51
  • Posts: 3404
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #12 on: September 25, 2007, 08:21:08 PM »
I do use Notepad++ to do a lot of the programming. It's syntax highlighting is more than sufficient for me, and it just rocks. :)
Logged

Richard

  • Sr. Member
  • ****
  • Reputation: 26
  • Posts: 801
  • Average Brit Studying an IT Degree
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #13 on: September 25, 2007, 11:46:15 PM »
Have you tried Notepad++ Richard? I find it handy for HTML coding and it has no bloat?

Yes i have used it at home but could not install that on too one of the college computers
Logged
Simple is designed and created by using the very best icons created by the open source community

Simple - Download Link

Pieter

  • Sr. Member
  • ****
  • Reputation: 34
  • Posts: 793
    • View Profile
    • WWW
Re: Boot-Up or Removal
« Reply #14 on: September 26, 2007, 06:04:49 AM »
Have you tried Notepad++ Richard?
Yeah, Notepad++ is like the best HTML editor I've used so far. Sure, it just applies some color coding to your HTML files but that's all I really need. I wish they'd port it to Linux though. :(
Logged
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." - Rich Cook
Pages: [1] 2   Go Up
« previous next »