LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-04-2007, 04:34 PM   #1
Psyco26
Member
 
Registered: Dec 2006
Location: Sweden
Distribution: Slackware 11.0
Posts: 33

Rep: Reputation: 15
Unhappy LILO deletion??


Hi im just trying to delete the LILO conf because i want to reinstall slacks, but the thing is after deleting, the swap and linux from /dev/sda2 and /dev/sd3 and reboot I still get to choose how to boot, on /dev/sda1 ive got Win xp installed, if that helps you, ive tried to do fdisk /mbr when booting with the slacks cd but get Unable to open /mbr, gratefull for all help, or if you need more feedback please dont hesitate and i will post anything needed.
 
Old 01-04-2007, 05:05 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
There is no need to get rid of LILO on the hd MBR. Just reinstall Slackware or any other operating system. It will take care of the boot loader during the installation.
 
Old 01-04-2007, 05:08 PM   #3
Psyco26
Member
 
Registered: Dec 2006
Location: Sweden
Distribution: Slackware 11.0
Posts: 33

Original Poster
Rep: Reputation: 15
Thank m8 will try it out....
 
Old 01-05-2007, 07:27 AM   #4
Psyco26
Member
 
Registered: Dec 2006
Location: Sweden
Distribution: Slackware 11.0
Posts: 33

Original Poster
Rep: Reputation: 15
Nope that dosent work, when I get the Slacks and windows to choose between on boot, it crashes in the middle telling me the kernel is not correct or something, well anyways it dosent work, and lets say i wanted to try some other dist that dosent run under LILO just GRUB still wanna know how to delete the lilo conf from the mbr, thx again for all help.
 
Old 01-05-2007, 08:13 AM   #5
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
check "man lilo" ... there is everything you need to uninstall lilo.

M.
 
Old 01-05-2007, 08:16 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by Psyco26
Nope that dosent work, when I get the Slacks and windows to choose between on boot, it crashes in the middle telling me the kernel is not correct or something, well anyways it dosent work, and lets say i wanted to try some other dist that dosent run under LILO just GRUB still wanna know how to delete the lilo conf from the mbr, thx again for all help.
Hi,

If you want to just get rid of the lilo bootloader and restore to the ntloader for windows then you can use the the windows fixmbr.

This command is only available from the recovery console for windows xp.


If you want to rewrite a new lilo to the mbr then use the install cd to boot. Then edit your /etc/lilo.conf after mounting the installed system you wish to work on. If you want to write the lilo for the said system, just chroot to that system and do your lilo command.
 
Old 01-05-2007, 08:35 AM   #7
Psyco26
Member
 
Registered: Dec 2006
Location: Sweden
Distribution: Slackware 11.0
Posts: 33

Original Poster
Rep: Reputation: 15
Yes but the problem is i messed up and deleted both sda2 and sda3 that were for the linux and linux swap, and only have the sda1 partition left for windows, and ive tried to rewrite the fixmbr from the restore win cd, but then i still get slack and windows to boot from, really weird i have to say....
 
Old 01-05-2007, 10:08 AM   #8
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Does your motherboard have "Protect boot sector" turned on in BIOS CMOS?
 
Old 01-05-2007, 11:18 AM   #9
Psyco26
Member
 
Registered: Dec 2006
Location: Sweden
Distribution: Slackware 11.0
Posts: 33

Original Poster
Rep: Reputation: 15
That was a good question i will have to check, guess i have dual bios if im not mistaken, will check and get back to you... thx again.
 
Old 01-06-2007, 08:16 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by Psyco26
Yes but the problem is i messed up and deleted both sda2 and sda3 that were for the linux and linux swap, and only have the sda1 partition left for windows, and ive tried to rewrite the fixmbr from the restore win cd, but then i still get slack and windows to boot from, really weird i have to say....
Hi,

This changes everything. You can always re-install the linux. Create the new partitions and install slackware again. You will then write to the MBR during the install.

Last edited by onebuck; 01-06-2007 at 08:20 AM.
 
Old 01-06-2007, 08:49 AM   #11
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by gwsandvik
Hi,

This changes everything. You can always re-install the linux. Create the new partitions and install slackware again. You will then write to the MBR during the install.
That's what I said in the first response to this thread. He responded by saying that the system appeared to act the same at boot time after the Linux install as though the MBR had not changed. I have seen that behavior on systems that can truly protect the MBR of the first hard disk when the motherboard is set to "Enable virus protection" or "Protect boot sector" or whatever the option may be called on any given motherboard.

Last edited by stress_junkie; 01-06-2007 at 08:50 AM.
 
Old 01-06-2007, 11:16 AM   #12
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by stress_junkie
That's what I said in the first response to this thread. He responded by saying that the system appeared to act the same at boot time after the Linux install as though the MBR had not changed. I have seen that behavior on systems that can truly protect the MBR of the first hard disk when the motherboard is set to "Enable virus protection" or "Protect boot sector" or whatever the option may be called on any given motherboard.
Hi,

I missed that since I responded via the link on email.

The other thought is that the partitions could be there still. The OP could use ranish or any other disk editor to see this. If the OP had logged the table or fdisk -l output then the recovery could be possible. Worth a try unless OP resized the winxp partition. The space would be there until partitioned again or written too.
 
  


Reply



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
rm and recursive deletion disruptive Linux - Newbie 3 02-15-2006 07:58 AM
deletion cerin MEPIS 3 12-04-2005 03:38 PM
File Deletion mhkhalqani Linux - General 1 10-12-2005 03:08 AM
deletion of a partition newusermike Linux - Newbie 1 09-29-2005 08:06 PM
lilo deletion Jeepee Linux - Newbie 6 07-08-2002 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration