Slackware :: Installation User Scripts To Custom Packages Selection
Apr 19, 2011
First time posting here, sort of long time slacker with some gaps in between... Anyway, I have a sort of question/feature request. First of all, I fully understand the KISS philosophy from Slackware. Story: I co-worker of my was looking for a Linux distro to install into a VM that he would be able to carry around in an USB memory from work to home. I suggested for him to try slackware. However, he has a limitation of ~2gb to the installation size, and he doesn't need most of the packages. With this in mind, I helped him select the more relevants one, but it was a pain to make an installation that both works AND attends the 2gb maximum limitation.
From that experience, and also having in mind the KISS philosophy from Slackware, comes my question/sugestion: why not provide an install option like "Custom Packages Script", that will load a single script file from a USB/mounted partition and install pre-selected packages that a person has selected and build the script from? This would allow anyone to build a custom Slackware installation and share it with the community.
I recently went the upgrade route and something went wrong either with the download or the installation or 10.04 and my hardware are having issues. I am looking for some advice for either fixing what is wrong or getting some additional data backed up to USB before wiping the partition and starting new.
My computer is dual-boot using Grub2, the other OS being Windows Vista. I can get to Windows Vista fine via GRUB. When I select Ubuntu (says kernel 2.6.31-21) though I don't get very far.
At this point I can get 10.04 all the way to the user selection screen, where it immediately freezes, forcing a hard reset. I can boot into recovery mode, but if I select failsafeX it freezes at the first screen that comes up--the notice you are running in low res graphics mode.
When I did the upgrade from 9.10 to 10.04 I used the update tool in Ubuntu. However I also now have a 10.04 install CD.
My graphics cards are twin NVidia 9600s in SLI. I would say it is a graphics card problem since the first graphical screen that comes up both in regular boot (the login screen) and failsafeX (the notice screen) I get a hard lock. However booting off the CD it loads the desktop just fine!
I would just wipe clean however my last data backup was partial and there is some stuff I would like to go back in and get. However neither method I have used to try and go back in to get what I need has succeeded. I have a 320G USB drive I use for backing up certain data. If I boot using the CD, it gives me an error message about the isntaller then goes to desktop (which works fine, even though I can't get past the login screen when booting 10.04 from the hard drive) I can then plug in the USB drive fine and it shows up, but some of the files on the Ubuntu installation don't give me permission to copy them. There is an 'X' on the icon and I don't know whether there is a way to get me authenticated in order to copy them from the CD desktop.
Alternatively, I can get to a root prompt if I boot into recovery mode (not the CD, just recovery mode from GRUB). I assume I can move them from there and that the permissions issue won't be a problem but when I plug in the USB drive I don't get any errors but I am not seeing it show up in /media. Also if I put a DVD-RW (all I have on hand) into my DVD-RW drive maybe I could back the data up to that, but I'm not familiar with how to do that from the command line.
If I could get to a point where I could verify that I have this extra bit of data backed up then I wouldn't have any problem wiping the partition and starting over.
I just made a custom ubuntu, following these instructions [url], and it works great, but during the install ubiquity tries to check the cd for extra packages... and prompts an error... but it doesn't have any packages nor it is needed to have... i just want that ubiquity skips this instruction.... I'm guessing the correct pressed instruction will solve this, but I can't find any mention to this...
How can I change the behavior of the selection buffer or a program that uses it ( I have xclip) to not send me text until the mouse button is released while clicking and dragging? This causes havok in the software I'm developing that tries to make use of the selection buffer. I need the full selection, not bits more bits more bits and then the full selection.EDIT: I cannot listen for mouse events such as button release outside of the GUI of my program.
Is there a way using dpkg or apt-get to segregate user application packages from system packages? What I envision is an /apps directory structure that can be the install target for selected packages so not to "clutter" the storage areas for the system administration files/packages - maybe even with permissions set so that (a GROUP of) users could install packages on an Ubuntu server w/o SysAdmin guidance. This could also allow 1)system upgrades with or w/o including these packages, and 2)the sharing of /apps (via NFS) among common Ubuntu systems. Is this doable using the dpkg or apt maintenance tools?
i'm done selecting packages from the slackware installer and the installation was finished. the problem is that when i tried to 'startx' it gives me an error.. i think there's some missing packages. how to go to the selection of packages again?
I'd like to install a package named "pppoeconf" on my CentOS system. I try with "yum install pppoeconf" but the result is "nothing to do" (see below): It seems that I have missing repositories and I don't know which repositories are good for CentOS. How to fix my repos?
[trixbox1.localdomain yum.repos.d]# yum install pppoeconf Loading "installonlyn" plugin Setting up Install Process Setting up repositories epel 100% |=========================| 2.1 kB 00:00 kbs-CentOS-Misc 100% |=========================| 951 B 00:00 atrpms-testing 100% |=========================| 2.2 kB 00:00 trixbox 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 trixboxaddons 100% |=========================| 951 B 00:00 updates 100% |=========================| 951 B 00:00 kbs-CentOS-Extras 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 atrpms-stable 100% |=========================| 2.2 kB 00:00 addons 100% |=========================| 951 B 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 98 kB 00:03 148/148 Reducing RHEL 4 5 - i386 - ATrpms to included packages only Finished Reducing RHEL 4 5 - i386 - ATrpms to included packages only Finished Parsing package install arguments Nothing to do [trixbox1.localdomain yum.repos.d]#
I'm installing the qt creator v2 IDE on slackware-current.Installation went smooth but I saw this message:Quote:External DependenciesAdditional development packages requiredApart from a C++ compiler, a number of development libraries need to be presentto enable Qt Creator to build your Qt applications. On Debian and Ubuntu, usethe following command in a terminal to make sure they are installed:sudo apt-get install libglib2.0-dev libSM-dev libxrender-devlibfontconfig1-dev libxext-devIf you're using QtOpenGL, you'll also need OpenGL development files. You can usethe following command to find out which packages to install: sudo apt-get install libgl-dev libglu-devPress [Enter] to continue :The question is. SHOULD I CARE ? abit more analytically: Does Debian separate development related files and creates those lib***-dev packages or I should get these packages and try to install them in slackware too
Just spent three whole days barking up the wrong tree, solving Fedora 11 and Fedora 12 boot failures because the correct hypothesis was illogical: installation did not update/modify the initrd.
The first couple of times I installed Fedora 11 on the HighPoint Technologies RocketRaid 2640x4, the installation inserted my "custom" driver module (rr26xx) into the initrd, permanently, so that the system booted off the controller card for which the custom driver was inserted. (I yelled about this success in this thread: [url]
My most recent installs of BOTH F11 and F12 on the RocketRaid failed to properly set up the boot. It turns out that the "rr2640" module I "slipstreamed" into the installation process was *NOT* permanently added to the initrd by anaconda. (F12 gave me "no root device found boot has failed, sleeping forever", on boot; F11 hung also, without such error, I presume, during the init script execution). Because of limited resources and time, I only know for sure the module was missing from the F11 initrd, and am ASSUMING the same was the case with F12.
The only difference between the successful installs and the ones with failed boot is that the successful installs were made on a single-drive (JBOD) mode on the controller; whereas, the failed ones were placed on RAID 5. But, AFAIK, the created logical device for the card is "/dev/sda", in both cases, and the kernel can not distinguish between the two cases (or can it?). Thus, the inconsistency cost me a lot of time, and is still inexplicable to me.
Question: What is the best way to deal with custom drivers, today? There are custom spins, and many tools, like isomaster. Stupid question: Is there a way to modify the initrd inside an installer ISO -- be it for CD/DVD/USBboot drive -- beefing the init RAM disk with whatever modules you'd like, for the boot process (using, say, isomaster)?
And what makes anaconda understand that a module must be added to the initrd ? How can one force anaconda to do so?
How does moving to dracut as the initrd tool affect any/all of the above?
I want to build my own binary package that replaces several from the repositories.But then whenever I install something that depends on libffado2, aptitude wants to uninstall mypkg and install libffado2. Why doesn't Provides work here?
I want to create a LiveDVD with lots of packages that do not exist in repos. Stuff that I built from source...
OpenFOAM with my own customized solvers and utilities, Tetgen, Netgen ,GMSH with OpenCascade support, BRL-CAD, Code-Aster, Salome Platform, Code Saturne, FreeMat, K3d...
Some of these apps have been compiled with Intel development toolbox, icc/ifort/mkl. Mainly scientific/Engineering stuff. How do I include all these packages in a custom Live Build...?
During the install ubiquity tries to check the cd for extra packages... and prompts an error... but it doesn't have any packages nor it is needed to have... i just want that ubiquity skips this instruction.... I'm guessing the correct pressed instruction will solve this, but I can't find any mention to this...
I'm a bit of a noob at Ubuntu (I can use the terminal and stuff though), and I want to know if I can specify a custom server for downloading updates and packages.I am running Ubuntu 10.04 and I want to use Adam Internet's FileArena server: [URL]... It's not listed in the list of servers and I want to know how I can add it or use it(because downloads from there don't count towards my download allowance).
I'm trying to build my own livecd using the debian live project: [URL]. At the end (/usr/lib/finish-install.d) I want the installler to change some configuration files. The custom user selected during the installation I want to put into a variable:
Code: #!/bin/sh User=$(getent passwd 1000 | sed -e 's/:.*//') if [ "$User" != "user" ] ; then in-target sed -i "s/home/user/home/$User/g" /etc/smb.conf in-target sed -i "s/USER=user/USER=$User/g" /etc/default/sabnzbdplus fi
The script seems to work fine because when I have a look at the configuration files the lines have been modified. However the $User was empty. Anyone of you have some knowledge about debian-live and know how to retrieve the custom user that was entered during the installation?
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?
I'm trying to setup a custom attribute for user accounts, I'm able to make the attribute (foo) and the Object class (foo_class) . But i'm unable to add foo or foo_class to my test users
I tried to build several packages designed for slackware 13 at slackbuilds. Those was a simple apps like ardour, audacity for example.
[Code]...
My CPU is AMD Phenom 9550 Quad core. It supports 64 bit. My os is slackware 13_64. What do I need to change in slackbuild to create a txz package for those apps?
I have just updated to KDE 4.6.3 (Slack 13.37) using Alien's packaging. First thing I noted while using it was that it would crash and exit when pressing Alt+Tab, specially when only one window was opened.
After some testing, I verified that with all effects OFF, it would not happen. Then I tried setting the effects ON again, and finding some effect that might be ON by default that was related with Alt+Tab. Lo and behold, there is an effect that makes Alt+Tab produce a miniature of the opened windows. Disabling this effect has solved the issue. I tried finding the exact log message for that, unsuccessfully.
I have an AMD Athlon 3200+ 64 and I want to install a dual boot Win7/Xubuntu system. When I try to install Xubuntu 64 bit, but the also the 32 bit version and both Kubuntu versions, the installation stops after the keyboard layout screen. The install completely hangs (no cd or other noticeable activity on the computer) and I have to do a hard reboot to get out of it. I've been looking for a solution and found that the options noapic and/or nolapic in the installer F6 menu might solve this problem,unfortunately they didn't work for me. I've done the CD integrety and memory checks, but no errors were found. I'm pretty lost from here.
I also read installing from the alternative CD might work, but I'm not sure what to expect from this textual installation. If it's only a command-line installer I don't think I will be able to do much with it as I haven't yet been able to find a tutorial on how to use it. Does anyone konw where I can find instructions?
I have uploaded some slackware packages to ftp://ftp.herpderp.ca/slackpkg/. These are packages that I haven't been able to find anywhere else and they are all built on a clean slackware 13.0 system using slackbuilds from slackbuilds.org. I will be uploading more in the future as I build them.
I have a custom built 2.6.37 kernel where I have most of my devices compiled into the kernel. The only modules are related to nouveau (in case I want to go back to proprietary nvidia) and sound drivers. Everything seems to be running fine. However, in /proc/acpi, I'm missing a number of entries, such as thermal_zone/, dsdt, etc. I do have ac_adapter/, battery/, button/, event, processor/ and wakeup. I've gone through what I think is a very detailed review of my kernel config, and I can't find where I've missed something ACPI related. Here is my kernel config with the ACPI section.
Code: # Power management and ACPI options CONFIG_ARCH_HIBERNATION_HEADER=y CONFIG_PM=y # CONFIG_PM_DEBUG is not set CONFIG_PM_SLEEP_SMP=y CONFIG_PM_SLEEP=y CONFIG_SUSPEND_NVS=y CONFIG_SUSPEND=y CONFIG_SUSPEND_FREEZER=y CONFIG_HIBERNATION=y .....
I compiled my own custom kernel for the first time. I tinkered with different options, nothing to difficult. I actually didn't expect it to work the first time.
I had kept the original lilo boot config just in case something was to go wrong. Now when I try to boot the system, I always get a "VFS: cannot mount root system on (8,3)". I googled this and found that my kernel did not support my root filesystem (btrfs). So I made an initrd with btrfs kernel module, but it didn't help. I then got a string of errors about how /dev could not be mounted.
My question is two-fold. First, how come when I configure the system back to when it was first installed, it still won't boot? Im using the same kernel (2.6.37.6-smp). Second, how can I get myself out of this rut without reinstalling?
lilo.conf
Code: lba32 append=" vt.default_utf8=0" boot=/dev/sda vga = normal # Linux - Slackware image = /boot/vmlinuz-huge-smp-2.6.37.6-smp root = /dev/sda3 label = Linux read-only
BTW, I have been maintenancing the system by chrooting into the device off of my slackware boot disk. Im on slack 13.37
Im trying to get to the debian install through ubuntu through windows 7. I used wubi to install ubuntu and partition the hard drive for a debian install later. But now that Ive installed ubuntu theres no selection to boot Windows 7 in the grub menu that wubi set up. I never touched the windows partition during install but used C:/ for the install components. how can i add windows to the grub selection?
I have been trying for a couple days now to install 10.04 on a 250G hard drive that was a USB boot with 9.1. I want the hard drive in the case. The bios has been changed and does see the new drive. Boot selection has been changed to CD Rom. Everything starts out fine until step 4 of the install, Prepare partitions. There is no hard drive available on this step. The HDD is not seen by the disk utility either.
Installing 10.10 RC dual boot with Win7. Is there no place in the installer to specify where Grub will be installed? I don't want it installed in the MBR I want it in the partition with / (I usually only create two partitions for Linux / and swap). I prefer to chain load grub from my windows bootloader.
when I try to install anything using the Ubuntu software centre, I get the following message Requires installation of untrusted packages The action would require the installation of packages from not authenticated sources.