Debian on dual-boot - will upgrade to SID kill MBR?
Linux - NewbieThis 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.
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.
Debian on dual-boot - will upgrade to SID kill MBR?
OK....
Originally dual booted Inspiron 5000 laptop with Win2K and Red Hat9. Decided after RH decided to drop Red Hat's development, and reading a few articles, I decided to wipe RH9 and put Debian on the other half of the drive...
SO I installed it - painfully. Didn't spend enough time looking up articles and walkthroughs for installing Debian (After one of the folks here specifically told me to! - I might write my own walkthrough to add to the community). Made a ton of mistakes (I thought) with the install and then installed it a second time. Things went much better, but ...
It seems I installed everything on APT (all 8000). SO I do some more research. I figure out there is a better way -check out distrowatch.com - and am planning on reinstalling (3rd times the charm, right?).
One problem:
I read about the backport of some apps, and updating or upgrading to Sid (unstable) in order to have a more up to date system. This may cause some apps to break and causes LILO to reinstall on the MBR. My system is dual boot because I need windows for work stuff. For the short term, I need Redmond Crack.
So if I upgrade to SID - will I mangle the MBR, kill or disable the ability to dual boot, and screw myself? Should I suck it up and go back to redhat9? Should I try to backport the applicatons I want to update and use ADAPT to remove the apps I dont want? So many options... so little experience
I am a newbie. I have only installed RH on 3 systems, Debian on this laptop (do 2 bad installs count?) and slackware on another dell laptop. Please be gentle.
The base install configures LILO for dual boot (placing windows on the boot screen at startup) and it runs fine.
My fear was if I upgrade from Woody to Sid, and LiLo is reinstalled on the MBR (which I would assume would change the config?)... would a properly configured lilo.conf matter? WOuld it just get crushed?
When you upgrade from Woody to Sid using "apt-get dist-upgrade" all you're doing is just upgrading software packages, nothing else. LILO won't magically (re)install itself unless you tell it to do so.
but if you're really paranoid, here's one thing you can do:
assuming your mbr is on /dev/hda (ie you boot from it)
Code:
dd if=/dev/hda of=oldmbr.bin bs=512 count=1
put oldmbr.bin somewhere safe, say on a floppy disk.
then if something chaotic happens(hope not), you can restore it with
Code:
dd if=oldmbr.bin of=/dev/hda bs=512 count=1
triple check the dd commands make sure they are 100% correct
i had win32 and rh8. removed rh8, installed woody, keeping win32 intact. upgraded to sid using apt, and im still here.
go for it.
p.s: you might wanna take a backup of what you think is necessary, but i dont see any reason why the MBR would change as long as lilo.conf remains the same. and at no point during the upgrade will lilo.conf be modified.
Backed everything up today... trying to avoid unneccessary pain with the install and then the LILO thing scared me. I wont lose anything except time if this goes bad.
Still afraid I am biting off more than I can chew with Debian... but I am learning so much
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.