Slackware :: How To Chainboot Slackware From Grub2

Jun 7, 2010

I've made a mini installation of slackware64-13.1 onto my friend's computer. He already has Ubuntu and Windows partitions that are being handled by GRUB2. I thought the best thing to do would be to have lilo installed to the partition root (on /dev/sda3) and let grub2 chainboot. I've been reading about adding custom entries to the grub menu and things look like they're working but then I reboot and there's no Slackware option.

Currently I've got this file in /etc/grub.d/41_slack. It is executable.

Code:

#!/bin/sh -e
echo "Adding Slackware"
cat << EOF
menuentry "Slackware" {
set root=(hd0,3)
chainloader (hd0,3)+1
}
EOF

When I run "sudo update-grub" this is the output

Code:

lewi@benny:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-22-generic
Found initrd image: /boot/initrd.img-2.6.32-22-generic

[code]...

So it has found the slackware partition (not because of my menu entry though?) but when I reboot there's no menu entry there.

View 3 Replies


ADVERTISEMENT

Slackware :: Using GRUB2 And Want To Boot Slackware In Different Resolution

Sep 10, 2010

I have, for awhile, had Ubuntu 10.04 as my main OS. I decided to go back to SW13.1, and added it in as dual-boot, with grub2 as my bootloader.

grub sees/boots SW fine.

But SW boots in 640x480, and is fugly, to say the least.

How do I change this? Grub currently runs at 1024x768. And in lilo, it's easy as pie to change the kernel boot resolution.

How do I do this in grub2? (Notice I said grub2, because it's MUCH different than grub, as far as config files and the like)

View 4 Replies View Related

Slackware :: Grub2 Cannot Boot Windows 7

Dec 9, 2010

menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 3850d16450d12980
chainloader +1
}

This is automatically generated after installed ubuntu 10.10. It shows black screen with a flashing cursor after press enter.
Grub 0.97 also does this with:
title win7
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2

But the weird thing is my usb stick can boot windows 7 successfully with the same configuration. Whats wrong with that? How can I do with grub.cfg?

View 1 Replies View Related

Slackware :: Starting Installer Via Grub2

Aug 30, 2010

I have a 16GB flash drive with grub2 installed on it so I can boot Linux iso's in place of burning 200 CD's. I looked at the isolinux.cfg file and came up with this:

Code:
menuentry "Slackware 13.1 64bit" {
linux /boot/slackware/13.1/64-bit/bzImage initrd=/boot/slackware/13.1/64-bit/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s root=/dev/ram0
}

However the kernel panics because it cannot mount the root file system. It gives me the options of using my partitions. What should I put for the root parameter?

View 3 Replies View Related

Slackware :: Booting A USB Stick With GRUB2 And Labels

Feb 14, 2011

Here's the idea -- be able to boot slackware 13.1 DVD from a USB stick, but without using anything like an initrd or loading the contents of the slackware install all into memory first. So the USB stick is behaving like a hard drive (but with one disadvantage, just don't take the usb stick out while you're using it!). It has the advantage of saving on memory though .

In the above thread I had this idea working ok but only with slackware 13 and earlier. In fact I still have the CF card with it on, and it works fine. Only snag is it won't work with the newer 13.1.

Right now, I'm trying to use qemu for the following (not what I wrote above!). The idea is to use qemu to install a minimum slackware 13.1 to the USB stick, set it up and then boot from the USB stick itself (so I'm using the USB stick as the storage medium as opposed to say a hard drive image file).

So let's say (this is what I'm doing) I boot slackware 13.1 (32 bit) and make two partitions;

Code:

I then do a minimal installation of slackware (just "A" and jed from "AP"). Lilo is not installed as later I'll be using GRUB2 to try to boot.

I'm using a slackware package, grub-1.97-beta4-i486-1.tgz for slackware 13.1/GRUB2.

I then boot off the slackware 13.1 DVD but at the boot screen I choose to boot from /dev/sda2 which is the linux install I created earlier. Success, it boots ok and I can get into the slackware 13.1 install on the USB disk (which is /dev/sda2).

I then label the ext3 partition by using e2label;

Code:

And also change /etc/fstab;

Code:

Now I need some sort of bootloader to put onto the USB stick so I don't need the DVD any more. To do this, I'm trying to use GRUB2.

But here's the problem!

When I install slackware onto the USB stick using qemu, that partition is /dev/sda2. It's the first usb/storage medium that slackware detects so it gets the name sdaX. (X=1, fat partition, X=2 EXT3 linux).

But here's the problem. Suppose I take the USB stick over to another PC with a hard drive already inside it. Slackware would see the hard drive installed in that PC as (say) /dev/sda1 and the USB stick would then become the second drive, so /dev/sdbX (X=1, fat partition, X=2 EXT3 linux).

