for a project I am working on, I need the same install configuration on every machine, and I'd like to have all the packages I need on one disc, with none of the ones I don't. I also need to use a non-standard file systems(jffs2,nilfs) as the hardware end of my project works on flash memory, and would like these two FSs to replace the typical magnetic disk based choices.
I am wondering how to add a need to restart notification in a Debian package, so upon installation, it'd pop up something to tell the user to restart the computer for changes to take effect. Perhaps something like what happens with some packages through the update-manager when it prompts the user to restart for the changes to take effect.
Is there any way to do that? Perhaps adding something at the end of a "postinst" file?
Thinking about it, I could just add something like this at the end of the "postinst" file:
Code: notify-send -t 86400000 -i /usr/share/icons/gnome/32x32/status/info.png "Please restart the computer for all changes to take effect."
It'd work, but not as well. For instance, if the person isn't by their computer at the time.
Another option could be using a Zenity dialog box. That might work. Though, if done, wouldn't a yes/no question box keep the actual package from technically finishing until the user would select yes/no to restart?
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?
After my NVIDIA card died I decided it was time to buy an AMD card again (R9 270X), but I didn't think AMD drivers were such a pain in Linux as people said. Of course, in some distros anyway. On Arch, for example, there's no official release because Arch's developers would have to hold Xorg in order to make a closed-source driver available, because AMD's pace isn't in pair with Linux. So in order to install AMD's drivers on Arch I must rely on some guy's unnoficial repositories, but that isn't the whole problem. Even though I'm cool with adding repos and downgrading Xorg, I'm not cool with it not working for a lot of apps, so that's where I decided to try a few distros. Manjaro is a no-go because it installs Flash as default. openSUSE although is a very good distro, is a complete mess when it comes to repositories, specially multimedia ones. Ubuntu/Mint are also a no-go, Ubuntu because after 12.04 they have a spyware by default, and Mint because it contains non-free stuff by default.
So here I come! I ran Debian in the past for a long time (aside from a breaf period last year) and it was lovely, I could easily set up a custom encrypted install, but now I don't remember how to, and it's killing me. I don't like how the installer doesn't show the partitions size as they actually are, and I don't like how the automated encrypted LVM setup doesn't let me chose the encryption algorithm or the timeframe between each passphrase attempt. That's why I must create my install, and here's what I used to do on Arch (the part that really matters), converted to what I use on Debian:
Code: Select all# modprobe dm-mod
(create one 1GB partition for /boot, unencrypted ; create another big 930 GB formatted as "8e" - LVM - on dev/sda2) Code: Select all# fdisk /dev/sda (chose my ciphers and iter time) Code: Select all# cryptsetup -c twofish-xts-plain64 -y-s 512 --iter-time 5000 luksFormat /dev/sda2 (open the luks container on "sda2_crypt")
After this is done, I go to the "partition disks" page where I select each partition/volume to it's correct destination. I then proceed to installing the base system, configuring apt, and all that. Now, before I install Grub I used to execute the following commands on shell:
Code: Select all # nano /etc/crypttab
I used to put something there, but I don't remember what exactly. It's been a long time since I used Debian for long! But here's what I put there:
I've a problem running jessie on a XEN supervisor; my running kernel and the installed kernel image differ, because the host system forces the kernel at boot time. Current loaded kernel is
Code: Select all$ uname -r 3.18.12
But I'm not able to install this version from the standard repository.
Code: Select all# apt-cache search linux-image linux-headers-3.16.0-4-amd64 - Header-Dateien für Linux 3.16.0-4-amd64 linux-image-3.16.0-4-amd64 - Linux 3.16 für 64-Bit-PCs linux-image-3.16.0-4-amd64-dbg - Debugging symbols for Linux 3.16.0-4-amd64 linux-image-amd64 - Linux for 64-bit PCs (meta-package) linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package) nvidia-kernel-3.16.0-4-amd64 - NVIDIA binary kernel module for Linux 3.16.0-4-amd64 linux-image-2.6.32-5-xen-amd64 - Linux 2.6.32 for 64-bit PCs, Xen dom0 support
Now I'm facing issues loading kernel modules for iptables, because the module path does not exist. Is there an easy way to install a proper kernel image from the standard repositories?
I will be installing Ubuntu Server 10.04 LTS. The partitioning install section is text based and IMO a bit cryptic. I was wondering: Can I first set up my partitions with Gparted live disk and then pop-in the server install disk and install using the partition structure I made with GParted?
I have a lot of RAR files and ISO. Is there a program like Winrar which could open them in Linux? Cause now it only opens zip files . Also I would like to know what the best package manager is (I mean the easiest -used to use the Software Manager in Mint 9 Xfce).At last I would like to know if there is a good program to make disk images to reset the system.
There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.
I don't really like Los Angeles (they steal all our water) and neither Tijuana nor Vancouver make sense to me, so I am trying to make my own, custom timezone of Felton, California. How do I do this? I changed my /etc/timezone to "America/Felton" but upon reboot my calendar still says "Los Angeles". Which files do I need to change?
I want to install Cent OS5 on my machine. The Hard Disk is SATA. I want to discuss about how to custom partition the hard disk. In the old version there is a drop down list for manual partition the hard disk. like /,boot,swap,var etc etc. In the new version of centos 5 I can not see things like that. During installation process and in partition page there are things like:
Code: Remove all partitions on selected drives and create default layout. Remove Linux partitions on selected drives and create default layout. Use free space on selected drives and create default layout. Create custom layout.
When I choose custom layout it show me an error message. "An error has occurred-no invalid devices were found on which to create new files system. Please check your hardware for the cause of this problem."
I am using uuntu 8.04 and I am trying to make live cd with running kernel. I know that there is documentation in ubuntu website in "how to make live cd" but the thing is this is my custom kernel. I have my own configuration. So I want this kernel to be work in live cd.
I would like to take say, CentOS5, customize it to my needs, then make an installer ISO for it.Basically I'd like it to be a next next next install, and it has everything already in it like sshfs, basic config files, and other custom stuff preconfigured. I tend to do all these things manually every time I install, and I'd like to just automate it all, and also not have to depend on an internet connection each time. How would How would I go about doing that? I don't want to just take a disk image, since then I'm restricted to that platform. I still want it to be a true installer.
I down loaded Debian 5.0.4 and burned it to CD (several times I might add till it was right) and now the computer I'm putting it on wont acknowledge it as a boot disk and load. It does not have a problem with my windows cd, which has a crack and the start of all my problems, But not the Debian CD-1 disk. what now? The computer is an IBM thinkpad a22p. Everything works as far as I can tell. But I was going to reinstall Windows and failed in that because of a small crack on the edge of the disk that stopped the install and any hope of accessing the file on the laptop. Microsoft does not support windows xp any longer, you must buy windows 7, but the ibm will not run it due to processor speed and ram limitations. But it will run linux and I'm willing to try it just to get out of microsoft control.
Idon't know what else to do. This is the link to where I downloaded the software ( [URL] ). The others five that i downloaded were on the same page that I got this one. Are there bad files here? Is there a missing file in the disc?
I am using ubuntu 8.04 and i am trying to make iso image cd with running kernel. i know that there is documentation in ubuntu website in"how to make live cd" but the thing is this is my custom kernel. i have my own configuration. so i want this kernel to be work in live cd.
What are the best ways to make the kernel using git, and localmodinfo. and optimizing the kernel the best way on a laptop I have, which is a desktop laptop, so it is never really unplugged. Has a core 2 duo 2.53Ghz, 4GB DDR3 RAM, and an ATI HD 3870 GPU.so what things other than the obvious core 2 cpu type when making the kernel. It's on Ubuntu 11.04 64 bit. I also want to create it with the local mod info. and Also create this into a .deb package so it may be saved.
i am working on developing a very minimalistic os based on a striped down linux kernel and for the user interface ive come up with a bunch of custom graphics and such and then i was confronted with the problem of what window manager do i use....
basically my concept for the ui is windows that only open fullscreen (so no resizing, minimizing, moving) btu when you want to change threw applications it displays everything in a coverflow style and im planning on using the Qt toolkit for the interface itself and basing alot of it on web technology's.
I installed Fedora 11 on a server with 2 equal sized disks. I used the gui installer and didn't make custom setting changes to the partitions. One of the steps asked for me to choose the disks i wanted to use for this installation. I selected both disks and after the installation Fedora only sees one volume the size of both disks combined.Do I now have software raid0 or do I have something else?
I'm new to linux and recently installed openSUSE 11.1 on my Lenovo Thinkpad SL500. So far it's great... only problem is the hotkeys and brightness control don't work. Digging around online I found this "experimental" driver that purportedly works fine, but I have no idea how to compile, install, or otherwise use it. Here... tetromino's lenovo-sl-laptop at master - GitHub I'm not sure what to do with the makefile and C file provided. For example, what do I do with this instruction...
"To enable the brightness control, load the module with the "control_backlight=1" module parameter (i.e. insmod lenovo-sl-laptop.ko control_backlight=1 )" I know someone on here will be able to explain how to do this in a "computer engineering for chemists" language! I'm comfortable enough working in the terminal with commands, but have found no real straightforward explanation of how to do so (only "programming" experience is MATLAB m file writing).
I'm banging my head against the wall as I can't find a way to install the contents of the CD-26 image of Debian. I've downloaded the files and then burnt it to disk and Debian can see the disk as an ISO format, but I have no idea how to extract/install the files so that I can then use aptitude to load the program I want.
I've searched Google and it talks about Debian Installer, but I haven't got that (I don't think), and the CD doesn't load automatically at start up (even though the BIOS is configured to Boot from the CD drive first).
would have marked the last thread as solved, but couldn't find where to do it Got it up and running, dual-boot, and no problems after scandisk, and fujitsu helped out. Now I have XP and Debian lenny. Here's where the hard part comes in, for me anyways. Had to do install without NIC, install didn't find it. I have the driver disk for it, with a linux driver on it, but I can't find anything about how to use it.
The driver file has 5 files inside it. 1) Makefile 2) sr9600.c 3) sr9600.h, 2 readme's and a file containing some .png files. I can't find a substitute driver for the card, SUPERAL semiconductor sr9600, that may be already on the stuff I can get using aptitude, so what do I do with this driver...how do I get the system to use it? I NEED networking, a tutorial or some good advice,.. I've googled everything I can think of.
I installed Debian Lenny on a friend's computer which is an older Dell workstation. The install went well. I delivered the machine last week, got it set up in there house and all was fine. 2 days later they said it crashed with a black screen and lots of words they didn't understand. I get there today and rebooted. X would not start but it ran a whole bunch of automatic self tests but could not recover. I was able to log in as root and run fsck. That made the necessary repairs. I was able to reboot and log into the KDE Desktop. Hopefully they don't break it again.
I asked them what they did to it to cause it to freak out like that and they had no idea. So, as to my question, what causes something like that? I know there must be a log file somewhere on the computer that will give me some insight into the matter, but I'm not sure where to find the file.
I have tried to install Debian from various .iso files over the last couple of days. However, the installations always get stuck on "Partition disks" section. On the screen, the progress bar for "Starting up the partitioner" keep getting stuck at 50%, and refuses to progress further. I understand that it might take a little time to scan the hard drive, so as an experiment, I left it on over night. However, it is still stuck there when I woke up 6 hours later.