LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-02-2006, 10:54 AM   #1
imatrvlr1
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
Install Problem


I installed Slackware (2 cd version) over Mandriva (trying different distros). I get the Mandriva login screen. Can't get rid of it. Repartitioned the hard drive 3 times, reinstalled 3 times.....cannot get it running even with boot floppy. Do not know command to run once I sign in as root from boot floppy. Any help will be greatly appreciated.
 
Old 02-02-2006, 11:05 AM   #2
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Did you completely wipe your harddrive using cfdisk, and afterwards made you own partitiontable?
Sounds like it's still booting up your previous distribution.

Is it only the mandriva welcomescreen, and then when you logs in it's slackware or?
 
Old 02-02-2006, 11:09 AM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Where exactly do you see this screen? Right after the machine boots?

If you have reformatted and reinstalled that many times, it can only be the Mandriva bootloader still remaining in the MBR.

Where did you tell Slackware to install it's bootloader?
 
Old 02-02-2006, 02:33 PM   #4
imatrvlr1
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
As soon as the machine boots up the Mandriva screen comes up.....it times out and tries to load Mandriva which does not exist anymore and locks up.

I used fdisk and deleted, partitioned, did the "t" and typed "82" according to the instructions and checked the partions, and then "w" to write the changes....then formated per the gui screens soon after the "setup" started.

I can't remember where I put lilo. It seems to me that I did not get it into the MBR properly.

I can use the boot disk to start the machine....problem is that I don't know how to start slackware to boot to the kde gui. Or to change the lilo to MBR.
 
Old 02-02-2006, 02:47 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
It asks during lilo install prog where you want to install to.

To boot to a gui you will need to set up the x server. Instructions can be found at slackware.com or in this forum. Once xorg.conf is set up run xwmconfig and choose kde as your default wm. Then either type startx or edit your /etc/inittab so that the default runlevel is 4
 
Old 02-02-2006, 03:41 PM   #6
onelung02
Member
 
Registered: Oct 2003
Location: utah
Distribution: Slackware 10.0, Gentoo 2006.0
Posts: 289

Rep: Reputation: 30
It's rather important that Lilo is installed in order for you to boot into Slackware without a disk. If you are able to get into Slackware I would check your /etc/lilo.conf . If that exists you should post it's contents here.

Also, what option did you choose when you were installing lilo? There are 3, and I cannot remember them off the top of my head. I always choose the option that is labeled (possibly unsafe) because I love taking risks, . Not really, it just always seems to work for me.
 
Old 02-02-2006, 03:48 PM   #7
onelung02
Member
 
Registered: Oct 2003
Location: utah
Distribution: Slackware 10.0, Gentoo 2006.0
Posts: 289

Rep: Reputation: 30
On a side not, you might as well give startx a try if you installed everything during your install. Sometimes it just works out of the box has been my experience, and that can save you a nice little headache.
 
Old 02-02-2006, 06:13 PM   #8
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
You have Mandriva grub at mbr. Use windows or dos boot disk and do A:/ fdisk /mbr. If you dont have such disk you can get one from http://bootdisk.com. Then do SW install.
But installing lilo to mbr should overwrite grub. The mandrake 9.2 manual says to uninstall mandrake format the drive and use dos bootdisk as above.
But I would think pkgtool should get you to config and install lilo to mbr and keep your present install.

Last edited by lestoil; 02-02-2006 at 06:16 PM.
 
Old 02-02-2006, 06:22 PM   #9
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
I agree with lestoil. The MBR is not being changed. Using a DOS bootdisk should work.

I've never ran into that particular problem, tho. I've run into a hosed MBR that was simular, and ran a DOS debug script that overwrote the MBR and first 200 bytes of data on the HDD. That cleared it right up, then ran cfdisk and made it a ext3, etc...

If you want the debug script, google it. Try "debug HDD"
 
Old 02-03-2006, 09:47 AM   #10
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Quote:
Originally Posted by imatrvlr1
As soon as the machine boots up the Mandriva screen comes up.....it times out and tries to load Mandriva which does not exist anymore and locks up.

I used fdisk and deleted, partitioned, did the "t" and typed "82" according to the instructions and checked the partions, and then "w" to write the changes....then formated per the gui screens soon after the "setup" started.

I can't remember where I put lilo. It seems to me that I did not get it into the MBR properly.

I can use the boot disk to start the machine....problem is that I don't know how to start slackware to boot to the kde gui. Or to change the lilo to MBR.
Hi,

Boot using a win98 CD/floppy. Type this to erase your mbr:

fdisk /mbr

After that, go through the install procedure.
 
Old 02-03-2006, 03:41 PM   #11
imatrvlr1
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
used startx and booted, then reloaded everything was more careful in loading the lilo and made it!...however, I have a 120GB hard drive and I'm trying to research the best way to partion the drive. Have gone to Bitbender Forums and decided that I'd take the time to learn all I can.

Still have a need for XP Pro because of other programs and data that needs to come over so I like the idea of dual boot.
Thank you for getting me this far.

 
Old 02-03-2006, 04:44 PM   #12
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
grub at mbr

bitbenderforums are great for slackware install and trouble-shooting. Like you I dual boot with xp.
I would've thought by now mandriva uninstall would not require dos or windows boot disk.
Enjoy your slackware!
 
Old 02-03-2006, 06:02 PM   #13
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Quote:
Originally Posted by lestoil
bitbenderforums are great for slackware install and trouble-shooting. Like you I dual boot with xp.
I would've thought by now mandriva uninstall would not require dos or windows boot disk.
Enjoy your slackware!
Sometimes, the problem is actually is the BIOS. Some of them have a 'antivirus' or 'protect MBR' setting that makes life for us in Slack difficult. Always check your BIOS first.

Can happen to any distro, lestoil
 
Old 02-03-2006, 07:20 PM   #14
katayamma
Member
 
Registered: Jan 2006
Posts: 37

Rep: Reputation: 15
When installing Linux, tell Lilo to use the MBR vs Root Block of the partition, that will over-write the grub loader w/o you having to resort to a DOS fix.
 
Old 02-03-2006, 09:15 PM   #15
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Truly. boot=/dev/hda in lilo.conf (as opposed to using /dev/hda1 for the superblock of partition 1) is really all you need to do to make lilo overwrite the MBR of the first fixed disk with it's own. All that DOS stuff the other people were mentioning is simply not needed. If setting that boot argument in the top of your lilo.conf and running lilo again doesn't fix it, then cwwwilson721 is probably onto something with BIOS-based MBR protection (although often writing to the MBR in those conditions will bring about a hard crash).
 
  


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
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
Slack 10.1 Install Problem(During Package Install) terdbird Slackware - Installation 2 04-22-2005 02:18 PM
problem after problem with kopete 0.8.4 install starking Linux - Software 0 08-13-2004 08:11 AM
dhcp problem in Debian netinst install..Help !! install. copter Linux - Networking 11 06-30-2004 01:14 PM
Install problem BigM Linux - Newbie 2 03-23-2004 05:18 PM

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

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