LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 07-22-2006, 04:50 PM   #1
ultimatenoob
Member
 
Registered: May 2005
Location: Bellingham, WA
Distribution: Suse 10.2
Posts: 77

Rep: Reputation: 15
Unhappy slackware install problems (lilo vs grub)


Hello. I'm currently (kind of) in the process of installing Slackware on my laptop. I am switching over to Slackware (from Debian) out of curiosity... not that i think i have the technical know-how, but its worth a try

So, the problem is this: I have 3 partitions: windows, files, and linux, and with Debian i had been using grub as my boot loader. Slackware, apparently, prefers Lilo, which i have no problems with; but my computer does. After installing Slack, i rebooted, only to find out that grub was still taking control of booting up.

During the installation (of Slackware), i chose to install lilo onto the master boot record. It told me that there were some problems, but they could probably be solved with simply adding other partitions to fstab. I tried doing this for a bit, but i'm simply not good at using vi. That aside though, i don't think adding the partitions to lilo makes a difference, because grub is still taking the reins at boot-up.

Right now, i have booted up in my windows partition. I had to boot up using my Debian install disk, format the intended linux partition, and install the base kernel + grub, which finally let me use a boot loader. Problem is, i'm pretty confident that once i try installing Slackware again, grub will still bring up the same problem.

Any ideas? My technical know-how is not that great...

Any help is appreciated, and thanks in advance!

EDIT: I also came across this link while looking up similar problems: http://ftp.slackware.cz/slackware/sl.../README.initrd
Which sounds like it should work, but it also sounds a whole lot more complicated than (i think) the solution to my problem is... input regarding that?

EDIT2: also, reading http://www.justlinux.com/forum/showthread.php?t=144294 made me realize its relevant that i do not have a floppy drive And, yes, i do have a CD-RW drive, but honestly? If i have to put in a cd just to boot up Slackware, i will not use it. If i were to make a bootable CD, would it be possible to boot into Slack and modify grub or lilo so as to not need that CD?

Last edited by ultimatenoob; 07-22-2006 at 05:09 PM.
 
Old 07-22-2006, 06:24 PM   #2
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,245
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
here's a brief help

boot grub in MBR, chainboot lilo and windows
boot lilo in root (only works with efs2 or efs3, sometimes with reiser, maybe)

check my /boot/grub/grub.conf
Code:
timeout 20
default 0

title Gentoo Linux 2.6.17.4
root (hd0,0)
unhide (hd0,2)
makeactive
chainloader +1

title Windoze
root (hd0,1)
hide (hd0,2)
makeactive
chainloader +1
check my /etc/lilo.conf
Code:
boot = /dev/hda1
map = /boot/.map

#
# Linux bootable partition config begins
#
image = /boot/kernel
        label = Gentoo
        root = /dev/ram0
        initrd = /boot/initramfs
        append = "real_root=/dev/hda1 init=/linuxrc splash=silent,theme:konsolebox video=nvidiafb:1024x768 fbset=1024x768-60 CONSOLE=/dev/tty1 quiet"
        read-only
remember run lilo after you edit /etc/lilo.conf before reboot
 
Old 07-22-2006, 07:21 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,352

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
Way too brief - and not much help if, as it appears, the OP is replacing the Linux partition that contains the grub stage and conf files.

If you're getting a grub prompt and nothing else after the Slack install, then lilo didn't re-write the MBR as you suspected. Re-install Slack,then re-bootit from the CD using your new disk installation (i.e. chroot into it) - I think it's all documented on the install CD. Then re-install lilo from there.
Have a search around here on LQ - especially in the Slack forum, which is the official support forum for that distro.
 
Old 07-22-2006, 09:50 PM   #4
ultimatenoob
Member
 
Registered: May 2005
Location: Bellingham, WA
Distribution: Suse 10.2
Posts: 77

