Debian :: Custom Image Hangs
May 31, 2015
I'm working on a custom Debian "spin" (one customized for personal/work use). I did this once before with an Ubuntu build, but attempting it with Debian has loaded me with a steady flow of walls (everyone loves debugging!). Despite a variety of approaches, none of my images seem to boot. I've tried the following with both SysV and systemd. the search results I find are vague, at best. I'll attempt to categorize and explain this as intelligently as possible.
A variety of ISOs were tried in Virtualbox, so these are the errors they're yielding; I'm currently down on removable media since I loaned my flash disks to a couple students for their finals, so I can't boot that way until Tuesday. I really hope that the error is something that can be identified regardless of whether or not I'm using a virtual environment.
Method 1: This Guide
This appealed to me the most at first because I run a stripped-the-hell-down version of Ubuntu on my work laptop. (Wheezy/Haswell yielded unfavorable results, and at the time Jessie's SysV compatibility was undesirable, but I'll probably switch back by the end of the week if possible.) I have a feeling that this guide may simply be obsolete, or maybe I'm just neglecting a crucial step. Here's the output: a lovely kernel panic.
Method 2: refractasnapshot
With it properly configured (and with syslinux-utils installed -- head-on-a-stick and fsmithred), I tried two different approaches: the first, I ran it within the chroot environment mentioned above; the second, I created a Virtualbox build and ran it within that. Both yielded the same errors:
For each, I received two complains: about piix_smbus and no valid rapl domains, and the system hangs indefinitely (ie, all night). Following some search results, I blacklisted i2c_piix4 and paevm, then rebuilt the image, and mounted it in VirtualBox. At boot:
Code: Select allEDD: Error 0c00 reading sector 276375
No DEFAULT or UI configuration directive found!
boot: _
View 5 Replies
ADVERTISEMENT
Jan 2, 2016
I'm using a custom kernel but the Intel Broadwell GPU hangs and gives the following error messages:
Code: Select allJan 2 19:24:06 debian kernel: [ 34.734460] [drm] stuck on render ring
Jan 2 19:24:06 debian kernel: [ 34.735563] [drm] GPU HANG: ecode 8:0:0x85dffffb, in Xorg [1925], reason: Ring hung, action: reset
Jan 2 19:24:06 debian kernel: [ 34.735566] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[Code]....
View 4 Replies
View Related
Mar 11, 2016
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?
View 5 Replies
View Related
Nov 28, 2010
It hangs after mounting my root partition, and switching to framebuffer. And ctrl-alt-del causes a normal shutdown - everything gets told to exit.
This where it hangs:
[URL]
This is my config:
[URL]
lspci output:
[URL]
Based on the mainline defaults. I made sure ext4 is compiled in, SCSI, SATA and PATA support... sda1 is my root partition. sdb1 is a data drive. The drives are SATA.I need to rebuild from source to test some stuff for wayland.
View 5 Replies
View Related
Apr 1, 2010
I have installed Centos 5.4 and then on top of that i have been installing many softwares over the time ( like pbx system , web console , billing etc.) and now it has come to a quite stable stage. the problem is i have to move this installation to another machine with different config etc. even have to install it on multiple systems. the idea is to create a bootable linux iso of the current machine with all the softwares so i can simply put it in a different machine and make it install and run without much fuss. is creating a linux appliance the only solution ? or is there any way to backup the current machine in an iso format and then install it on another machine? also i would like to make this completely hardware independent.
View 9 Replies
View Related
May 8, 2011
I updated my step-by-step guide for the creation of a custom Fedora 15 Live image. You can view it here. The previous post for Fedora 14 is here.
View 4 Replies
View Related
Aug 21, 2011
I recently installed the Ubuntu startup dsik on an external HDD, which I use as a portable version of Ubuntu everywhere I go
It now hangs at startup.... i.e., it comes to the "ubuntu" page, with the red& white rounds below, and does not go further... after 1 hour, the red point is still running...
I tried to see what was hapening, reading that disk from another computer, inspeted the /var/log syslog and boot, but I see nothing comes written there: it seems it has not reached that level.
View 8 Replies
View Related
May 11, 2011
I have a Canon iR3570/iR4570 PXL, and installed the driver CQue 1.0 TCP/IP Queue from Canon webpage.
The problem:
- if i try to print an OpenOffice or LibreOffice Calc with an image and text, the image is not printed (the space is blank).
- if i try to print an OpenOffice or LibreOffice Calc with just an image, it's printed great.
- if i try to print an OpenOffice or LibreOffice Impress, the images are not printed but the text is printed great.
[Code]..
View 3 Replies
View Related
Jan 11, 2011
I want to take the standard ubuntu 10.10 distribution, install/remove some packages and create my own custom image which is bootable by CD/DVD and USB drive and sun virtual box just like the standard ubuntu image.
View 2 Replies
View Related
May 21, 2011
WTF why is it with every update the devs try to break something. Might as well be using Ubuntu at this point and No I do not want to install Stable. Todays updqate would bring in linux-image-2.6.39-1-686-pae linux-image-686-pae, but my CPU Single core Intel Pentium M (-UP-) cache 1024 KB flags (sse sse2) bmips 1196.07 clocked at 600.00 MHz doesn't use PAE so it told me to remove linux-image-686 and to install linux-image-486. So more shiny crap that doesn't support older hardware, it is getting to be as bad as Microsoft.
Why don't I just go upgrade or buy new hardware with every new shiny crap that wants to upgrade. If it isn't broken do NOT fsck with it.
[Code]...
View 14 Replies
View Related
Dec 28, 2009
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?
View 1 Replies
View Related
Dec 16, 2015
I am trying to upload some pics on my Facebook account using Firefox. When I click on Facebook's file upload icon, Firefox bring up a 'File Upload' window. I noticed that smaller image file is previewed on the lower right hand corner, while bigger image file is not. Is there anyway I can change this behavior or maybe change what Firefox is using to browse my files?
View 2 Replies
View Related
Nov 16, 2010
I followed The Perfect Server - Debian Lenny on howtoforge website. (Just changed some instructions to fit Sqeeze) * I did not install Control Panel, just software like LAMPP & Mail Servers - SMTP(SSL+AUTH) + POP(SSL) + IMAP(SSL).When I installed PHP it installed it with Suhosin Patch, but that patch was giving me a headache with some web scripts that I write for myself. So I decided to compile it for myself. Here is how I done it:
apt-get install build-essential
apt-get build-dep php5 (It installed about hundred packages)
apt-get source php5
[code]....
View 6 Replies
View Related
Feb 23, 2010
I been trying all day to compile a kernel i downloaded from http://www.kernel.org/ (2.6.32.8 )Following this help thread viewtopic.php?t=4468.When i invoke make xconfig i'm just kinda lost at that point. Not really sure what to do, so i just save it as is and then compile/install.when i try to boot the kernel, a kernel panic happens saying it can't not mount the root partition.So i am sure i am missing a step with the xconfig part but not sure what.
View 5 Replies
View Related
Jan 20, 2010
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?
View 3 Replies
View Related
Sep 20, 2010
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.
View 1 Replies
View Related
May 29, 2011
I've written my custom keyboard layout, where I'm trying to remap the Menu key as Super. The key gets remapped, however Super is not recognized as a modifier key, unlike with a standard layout I've used as a comparison. What puzzles me is that the left Windows key, which I never refer to in my custom layout stops working as well.
Here is the relevant section of my custom layout:
Output of xev command shows the key has been remapped correctly:
View 2 Replies
View Related
Mar 23, 2015
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")
[Code].....
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:
Code: Select allsda2_crypt /dev/mapper/sda2_crypt none luks
Then I procceeded to instal syslinux (I REALLY don't like GRUB)
Code: Select all# chroot /target
# apt-get install syslinux
But I get the following error:
E: cannot write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory).
View 6 Replies
View Related
Aug 4, 2015
On macbook air 6.2, i've installed a Debian jessie mate DE, dual boot using refind. I'm currently fine-tuning it. I've made a script following powertop advice:
Code: Select all[newb@debian /etc/systemd/system]$ cat mba_kb_sp.sh
#!/bin/sh
echo 'auto' > '/sys/bus/usb/devices/1-3.1/power/control';
echo 'auto' > '/sys/bus/usb/devices/1-3.2/power/control';
echo 'auto' > '/sys/bus/usb/devices/1-5/power/control';
exit 0
[Code] ....
All seems to work fine, however when i check the sys file it didn't change. But I can start manually the systemd service and, this time, it works.
View 2 Replies
View Related
Feb 24, 2016
I'd like to create my own custom Debian live CD — the idea being to have my own rescue CD with my favorite Debian tools installed. I read about bootcd and was going to give that a try, after creating the ideal system in a qemu virtual machine.
How much exactly can you install on a system so that bootcd can still fit it on a CD? I'm presuming there is some kind of compression involved. When I tried to create my VM, I coudln't get Jessie + LXDE to install onto a 2GB virtual drive (net install) so naturally I'm wondering what I'm going to be able to put on a 700MB CD.
View 7 Replies
View Related
Oct 23, 2015
I just installed Debian 8 (loving it so far) and everything its working right except for one thing: The monitor resolution!
I've got a LG 22 inch monitor and it supports up to 1360x768 but the display settings only shows 1024x768 as max resolution. Doing a little research i was able to get the desire resolution (1360x768) through the use of the tool "xrandr". The problem is that the resolution its not permanent and i need to invoke the xrandr script (i wrote a very basic "script" to set the resolution) on every restart or session logout and of course this is annoying. I've tried to use "crontab" to invoke the script on every restart but for some reason did not worked.
So, making more research i saw that apparently the correct way to set the resolution is by making use of "xorg.conf" but didn't quite get how to do....
Here's the xrandr script that i use:
Code: Select allOUTPUT=VGA1
MODE=1360x768
MODELINE=""1360x768" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsyn$
xrandr --newmode $MODELINE
xrandr --addmode $OUTPUT $MODE
xrandr --output $OUTPUT --mode $MODE
View 4 Replies
View Related
Apr 29, 2011
Howto configure custom boot usplash theme on squeeze with grub2 and hide boot text messages?
View 2 Replies
View Related
May 1, 2011
I'd like to create a custom squeeze kernel. Is it a really bad idea to edit to edit the kernel config file directly instead of using "make config", "make menuconfig" or "make gconfig"? My problem is I missing a search function, for example in "make menuconfig" and cannot find some entries.
View 2 Replies
View Related
May 23, 2015
I was using a custom layout for my keyboard as I've a UK laptop but still use french accents sometimes. After the update from Wheezy to Jessie my configs disappeared so I have put them back:
- Defining my layout here: /usr/share/X11/xkb/symbols/gb
- Adding here: /usr/share/X11/xkb/rules/base.xml and here /usr/share/X11/xkb/rules/evdev.xml in the gb configItem
Code: Select all <variant>
<configItem>
<name>accentsFR</name>
<description>English (UK with french accents)</description>
</configItem>
</variant>
- Adding the declaration of the layout here /usr/share/X11/xkb/rules/base.lst and here /usr/share/X11/xkb/rules/evdev.lst
Code: Select all accentsFR gb: English (UK with french accents)
So everything looks alright, if I go to System Tools -> Preferences -> Settings -> Keyboard -> Input Source my layout is well selected and I can even see the correct layout by clicking on the keyboard icon (cf my snapshot)
Here is the snapshot of the keyboard input source settings: [URL]....
View 1 Replies
View Related
Jun 9, 2011
I know about things such as clonezilla and partimage but what I really want is the ability to make an iso from the current installation so that I can use it in a virtual machine. That wayI can develop freely without worrying that Ill crash my pc.
Also when I tried cloneziila it only chose the partitions on the local hard drive, is there software that can clone the HDD of a remote pc?
View 2 Replies
View Related
Sep 26, 2010
I've setup my own repository which I want to use SSH as the protocol. I managed to get everything working with an SSH key using port 22. Now, I would like to change the SSH port. I've already changed it on the SSH/repo server. Now I can't figure out how to change apt to use a custom port on the client computer.
My sources.list file line which worked over port 22: deb ssh://user@1.1.1.1/home/user/repo lenny main contrib non-free I've tried: deb ssh://user@1.1.1.1:12345/home/user/repo lenny main contrib non-free and it fails and actually says "failed connecting to port 22"
Can this be done? I've searched google for hours and I getting nothing but unrelated data. I've read the man pages. The man page for apt.conf specified that you can set the port this way for HTTP, but doesn't mention anything about ssh ports.
View 1 Replies
View Related
Apr 21, 2011
I would like to compile a custom xen dom0 kernel. I installed a Debian Squeeze with precompiled xen kernel, and it works fine, but i would like to compile a custom dom0 kernel from source. I tried install kernel source apt-get source linux-2.6 how can I patch this kernel source with xen? but i alway see only the domU kernel params.
View 3 Replies
View Related
May 19, 2011
I have squeeze and I've created my own custum kernel. Howto configure grub 2 to boot with this custom kernel automaticaly?
View 5 Replies
View Related
Jul 2, 2011
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?
View 3 Replies
View Related
Aug 13, 2011
My university has a secure wireless network that has the following specs: WPA2, 1st Authentication TTLS, 2nd Authentication PAP, Encryption CCMP or AES, Thawte_Premium_Server_CA certificate and username and password.
I have never gotten this to work with wicd. First of all, wicd does not have a default template for this configuration. This led me in the past to quickly install Network-Manager (on top of XFCE...). While this has worked for me just fine. Recently I found out that this functionality is possible in wicd by creating your own template. So I did and here it is!
name = WPA2 Enterprise TTLS
author = Andres Cimmarusti
version = 1
[code]....
I did everything outlined here: [URL] (that is I saved the file as wpa2-ttls and then added this entry to the active file in /etc/wicd/encryption/templates/).
Sadly wicd's gui does not load my template!, the logs show no errors!...it simply refuses to take it. I cannot see any mistake in the above... do you?Is this some debian bug perhaps?This is the most important issue for me, before accepting to use wicd instead of NM.
View 1 Replies
View Related