LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-08-2013, 01:56 PM   #1
madslackw
LQ Newbie
 
Registered: May 2010
Posts: 26

Rep: Reputation: 0
Remove ext3 partitions and lilo


hi

i've been working for some years in a private company but i'm leaving this month. I use a company's laptop where i installed slackware with double boot with windows 7.So, i pretend to leave this laptop only with windows, but i have a small issue to solve.

I'm going to erase the slackware partitions (ext3) and transform it in ntfs partitions. But how do i remove the lilo boot ?

i've read somewhere that after removing linux partitions and transform them in NTFS, i should use the following command :

fdisk /mbr

Is this correct ?

Thanks in advance
 
Old 10-08-2013, 02:08 PM   #2
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
I think you'd have better luck asking in a Windows forum how to restore the Windows 7 bootloader. A simple Google search suggested something like this.

Edit: also, most computers with Windows preinstalled have a restore partition. If you haven't removed that partition, it may be possible to restore the system (including the partition table and filesystems) to factory state from the BIOS or something like that.

Last edited by rg3; 10-08-2013 at 02:10 PM. Reason: Further info.
 
Old 10-08-2013, 03:56 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 3,110

Rep: Reputation: 9944Reputation: 9944Reputation: 9944Reputation: 9944Reputation: 9944Reputation: 9944Reputation: 9944Reputation: 9944Reputation: 9944Reputation: 9944Reputation: 9944
This works too:

dd if=/usr/share/syslinux/mbr.bin of=/dev/sda
 
1 members found this post helpful.
Old 10-08-2013, 05:16 PM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
You probably should have the hard drive properly erased prior to turning it in regardless. Active KillDisk works wonders to erase hard drives, and then let the IT people at your company reinstall using their media disks or remote install server.
 
Old 10-10-2013, 12:03 AM   #5
jtsn
Member
 
Registered: Sep 2011
Posts: 925

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
LILO saves a MBR backup as /boot/boot.0800. Before writing it back to the MBR make sure to not destroy the partition table contained inside LBA 0.

If you don't have a MBR backup, you can write a standard MBR that boots the active partition using
Code:
lilo -M /dev/sda mbr
Make sure, that the correct partition (the Windows 7 boot partition, which is not the C: drive) has the boot flag set.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dolphin and ext3 partitions Myxoloid Mandriva 5 07-30-2009 10:33 AM
Does XP Choke on ext3 Partitions? philipogletree Linux - Hardware 4 08-13-2005 01:04 AM
How to resize ext3 partitions? VincentB Linux - General 1 05-26-2005 11:56 AM
Combining EXT3 Partitions Mr_Munkey Linux - Hardware 4 03-14-2005 09:23 AM
Can I have some partitions be ext2 and some be ext3? WorldBuilder Linux - General 7 05-09-2003 03:49 PM

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

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