Original Poster
Rep: Reputation: 15
Cheers on the help folks. I must admit that i'm a little nervous about reinstalling, because i'm actually on the road right now, with no comfortable way to back up the files on my windoze partition (yes, i realize its a dumb time to change distro's )

I'm going to try these things out, and i'll hopefully be back with more thanks from Slack in a little while
 
Old 07-22-2006, 10:21 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,352

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
If you just want to get windows back, boot the install CD, select recover console, and run "fixmbr".
Will boot to XP just like it did originally.

When comfortable, start installing Linux again.
 
Old 07-22-2006, 11:58 PM   #6
ultimatenoob
Member
 
Registered: May 2005
Location: Bellingham, WA
Distribution: Suse 10.2
Posts: 77

Original Poster
Rep: Reputation: 15
Thumbs up Thankyou again

Okay, success on getting Slackware up and running; score one for the good guys. I have to admit though: i'm really not sure what i did differently than the first installation attempt which landed me here

Again, thanks for all the help folks!

Now i come to the problem of having both kernel and gcc so outdated that i cannot install ndiswrapper, therefore i'm unable to get online and update anything / everything. A catch 22: to outdated to install ndiswrapper, can't update without wireless (for now at least)

Last edited by ultimatenoob; 07-23-2006 at 12:02 AM.
 
Old 07-23-2006, 12:05 AM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,574

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
you can always update your gcc using upgradepkg
if you are patient, wait for the next Slackware 11.0. If you are impatient, use -current, but you must read the changelog carefully, since it may break your system.

I used -current all the time, so i don't have problem with that, but if you mixed between -current and -stable, you might ruined your system if you make some fatal mistakes. Just a warning
 
Old 07-23-2006, 12:21 AM   #8
ultimatenoob
Member
 
Registered: May 2005
Location: Bellingham, WA
Distribution: Suse 10.2
Posts: 77

Original Poster
Rep: Reputation: 15
Alas, the real problem is that right now, without a wireless connection, i can't get online. And since i can't get my wireless card to work without updates [from online], i'm stuck in windows until further notice

Thank you for the tip anyways Willysr
 
Old 07-23-2006, 12:41 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You can use an older version of NdisWrapper, that's what I've done on my laptop. I think 1.15 will work with Slack 10.2 (or possibly 1.12, I can't remember).

Last edited by Nylex; 07-23-2006 at 07:15 AM.
 
Old 07-23-2006, 07:14 AM   #10
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Use your windows, go to linuxpackages.net and download the ndiswrapper package from there. You can then copy it to your slackware partition and install it. It should work.

I'd recommend installing the 2.6 series kernel from the Slack CD. In my experience ndiswrapper doesn't play well with the 2.4 kernels.
 
Old 07-23-2006, 10:11 AM   #11
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: 66
Yep. 2.6 and the older version of ndiswrapper will work.

(It's what I need on my linksys card)

BTW, what wireless card/chipset do you use? There have been a plethora of native drivers for wireless cards that have comeout...
 
Old 07-23-2006, 09:34 PM   #12
ultimatenoob
Member
 
Registered: May 2005
Location: Bellingham, WA
Distribution: Suse 10.2
Posts: 77

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by cwwilson721
Yep. 2.6 and the older version of ndiswrapper will work.

(It's what I need on my linksys card)

BTW, what wireless card/chipset do you use? There have been a plethora of native drivers for wireless cards that have comeout...
I'm using a Broadcom / Dell Truemobile 1300, which Broadcom lables as: "BCM5705M
10/100/1000BASE-T Controller with Integrated Transceiver"

I'm browsing around now to find drivers, so far no luck.

Nylex: I like that idea, since i can get online via windoze right now, i'll give that a go.

Once more, cheers everyone!
 
Old 07-23-2006, 11:47 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: 66
I think you need to keep ndiswrapper for that one anyway. The Broadcomm driver I use is from here, but the driver only has support for 11M, and the 4400 chipset,and the developers expect you to know the ins and outs of multiple configuration make options....

Needless to say, rather than beating my head against the wall and making wet squishy sounds, I went out and bought a Belkin card with the Ralink chipset. Much better support/drivers/performance.

Last edited by cwwilson721; 07-23-2006 at 11:48 PM.
 
Old 08-07-2006, 10:51 AM   #14
ultimatenoob
Member
 
Registered: May 2005
Location: Bellingham, WA
Distribution: Suse 10.2
Posts: 77

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by cwwilson721
I think you need to keep ndiswrapper for that one anyway. The Broadcomm driver I use is from here, but the driver only has support for 11M, and the 4400 chipset,and the developers expect you to know the ins and outs of multiple configuration make options....

Needless to say, rather than beating my head against the wall and making wet squishy sounds, I went out and bought a Belkin card with the Ralink chipset. Much better support/drivers/performance.
Hahahaha. yeah, keeping your head in a non-squishy state is probably a good idea. And at this rate, i can't say i blame you.

I've had some serious problems with ndiswrapper in the past, and things are looking much better lately. Granted, i have not had any spare time to dedicate to getting linux up and running (effectively), so maybe there is just some small thing that i have missed. Currently i have ndiswrapper installed, the drivers loaded in properly, but no wireless card is showing up in either ifconfig or iwconfig. Have not tried too many things yet (again, due to time constraints), but i do know that the modules are not installing properly to the kernel, as lsmod |grep ndis comes back empty.

Almost regretfully, I'm partial to sticking with the Broadcom for the simple fact that it is internal

Cheers
 
  


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
How to remove lilo and install grub in slackware Joey.Dale Slackware 5 09-04-2009 05:30 PM
grub(SuSE)/Lilo(Slackware) chain loader problems The Chain Linux - Newbie 32 10-12-2006 05:24 PM
lilo ntldr missing after running lilo after slackware install SeriousArnoud Slackware 1 08-16-2005 09:07 AM
Old installation of GRUB prevents me from using LILO and booting into Slackware! EThitop Slackware 6 12-12-2004 12:07 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM


All times are GMT -5. The time now is 07:27 AM.

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