LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   slackware install problems (lilo vs grub) (http://www.linuxquestions.org/questions/linux-newbie-8/slackware-install-problems-lilo-vs-grub-466610/)

ultimatenoob 07-22-2006 05:50 PM

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... :scratch:

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?

konsolebox 07-22-2006 07:24 PM

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

syg00 07-22-2006 08:21 PM

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.

ultimatenoob 07-22-2006 10:50 PM

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 :p )

I'm going to try these things out, and i'll hopefully be back with more thanks from Slack in a little while :)

syg00 07-22-2006 11:21 PM

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.

ultimatenoob 07-23-2006 12:58 AM

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 :confused:

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) :p

willysr 07-23-2006 01:05 AM

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

ultimatenoob 07-23-2006 01:21 AM

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

Nylex 07-23-2006 01:41 AM

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).

masonm 07-23-2006 08:14 AM

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.

cwwilson721 07-23-2006 11:11 AM

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...

ultimatenoob 07-23-2006 10:34 PM

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!

cwwilson721 07-24-2006 12:47 AM

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.

ultimatenoob 08-07-2006 11:51 AM

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 :rolleyes:

Cheers


All times are GMT -5. The time now is 09:46 PM.