LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 04-16-2005, 03:08 AM   #1
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Rep: Reputation: 30
dual boot Slackware 10.1 with Windows XP


I currently have Windows xp and Slackware dualbooted for various reasons. I want to re-install windows xp because it has been acting weird lately (various crashing). Now here comes the question:

Most likely the Windows XP installation will write over the MBR (where I installed lilo). How would I re-install LILO back into the MBR? Bootdisk and execute 'lilo'?

Thanks for taking your time to read this.

Last edited by houler; 04-16-2005 at 03:22 AM.
 
Old 04-16-2005, 04:29 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
create a lilo diskette so that it can boot to your slackware installation.
Then install XP.
After XP is done, boot your diskette.
Once logged into slackware from the diskette, re-run lilo overwrite the MBR
 
Old 04-16-2005, 02:16 PM   #3
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Original Poster
Rep: Reputation: 30
Ok thanks.

Last edited by houler; 04-16-2005 at 02:18 PM.
 
Old 05-14-2005, 11:29 PM   #4
JTD121
LQ Newbie
 
Registered: Apr 2005
Location: root~:
Distribution: Slackware 10.1
Posts: 3

Rep: Reputation: 0
So, it's fine to write LILO to the MBR? The last few times I tried this, it comes up with 'Invalid partition table' and sits there....Or was that writing to the superblock...? It was one of them and it didn't work...Should I try writing to the MBR next time? What's the option for that? Just the superblock (I think that's what one of them is...)...?

mainva | aptigo | JTD out
 
Old 05-15-2005, 12:28 AM   #5
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Personally, if you going to dual boot it is easier with grub. Lilo can still do it, and its all about how you partition your hard drive. I've always written to the MBR with every distro I've played with. I love slack, so I've had to learn a little about lilo, but I've dual booted Slack/XP before so it is possible. The warning here is, DO NOT upgrade disks to dynamic inside of windows. You will totally screw up your machine.

Post if you have any errors.
 
Old 05-29-2005, 10:20 AM   #6
theethan77
LQ Newbie
 
Registered: May 2005
Location: United States
Distribution: trying to get Redhat up...
Posts: 8

Rep: Reputation: 0
hey I may sound stupid, but I'm new to useinginstalling linux and I want to install a dual boot of XP, and Slackware, how to do I do this without killing XP? like is there a resize or something? I tried Fedora but it won't install and nobody is replying to me....?
 
Old 05-29-2005, 05:25 PM   #7
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
there is a tools called ntresize. Probably on sourceforge.net. That will resize the partitions. Slack will likely overwrite the masterboot record, so you'll have to manually edit lilo.conf to add the option to boot windows. Since I don't use lilo, I can' help there, but the resize utility will get you started.

Good luck
 
Old 05-31-2005, 06:06 PM   #8
theethan77
LQ Newbie
 
Registered: May 2005
Location: United States
Distribution: trying to get Redhat up...
Posts: 8

Rep: Reputation: 0
oh okay, thanks, I'll give it a try, anyone else able to help in this department? drop me an e-mail at theethan77@gmail.com -Ethan
 
Old 06-09-2005, 03:12 AM   #9
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
I guess you cannot boot to the slackware cd, and re-run lilo.
i only ask because my floppy drive is not working.
obviously i hope not to re-install winxp, slackware is used by me, my girlfriend just uses xp.
 
Old 06-09-2005, 12:00 PM   #10
theethan77
LQ Newbie
 
Registered: May 2005
Location: United States
Distribution: trying to get Redhat up...
Posts: 8

Rep: Reputation: 0
here's the thing, I don't know what lilo is, nobody tells me this stuff, so what is lilo? and so I should try like a boot for the foppy or another drive?
 
Old 06-10-2005, 02:10 AM   #11
heltreko
Member
 
Registered: Mar 2005
Location: Stockholm, Sweden
Distribution: Slackware, Zenwalk
Posts: 141

Rep: Reputation: 15
LILO stands for LInux LOader if i remember correctly. Its a bootloader utility which you can configure to your needs.

Take a look at these howto documents:
http://tldp.org/HOWTO/LILO.html
http://tldp.org/HOWTO/Linux+WinNT.html

For more complete information.

Last edited by heltreko; 06-10-2005 at 02:15 AM.
 
Old 06-10-2005, 06:21 AM   #12
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Ethan, if you are still looking for help then you may be interested in searching your town for a Linux Users Group. People who come to ours can bring their PC and we install linux while they watch so they can get an understanding of what is happening. There is at least one guy in our User Group for the major distros and if someone asks about one of the smaller obscure distro, we can usually manage.
 
Old 06-10-2005, 10:19 AM   #13
theethan77
LQ Newbie
 
Registered: May 2005
Location: United States
Distribution: trying to get Redhat up...
Posts: 8

Rep: Reputation: 0
oh that's awesome, I'll look into that... maybe I could get them to get our LANparty back up like we ahd planned this year for our high school it was going to be huge, but eh it crapped out on networking.

anywoo thanks, uh I'll check that out ;D
 
Old 07-19-2005, 10:01 AM   #14
master_boy
LQ Newbie
 
Registered: Jul 2005
Location: Slovakia
Distribution: Debian 3.1
Posts: 16

Rep: Reputation: 0
Hi Everyone!
I have a dual boot system (Win98/Slack 10.1). I reinstalled a Win98 -> WinXP, but I forgot creating boot floppy ("mkbootdisk") to my Linux system. The question is "How can I put lilo -> mbr ?"

/hda1 - WinXP
/hda5 - Slack 10.1

I try with Knoppix, rewrite "/mnt/hda5/etc/lilo.conf" to boot record, but i couldn't it make, because sends me back an error message. Have you guy's any idea, how can I make it done?

I try these commands in Knoppix root konsole:
root#/mnt/hda5/sbin/lilo
root#/mnt/hda5/sbin/liloconfig
root#/sbin/lilo
root#/sbin/liloconfig

I thank you for your attention!
Best wishes!

master_boy
 
Old 07-19-2005, 12:14 PM   #15
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Yeap, init with Knoopix like you did, and mount the harddisk, then use: chroot /mnt/hda5/
and run: lilo
(or liloconfig)
 
  


Reply

Tags
machine, multiboot, virtual


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
How To Set Up Dual Boot Windows/slackware MDesigner Slackware - Installation 8 02-22-2009 08:17 PM
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM
Can Slackware dual boot with windows XP? TigerLinux Slackware 14 10-03-2005 06:27 PM
i need help with a dual boot (windows and slackware linux) Tod_Con Slackware - Installation 1 06-13-2004 01:02 AM
Dual-Boot questions with Slackware 9.1 / Windows XP Pro The1ManMoshPit Slackware - Installation 3 05-31-2004 04:33 PM


All times are GMT -5. The time now is 07:24 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