Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-15-2004, 06:24 PM   #1
LQ Newbie
Registered: Jan 2004
Location: Texas
Distribution: Slackware 9.1
Posts: 17

Rep: Reputation: 0
Question hard drive organization

Okay, I have XP and a slackware distro on my laptop, it's around that time to reinstall XP (we all know how MS sucks) but I heard that if I format that partition of my hard drive for the install that I will erase by disk header and lose LILO making my linux partition this true? how do I prevent this.

Okay, question 2:
This is most likely how I'm going to set up my hard drive when it's all said and done..

XP partition
fat-32 partition for files that will be used in XP or linux
swap (linux)
linux install partition
home partition <--- do I need to maket this a separate partition?
root partition <--- do i need to make this a separate partition?
sun OS partition

Is there any order I can put these in to prevent the issue I brought up in the first part of my post? Also, let's say that I installed all my linux programs in the root partition, does that mean if I format and install a different distro on my "linux install partition" that I won't have to reinstall all my programs that are safe and secure on my "root partition"?

I know that was sort of a big post, well big responses are welcome!!! Thanks for any help.
Old 07-15-2004, 08:22 PM   #2
Registered: Feb 2003
Posts: 484

Rep: Reputation: 33
for the lilo, yes windows will erase it. the last time that i installed it anyway, a while ago and win2k, so it might be different now.
to save the lilo config, drop it onto a floppy, if you don't have one hooked up you should be able to pipe /sbin/lilo to cdrecord and then put it on a cd. this is going to be a very small file, so i would use a rw. i don't know if slack has a rescue option, i would believe that they do, so you could boot off of the disk into your linux after the xp install and then just rewrite your lilo.
if your home is in the same partiion as root, then once you install another distro, you will loose your /home. put it on a different partition.
Old 07-15-2004, 09:54 PM   #3
LQ Newbie
Registered: Jan 2004
Location: Texas
Distribution: Slackware 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
okay, thank you, so LILO is written over....
also, if i wanted to save LILO to my floppy, what command do i enter in linux at the command line?

if i put linux as the first partition to my hard drive, will windows still overwrite lilo?

if i plan on running only one local user for my distro, can i install all my programs from the "root" user into my local user's "home" directory on a separate partition so that when i install a different distro i don't have to install all my programs again? if so, linux is more awesome than i thought

Old 07-16-2004, 12:37 AM   #4
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
It's always nice to have a Knoppix cd laying around.
This page tells you how to restore lilo using Knoppix:
Old 07-16-2004, 02:00 AM   #5
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
In the Microsoft universe, there is no other operating system than windows. So during an install, while you are reading the bells and whistles this miraculous system is bringing to you, it installs its boot loader, denying access to the rest of your disk. However, all you need to have is information. Before reinstall windows, you have to know what is your root partition. You can see it in the file "/etc/lilo.conf" in the line "root=/dev/hdaX" for ide drives or "root=/dev/sdaX" for scsi drives. Keep this information because you will need it several hours after.
If you do not have the slackware cd, prepare a boot floppy following the slackware installation instructions you did some time ago.
After the installation, you need to boot your machine with the slackware cd or the boot floppy. When you see the prompt
, enter
linux ro root=/dev/hdaX
where hdaX must be substituted by the information you kept before the windows installation.
I would recommend you to test this procedure before the windows installation to see if you have all information needed and the diskette reads ok and the system can boot from cdrom, etc, etc...
After boot, log in as root and enter
to reinstall lilo.


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
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 03:24 PM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 02:47 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 01:01 PM
STUCK--Trying to copy old Hard Drive to new Hard Drive. Please Help tsw Linux - Newbie 8 05-26-2004 03:47 AM > Forums > Linux Forums > Linux - Newbie

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

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