If I specify a specific device (lets say /dev/sda2) then it won't work in another system because if I take the example above, another PC with a hard drive installed in it the USB stick becomes /dev/sdb2 and the GRUB2 boot program would be expecting /dev/sda2 which won't work. What I need to do is to somehow find the install, the root on the USB stick automatically without having to specify it manually.

So here's what I've tried with grub (First thing I did was to install grub with grub-install /dev/sda).

Code:

Snag is it dosen't work :-( I get this booting from the USB stick:

Code:

If I try this:

Code:

I get a very similar result ....

Code:

So what I'm wondering is .... if the "search" line in grub is doing the searching for the root GRUB2 needs to use to boot from - how can I tell the next line, "linux /boot/vmlinuz-huge-smp-2.6.33.4-smp root=...." where to boot from? I can't use /dev/sda2 or /dev/sdb2 because if I try the usb stick in a different PC the stick will be a different device name. Trying to use LABEL= or /dev/disk/by-label/USB/ also dosen't work .

View 1 Replies View Related

Slackware :: 13.1/ubuntu10.10 Dual-boot Grub2

Feb 17, 2011

I have read that installing ubuntu 10.10 will inevitably install grub2 with it(unless you use flash drive workaround). i am wondering how slackware 13.1 reacts to grub2.

Does it go on like nothings changed (if configured correctly)? Or does it freak out and have a fit? If slackware doesn't play nice with grub2. i don't think i will use ubuntu 10.10.

View 13 Replies View Related

Slackware :: Grub/ Grub2/ Lilo - Can't Install Any Of Them Properly?

Nov 15, 2010

I usually install grub straight away after an install but this time it hasn�t worked for some reason after installing 13.1 on a new lappy. I have tried grub, grub2 (from sbo) and lilo; nothing I install into MBR will boot my slackware installation, I have to use the boot USB stick every time.

grub-legacy would be my preferred one so i�ll ask for help specifically with that. This is what im doing so far -

[Code]...

View 15 Replies View Related

Slackware :: Installing 13.1 Over Windows XP - Run Slackware And Slackware Only

Dec 19, 2010

I have been given the task to install slackware 13.1 over windows. I have downloaded and copied slackware 13.1 on to a disk, and rebooted the computer, but i am not getting what all the tutorials have shown. I have been looking for tutorials that specifically instruct me as to how to install slackware 13.1 on to a windows xp. I am not trying to dual run I just simply want to run slackware and slackware only.

View 5 Replies View Related

Slackware :: Forwad X11 From A 32 Bit Slackware To A 64bit Slackware?

May 7, 2011

I have a couple questions about Xfoward.

1: How much does it affect securty, over a lan network?
2: Will it cause any other security issues?
3: The most important is can I forwad X11 from a 32 bit slackware to a 64bit slackware

View 1 Replies View Related

Slackware :: Setting Up Initrd - Generic Kernel In Grub2 - Can't Load Generic

Jan 4, 2011

I am trying to figure out how to load the generic kernel in Grub2.

I have run the /usr/hare/mkinitrd/mkinitrd_command_generator.sh and ran the output:

Code:

Why this will not load.

View 10 Replies View Related

Slackware :: Compile 2.6.37 Kernel Patched With The Autogroup Patch On A Slackware 13.1 System?

Jan 13, 2011

it's possible to compile the 2.6.37 kernel patched with the autogroup patch on a Slackware 13.1 system running 2.6.33.4-smp with 2.6.33.4 headers? I just compiled and installed the 2.6.37-autogroup kernel from AUR on my ARCH setup and I like it especially when using firefox with lots of tabs open and other background apps also running. I did notice a speed and smothness difference in my ARCH testing setup with this kernel patch and I can get same results in 13.1??

View 1 Replies View Related

Slackware :: Failed To Initialize NVIDIA Graphics Device On Startx With Slackware 13.1

Aug 24, 2010

I installed slackware 13.1 x86_64 bit with multilib, and its been about a month already, I'm really enjoying slackware but I am being troubled with my nvidia card, and I need to get my 3D acceleration working. And I've been looking around the net for information and kept on trying to make my nvidia card to work but to no avail. I cant get X to start, once I put in a xorg.conf stating to use the nvidia card. After troubleshooting for almost 2 weeks and now at my wits end, I now come humbly looking for help in linuxquestions slackware community forum.I've installed nvidia 64 bit kernel, drivers from slackbuilds (version 256.44). The laptop model I'm trying to get it working is an -ASUS K52J Intel Core i3 2.40Ghz with 2GB RAM and with an Nvidia Geforce 310M with 1GB dedicated VRAM.

View 14 Replies View Related

Slackware :: Enable Windows Wireless Drivers In Slackware 13.1 And How To Install XFCE

Aug 22, 2010

