LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how-to remove an OS (as in dos) from Xandros Lilo (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-remove-an-os-as-in-dos-from-xandros-lilo-175203/)

roo426 04-27-2004 01:41 PM

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

trickykid 04-27-2004 01:49 PM

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.

Komakino 04-27-2004 02:37 PM

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.

ZenPirate 04-27-2004 05:00 PM

you can also configure the bootloader graphically via the control center.


All times are GMT -5. The time now is 01:44 AM.