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-27-2004, 02:41 PM   #1
roo426
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Question how-to remove an OS (as in dos) from Xandros Lilo


Hi, I had a dos boot on my hda drive and installed Xandros on my hdb drive. Lilo set itself up in a dual boot mode ( Xandros and Dos). I would like to remove the dos partition to make it a Xandros only system without having to reinstall Xandros again.
would removing the dos info by editing lilo.conf or devices.inf work? Or is there more to it!!!!!!

Thanks
Roo426 the Newbie
 
Old 04-27-2004, 02:49 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Remove the entry in lilo.conf and rerun lilo by typing lilo

But it still leaves hda partition with a Windows OS on it.. you can format it to a Linux filesystem or do whatever you want from that point on, etc.
 
Old 04-27-2004, 03:37 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
edit /etc/lilo.conf and remove the dos entry. Make sure also that the default is to load linux in the lilo.conf file. If no default is specified and Linux is the only entry in the file then that will work just fine. Run /sbin/lilo as root to make settings take effect.

Next, run cfdisk as root to remove the windows partition, add a new one and set the type to linux native (hex code 83). Finally run mke2fs -j /dev/hdxn where hdxn is the partition you just created. This will make it ext3.

All this as root, of course.
 
Old 04-27-2004, 06:00 PM   #4
ZenPirate
LQ Newbie
 
Registered: Mar 2004
Location: New York
Distribution: SuSE 9.1
Posts: 14

Rep: Reputation: 0
you can also configure the bootloader graphically via the control center.
 
  


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
Multiboot WinXP, FC2 & Xandros under Xandros lilo? RobF Fedora - Installation 9 08-16-2004 03:01 PM
Getting to DOS prompt under LILO Abeer_V Linux - Newbie 4 09-20-2003 08:50 AM
Dos killed my LILO wass29 Slackware 5 02-03-2003 04:17 PM
cant boot dos w/lilo reverand_13 Linux - Software 5 02-02-2002 05:55 PM
Lilo won't see DOS tunedLow Linux - Software 1 11-29-2001 01:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:00 AM.

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