I recently installed Slackware Linux 13.1 , and my Wireless is down. I've only installed 3 Linux disto's on my main laptop (Ubuntu 9.10 , 10.04 , and Crunchbang Linux 9.04 , just had Crunchbang), and they all had the same problem. In all three , I was able to enable Windows Wireless drivers and every thing worked. Now , I'm assuming I have to the same ting in Slackware? Sorry , but I have no idea what my wireless card is. But I know that my laptop is a Dell Insprion E1705. One last thing , I did ifconfig and that wlan0 is my Wi-Fi interface. I typed ifconfig wlan0 up to see if that was the problem. After I did that , I got and error message. Then I typed ifconfig wlan0 down to see if it was down and it made wlan0 down. I tried bringing it up again , but I got an error saying it couldn't find the device specified. Also , how do I install XFCE? I really don't like KDE for some reason and would like to install XFCE. I chose XFCE over GNOME (my favorite) because I want to try something new.

View 4 Replies View Related

Slackware :: Linvo 2009.1rc6 - Slackware-based LiveCD With GNOME

Jan 6, 2010

I'm happy to announce Linvo 2009.1 rc6. It's a full-featured Linux distribution with a lot of applications by default, including an office suite (OpenOffice.org extended with plugins), a good internet browser (Firefox extended with plugins), a music player that supports music collection and a lot more - Exaile, a video player, and all the available codecs. It can open all types of file formats. It's a LiveCD, which means that you can test it without installing and after this optionally install it - it has a nice easy graphical installer.

It's the first Slackware-based LiveCD distribution with GNOME by default. It includes NetworkManager and initng in place of sysvinit. It also features accessibility tools. It is also the first release with the innovative portable applications system. This allows you to download application from the site (modules section), place it where you like, and use it. It's just a single file, no directories. You can also use this application without installing it, directly from the internet. However, after this, the speed of the application is limited by the speed of your connection, of course. Check out the "Applications" section on the website.

Besides this, you can install software with the apt-get-like system "slapt-get" and it's graphical front-end: GSlapt. It also contains src2pkg and sbopkg in case you want to compile something from source or existing SlackBuild Depfinder is included to find dependencies of packages. Click here for a guide on how to use those. I also managed to put development tools in there, like GCC, G++, svn, cvs, so on... This is a release candidate, and despite that it's OK for using. It has a bit more things to do until the release (like language selection on the boot menu), but I decided that it's important to put it here for testing.

View 11 Replies View Related

Slackware :: Lost Wireless Keybord And Mouse Upgrading Slackware Current

Oct 24, 2010

Lost my wireless keyboard and mouse upgrading slackware current.Boot seems to be normal.I just can't login, cause have no keyboard.

View 2 Replies View Related

Slackware :: Pkgbuild - Modern, Multi-architecture, Package Builder For Slackware?

May 25, 2010

We are pleased to present one of our new creations: pkgbuild, a tool written in standard C++, using libCURL, ZLib, BZip2 and libLZMA (part of XZ). It is a modern Slackware packages builder, network-transparent, multi-architecture, designed to greatly simplify the creation of a package, automatically executing the required post processing.

What does it do? Recognize and build packages for the following architectures: i386, i486, i586, i686, x86_64, IA64, IA32e, s390, s390x, sparc and sparc64.

[Code]...

View 14 Replies View Related

Slackware :: Enable Ling Separate X Sessions With Dual Monitors In Slackware?

Jun 29, 2011

how to on enable ling separate X sessions with dual monitors in slackware? In rhel all I have to do is enable it under the nvidia-settings... In slackware it does not work that well... to what I understand you have to configure a separate x session...

View 11 Replies View Related

Slackware :: Slackware 13.1 VIA VT1708S Audio Driver - Get Working Without Rebuilding The Kernel?

Jun 23, 2011

I'm trying to bring my Slackware system back to life as my XP HDD is dying... I've got everything working except for my audio. I got a new motherboard (ASRock P43DE3) and it has a VIA VT1708S as the onboard audio. Is there any way I can get this working without rebuilding the kernel?

View 5 Replies View Related

Slackware :: Static Libraries - Why Aren't They Shipped In Official Slackware Packages

Aug 12, 2010

I noticed that the official Slackware packages don't contain static libraries. The SlackBuild scripts from slackbuilds.org or from Slackware DVD usually contain --disable-static option to prevent building the .a file. And if configure script doesn't allow such option, the .a file is deleted before the package is created.I am wondering what is the reason for that? Is it just the matter of conserving disk space? Are there also other reasons?

View 11 Replies View Related

General :: Installing Slackware On IDE Hard Rive Boot From Slackware DVD?

Jan 23, 2010

I try to install Slackware to my IDE hard drive and boot first from Slackware DVD. After I loaded huge.s kernel, and tried to partition the hard drive using fdisk by entering "fdisk /dev/hda", I found out that the partition size is max to 3 Gigs instead of 80 Gigs.

