LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-15-2002, 11:21 AM   #1
urfrndvd
LQ Newbie
 
Registered: May 2002
Location: Reynosa, Tamps, MX
Distribution: Suse 8.0
Posts: 10

Rep: Reputation: 0
reinstalling windows into a partition, without affecting linux




I have windows in my pc, installed Suse Linux into a partition, booting with Lilo, later on I began having problems with Windows, related to windows problems,

Now I want to format the partition, reinstall windows, the problem is that i already tried it in another computer and lost the lilo boot capability, my mistake there was no to make a boot disk for linux,

Now the questions is, how can I install Windows into the partition (primary) without affecting windows???
or is it really necesary afterwards to use the boot disk???

An extra thing is does it cause any problem if I use the same ip address in windows and linux for my pc..... have two network cards....

An also is it posible to be use two network cards at the same time, both connected to the network...... I suppose that it will make my transfer and all that a little faster... just a thougt... : )
 
Old 08-15-2002, 11:55 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
You need a boot disk or any Linux installation cd to restore Lilo. You don't need a boot disk made for your distro, just ANY Linux boot disk (or a one-floppy distro).
There's no problem when you use the same IP in Windows and Linux (it can make problems only when they run at the same time ).
You can use 2 nics, but transfer is usually done using only one interface (read Advanced-Routing HOWTO for details). To configure second nic use
ifconfig eth1 ipforsecondnic
 
Old 08-15-2002, 02:13 PM   #3
urfrndvd
LQ Newbie
 
Registered: May 2002
Location: Reynosa, Tamps, MX
Distribution: Suse 8.0
Posts: 10

Original Poster
Rep: Reputation: 0
Is there any syntax to use to restore Lilo, after windows has been installed....

and is lilo compatible to boot winXP
 
Old 08-16-2002, 04:05 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yes it's comatible, and the syntax (if you can get to a linux command prompt) is "/sbin/lilo". Gotta love that.

Cool

<edit>
Almost forgot to tell you how to use lilo to boot it...

Place this line (replacing the a and the 1 with the correct letter/number of YOUR drive/partition) into your /etc/lilo.conf file:

other = /dev/hda1
table = /dev/hda
label = Winbloze (or whatever you would like to call it )

and then run /sbin/lilo from a linux command prompt.

Cool

Last edited by MasterC; 08-16-2002 at 04:08 AM.
 
Old 08-16-2002, 03:02 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
But if you had a working system (working Lilo),
/sbin/lilo
will be enough. It's that simple if you're using a boot floppy. If you have a cd, usiually it creates its own filesystem, so you need to
1) mount your / (root) Linux partitions from hd, you can do this:
mkdir /mnt/linux
mount -t ext2 /dev/hda5 /mnt/linux
In this example I assume your SuSE is using ext2 filesystem and rouu partition is /dev/hda5
2) chroot to set / directory to your own / (seems compilcated, but it's easy):
chroot /mnt/linux
3) and now lilo:
/sbin/lilo
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Change Windows without affecting GRUB or Ubuntu?? crash_override_me Ubuntu 5 10-19-2005 11:17 AM
kernel panic in linux after reinstalling windows b0nd Linux - Newbie 10 08-29-2005 02:22 PM
Reinstalling windows on linux infantpapa Linux - Software 1 01-13-2005 06:16 AM
Linux Help (Reinstalling Windows) Deanznet Linux - Laptop and Netbook 34 12-30-2004 11:08 PM
reinstalling linux into same partition? webazoid Linux - Software 1 07-02-2004 07:12 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration