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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-15-2005, 02:03 AM
|
#1
|
Member
Registered: Jul 2005
Location: Australia
Distribution: Slackware 10.1 - 2.4.29
Posts: 79
Rep:
|
WinXP/Slack (LILO)
Hey all.
Currently i have slackware 10.1, WinXP Home, WinXP Pro and Win2003 on this computer. Unfortuantly i have to keep a Windows Distro for school.
Now i am going to completely format all Win partitions and install WinXP on a 10GB partition. This will roughly free up 60 or so gigs. However, i know when i install WinXP it will overwrite the MBR with its own bootstrap. This means that Slack will be virtually inaccesible.
LILO is installed to the MBR. What steps should i take (such as putting LILO on a floppy) to ensure that when this happens ill have access to my slack partiton to re config LILO.
|
|
|
10-15-2005, 02:58 AM
|
#2
|
Member
Registered: Dec 2004
Location: Sweden
Distribution: Slackware
Posts: 30
Rep:
|
DISCLAIMER: Don't do this unless you completely understands and agree
Probably not the simplest way. I would simply install Windows (on a second thought, *I* wouldn't) then boot with a slackware install cd. This will give you a Linux environment. Then I'm not too sure, but I would probably mount my old partitions, and copy the lilo.conf to /etc (perhaps modify to reflect the changes), run lilo, and hope for the best
*repeat disclaimer a couple of times*
|
|
|
10-15-2005, 05:05 AM
|
#3
|
Member
Registered: Jul 2005
Location: Australia
Distribution: Slackware 10.1 - 2.4.29
Posts: 79
Original Poster
Rep:
|
I dont agree :P
Your sure this will work?
|
|
|
10-15-2005, 11:07 AM
|
#4
|
Member
Registered: Dec 2004
Location: Sweden
Distribution: Slackware
Posts: 30
Rep:
|
Quote:
Originally posted by Casket
I dont agree :P
Your sure this will work?
|
I'm sure one could make it work. That is, the general method (install win, reinstall lilo) works, but that last step might require some tweaking. It might be as simple as booting the cd, then "mount /dev/hda1 /mnt/root && lilo -C /mnt/root/etc/lilo.conf", but it might be more complicated.
|
|
|
10-15-2005, 01:08 PM
|
#5
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
Quote:
mount /dev/hda1 /mnt/root && lilo -C /mnt/root/etc/lilo.conf
|
That should work, though it's been some years since I used lilo. I prefer grub theses days.
The easiest way would be to copy your mbr before installing windows and then just copy it back again afterwards. As root,
Code:
dd if=/dev/hda of=/root/mbr.backup bs=512 count=1
Then install windows, boot up the slackware CD, mount your Linux root on /mnt and do
Code:
dd if=/mnt/root/mbr.backup of=/dev/hda bs=512 count=1
Depending on which order the partitions are in, you may need to alter /etc/fstab to reflect the changes.
|
|
|
10-15-2005, 01:30 PM
|
#6
|
Member
Registered: Aug 2003
Distribution: Slackware,Arch
Posts: 389
Rep:
|
just install your window, then boot your pc using slack install cd (CD 1) & boot your slack partition from it & if i not mistaken the cmd look like this :
bare.i root=/dev/hxx noinitrd ro
after log on as root, /sbin/lilo
|
|
|
10-15-2005, 02:20 PM
|
#7
|
Member
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.9, SimplyMEPIS 3.3.2, Mandrake 10.1, SUSE 10.0, Windows 2000 Pro, Windows XP Home + Pro
Posts: 138
Rep:
|
Download MEPIS and use the OS Centre on the Live CD to install GRUB.
|
|
|
10-16-2005, 08:42 AM
|
#8
|
Senior Member
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020
Rep:
|
Quote:
Originally posted by nazmin
just install your window, then boot your pc using slack install cd (CD 1) & boot your slack partition from it & if i not mistaken the cmd look like this :
bare.i root=/dev/hxx noinitrd ro
after log on as root, /sbin/lilo
|
Hello,
as there are too many different answers for your question........so i'm reiterating the way of doing it in the right manner
follow what "nazmin" has instructed.
..............
just install windows, then boot your pc using slackware 1st cd.
when you reach the prompt for the first time.......type
#linux root=/dev/hdax ro and press enter
( now here 'x' depends on the partition where you have installed the linux )......on my maching its hda9....so take care
now just do
#/sbin/lilo
thats it.
regards
Last edited by b0nd; 10-16-2005 at 08:43 AM.
|
|
|
All times are GMT -5. The time now is 04:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|