I think the kernel is looking at my boot disk, which is around 3 Gigs. How can I make so that it looks at my IDE drive instead at my boot drive? Is there any manual that shows me how to install Linux from scratch this means I want to wipe out all my hard disk and install Slackware Linux there?

View 2 Replies View Related

Slackware :: Alfa AWUS036h Rtl8187 Adapter Not Working On Slackware 13.1

Oct 13, 2010

I recently bought the Alfa AWUS036h which uses the Realtek rtl8187 chipset. I am able to load the module and connect to any network, but its almost as soon as I try to load a page the connection drops. It never stays connected for more than 30 seconds. My other computers using the same adapter in the same spot work fine, unfortunately there not running slackware. I've tried compiling the newest stable kernel and checked the rd.inet1.conf settings.

View 6 Replies View Related

Slackware :: Alfa Awus036h Slackware Current Dhcpcd Won't Connect

Feb 5, 2011

slackware-current kernel 2.6.35.10-smp for instance if i just want to connect to wep ap. i done

[code]...

it says waiting for carrier and it just time out, im wondering why i read somwhere that its not working good with slackware 13.1

View 9 Replies View Related

Slackware :: Installed Multilib Support In 64bit Slackware 13.37 Installation?

Jun 28, 2011

I have installed multilib support in my 64bit slackware 13.37 installation than I proceed it to install google earth from slackbuilds... and did ln -sf /lib/ld-linux.so.2 /lib/ld-lsb.so.3Now when I try to run google earth I get:[ 760.092745] googleearth-bin[3647]:segfault at 984f7d31 ip 00000000984f7d31 sp 00000000ffbfe100 error 4

View 14 Replies View Related

Slackware :: Install Binary Blender 2.49b On Slackware 13.1 86_x64 Multilib?

Dec 12, 2010

I created this small how to install the binary Blender 2.49b on Slackware 13.1 86_x64 Multilib.

http://wiki.blender.org/index.php/Do..._Blender/Linux

View 1 Replies View Related

Slackware :: Script Which Will Take Patches Subdirectory Of Latest Slackware Distribution

Jan 10, 2011

Is there a script which will take the patches subdirectory of the latest Slackware distribution tree, and substitute the new patch txz files for the ones in the slackware subdirectory so that during an ISO install, the latest txz will be used, instead, and the ISO will be minimized by not having the older ones?

View 6 Replies View Related

Slackware :: Can't Reach Main Slackware Directory - Login Required

May 20, 2011

The Slackbook reads:

Quote: The precompiled Slackware kernels are available in the /kernels directory on the Slackware CD-ROM or on the FTP site in the main Slackware directory. I am unable to reach it, what's the proper login?

[Code]....

View 3 Replies View Related

Slackware :: Crashed Shiny New Slackware System Into The 99 Error Wall?

Jan 14, 2011

pls delete this post if I should not do this as it is included in [URL]..How do I recover from the 99 error when I start my system? I can only get to my Slackware by booting into it from the Slackware DVD.I have re-run lilo but I keep getting the 99 error on start up.

View 10 Replies View Related

Slackware :: Install Puppy 525 On Slackware 13.37 PC As A Dual-boot Using LILO?

Jul 18, 2011

I'm trying to install Puppy 525 on my Slackware 13.37 PC as a dual-boot using LILO. Puppy is living, all on it's own, in sda6, a 6 GiB partition. It got there by using the Puppy Universal Installer and selecting a 'Full' install, not a 'Frugal' install. I cannot find 'LILO' type instructions, only 'GRUB' type instructions.

Has anyone succeeded in doing a hard drive install of Puppy with the LILO boot loader?

Edit: I'll probably regret it, but I used Puppy's GRUB installer.

View 17 Replies View Related

Slackware :: Missing The Flash Plugin Using Slackware 13 64bit - 2.6.29.6-smp - KDE Desktop

Apr 26, 2010

using Slackware 13 64bit, 2.6.29.6-smp, KDE desktop. i installed the flash-player-plugin using sbopkg. when i try [URL], it says i'm missing the flash plugin. i copied the. so file to

/usr/lib/mozilla/plugins
/usr/lib64/mozilla/plugins

and i still get the same result. what am i doing wrong?

View 11 Replies View Related

Slackware :: Image / Icon Trouble After Slackware-current Upgrade

Jan 22, 2010

I recently upgraded to slackware-current from Slackware 13 via slackroll, and have only encountered one problem. My file manager no longer thumbnails images, and icons (mostly PNG) aren't appearing no matter what GTK theme is set. Running from the command line produces no errors, and when brought up in something else (say feh /path/to/icon.png) it works perfectly. This is the only hitch I have encountered so far. The same thing happens with emoticons in Pidgin. Does anyone know of a fix?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved