LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2008, 11:32 AM   #1
sashag
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Rep: Reputation: 0
Unhappy Getting error message when trying to delete Linux partition.


Hi!

I had used a partition management software to try and get rid of
the Linux partition. However, I keep getting the error message
about the 'config.sys error at line one' error. Once I get this
message, the partition software stops and I can't do anything else.
I even tried using the well-known Partition Magic, but get the same
error message.

Right now, both the Linux and Windows XP OS's are running fine, so
I don't know what to do so that I don't mess up both just to get
rid of one of them (Linux). I also tried to use the Windows XP
recovery CD, but when it came time to choose one of the options of
how I wanted the hard disk configured, I really didn't want to
choose the one that said if I wanted to delete the entire disk, as
that would mean that I would have to start all over again, and I've
had a hard time installing the sound when my computer crashed the
first time a few weeks back.

Any suggestions of how to keep the Windows XP OS and still getting rid of the Linux OS? On the other hand if someone can tell me how to make Windows XP load first every time, that would work as well. However, I'm a total 'newbie' when it comes to Linux, so unless someone would take me step by step either through Windows XP or Linux (I have the Kubuntu OS), I would find it hard to accomplish this myself. I just don't want
to keep getting the black screen that asks you what operating system you
want to use, especially since after ten seconds, if you havn'et chosen,
Linux Kubuntu starts up whether I wanted it to or not! Thanks everyone!
 
Old 04-20-2008, 12:02 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Are you using the grub bootloader provided by Kunbuntu?

If yes, boot into Kunbuntu. Then edit file /boot/grub/menu.lst (use the command: sudo kate /boot/grub/menu.lst), or whatever your favorite editor is in Kunbuntu.

Change the line: timeout 10 (the default 10 second delay before the default OS boots up). Make the timeout value as long as you want it to be.

The line that reads: default 0 sets the default OS to boot. 0 is the first OS in the menu, 1 is the second, and so on. Change the default line to the number of the position of XP in the menu (counting from 0), or cut and paste the XP entry to the first position in the menu, and leave the default at 0.
 
Old 04-20-2008, 12:13 PM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
I will assume your boot manager is grub. Open a commandline terminal, and become root. Use a text editor to modify the file /boot/grub/grub.conf (may be called menu.lst or menu.conf). Within it you will find a series of groups of entries, each group starting with the 'title' record (which you will probably recognize from the boot menu). These are an ordered list, and the 'default' record refers to one of them, by number. The groups are numbered starting from zero. Edit the value of the 'default' record, so it points to the OS you want to boot by default. Save the file, reboot, enjoy.

Here is a sample (but without any non-linux OS)
Code:
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.24.4-64.fc8)
        root (hd0,0)
        kernel /vmlinuz-2.6.24.4-64.fc8 ro root=/dev/VGAmyMain/Root rhgb quiet
        initrd /initrd-2.6.24.4-64.fc8.img
title Fedora (2.6.24.3-34.fc8)
        root (hd0,0)
        kernel /vmlinuz-2.6.24.3-34.fc8 ro root=/dev/VGAmyMain/Root rhgb quiet
        initrd /initrd-2.6.24.3-34.fc8.img
--- rod.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 5 - VMware partition error message deardoom Fedora - Installation 7 10-17-2006 06:13 AM
Delete Linux partition oldi Linux - Newbie 7 12-07-2004 11:47 AM
How can i delete linux completely from my partition? violentpatrick Linux - Newbie 3 06-27-2004 06:55 PM
how to delete linux partition?? eye Linux - Software 8 08-26-2003 05:16 AM


All times are GMT -5. The time now is 06:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration