Debian Configuration :: Making A LiveCD To Resemble An Exact HDD Installation?
Nov 13, 2010
I've been trying to make a live CD off an installation with minimalist deviation possible. Purpose is to check the hardware compatibility using the live CD, after which I'll copy the installation to the hard drive (which will probably be a squashed image) and do the necessary edits to make the system bootable. Since the rootfs will be copied over (not dd, but direct cp --preserve=all), the difference from the actual install should be minimal.
If there are any caveats using this procedure, do notify.
I've been succeeded in doing this using Gentoo but it appears the Gentoo kernel uses Gentoo specific kernel parameters which makes things very simple, but I gotta do this with the generic Debian kernel.
If it can be done easily using a script I would also like to know exactly how it's done so I can reproduce it by hand even to make an ro rootfs and possibly reproducing the same with other distros.
View 5 Replies
ADVERTISEMENT
Jan 27, 2010
I am trying to create a LiveCD with the option of installation.So far, so good.Live and installation works well.Now I want to automate the installation. The problem is that when I run the install from the ISO, he said he did not could find the preseed file.In looking around, it seems that we should add this file in initrd But, I do not see how.I searched a few hours on the net in vain.
View 1 Replies
View Related
Jan 10, 2011
I'm looking for a way to create a live cd from the existing image. I'd like to include some sort of installer, I've found gui remaster utilities, but none for the shell only. I need to setup the image to automatically login, so the user could just pop in the cd and start it up without a monitor or keyboard.
View 10 Replies
View Related
Jul 26, 2015
uname
Linux cam01 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) i686 GNU/Linux
debian_version
8.0
I have three webcams and after reboot they change their /dev/videoX names from time to time.
My attempt to add .rules file to /etc/udev/rules.d was unsuccessful.
Code: Select allSUBSYSTEM=="video4linux", ATTRS{ID_SERIAL}=="046d_0825_4EE37780", SYMLINK+="video10"
SUBSYSTEM=="video4linux", ATTRS{ID_SERIAL}=="046d_0825_4B2AC690", SYMLINK+="video11"
SUBSYSTEM=="video4linux", ATTRS{ID_SERIAL}=="HD_WebCam_HD_WebCam", SYMLINK+="video12"
SUBSYSTEM=="video4linux", ATTRS{ID_SERIAL}=="046d_0825_4EE37780", SYMLINK+="mvideo10"
ATTRS{ID_SERIAL}=="046d_0825_4B2AC690", SYMLINK+="mvideo11"
SUBSYSTEM=="video4linux", ATTRS{ID_SERIAL}=="HD_WebCam_HD_WebCam", SYMLINK+="mvideo12"
View 4 Replies
View Related
Feb 4, 2010
After weeks of hard work I have re-branded an ubuntu 9.04 installation. Like the logos, splash screen, theme, wallpaper and have even changed some of the menus. Now I want to make an installation CD out of this, so that I can distribute it to my friends, in that brand name. I'm aware of some apps out there like remastersys, reconstructor, uck etc... but I read that some of them don't keep your theme, while others change the login screen or wallpaper. I want my live cd and installation to look exactly like the installation I have in my system.
View 4 Replies
View Related
Mar 16, 2010
Why is my Xen server (An up-to-date Lenny box) making Xen DomUs as Etch boxes? I run a command such as:
[Code]...
This is 100% replicable. I certainly never asked it to create an Etch VM! I cannot find anything in the docs to change this. And for the record, I did let it finish creating it, and it most definitely made an Etch box.
View 2 Replies
View Related
Sep 30, 2010
I've gotten VNC setup and working well on our LAN. The next step we want to do is making it acessible from the web, so we can remotely do things with the office files.Unfortunately, I have no idea how to go about this.Our current setup is a router which connects to the phone line, and into which other devices are connected. We're in one room of a big office building which may complicate matters somewhat.Can anyone provide a bit of general info on this topic. Give me somewhere to start ?Ultimately we want to be able to connect to the vnc port from anywhere in the world.
View 6 Replies
View Related
Nov 17, 2010
My brother is working for a company that is making various types of embedded software. He's been trying to install Micro Core Linux on a device, and it worked after some manual kernel patching & configuring. The issue is this; he need to install this system on hundreds of similar devices. Is there a way of making the configured kernel into a bzImage, so that the kernel can be compiled on the other systems without any tweaking?
View 5 Replies
View Related
Feb 17, 2011
I have to use pppoe because my ISP uses service names, and as far as I know the only program which lets me input a service name is pppoe (inside the pppoe.conf file). Networkmanager is buggy because it tends to disappear from the panel periodically and, worse, it doesn't reconnect (although the option is selected, it does reconnect only once).
So, for peace of mind I open a superuser terminal and enter "pppoe-start" and "pppoe-stop" to have everything I want (reconnects automatically, etc.). Now the question is: how can I have pppoe-start run at startup, automatically, without entering superuser mode, and without having a terminal open for this? Using Debian Testing (Wheezy).
View 2 Replies
View Related
Sep 9, 2010
I downloaded the ubuntu-10.04.1-desktop-i386.iso and I have the APTonCD program to make the cd. But I was wondering if thee is a script to redownload all the packages I've installed on the system? I usually keep my APT clean so I have nothing in the folder to use.
View 4 Replies
View Related
Dec 15, 2014
I intend to switch to Debian form PCLinuxOS. I am not an experienced Linux user. But I intend to switch all my machines to Linux. I have used Antix as well on an older machine. I am a bit familiar with the basic Linux CLI commands.
I intend to switch to Debian as I think the support (Forums and probably mailinglist) are more active then PCLoS and Antix. Sadly enough though the live cd gives a problem which no distro gave on the same machine. And I really do not know what to do about it.
When starting the first line that prints is:
Umount: can't mount /live overlay: Device or resource busy
View 14 Replies
View Related
May 3, 2011
I'm trying to setup the wireless in the debian lxde livecd but I'm not seeing how it is done.
I've searched a bit and found this page [URL] , which says to use the wicd program, but since I don't have internet there, I can't install the program!
View 2 Replies
View Related
Feb 26, 2010
I remember, long ago when I used Linux, that I was able to launch a terminal, or any other program at that and have the ability to pass exactly where on my desktop I want it to appear. I would do this by placing some arguments in the applications launcher like
--title=TITLE
Does anyone know how to do this, I'd like to be able to launch a few different terminals, with different profiles and have them default to certain locations on my desktop/work area.
View 4 Replies
View Related
Mar 11, 2011
I did horrible mistake and installed upgrade for firefox 3.6.15 via KPackageKit. There would be normally no problem but this version does not work with Q3 live Is there a way to select older version of software in KPackageKit, Synaptic or via dpkg?P.S. I don't want to install it from tar.gz2 file - I want normal installation.
View 1 Replies
View Related
May 31, 2010
I just set up a Squeeze server for a friend of mine using my exact apache2 settings. He has been playing around, having a bit of fun learning HTML, but he ran into a problem where one of his images would not display. I at first figured his HTML was incorrect, but after a very long time of trying to figure out the problem, I still do not know what is going on, so I think it must be an apache2 problem?[URL]..
View 14 Replies
View Related
Apr 8, 2011
I currently have been using 10.10 on my new netbook. I've been an Arch user for a while, but recently come back to ubuntu for my new netbook since it's a lot simpler to get working from installation, imo (oh and I'm quite impressed with how far Ubuntu's come in the last year since I used it ). Anyway, I want to upgrade to a 128GB SSD but I also want to keep the current setup I'm running on my current 320GB HDD. Is there any good HDD imaging tools for Ubuntu/Linux (that's relatively easy to use), as I've never done this before?
Also, bear in mind, my current HDD has a three partition setup. 4.1GB swap, 8.2GB ext3 (/ directory), 308GB ext3 (/home directory) respectively. And also an additional question: As the new SSD has only 128GB (compared to my current 320GB), is it possible to shrink my /home partition but keep the other partitions at their current sizes? (as my /home partition has probably over 128GB free space anyway) Oh and also, how big do Ubuntu root partitions have to be in general? I think my 8.2GB / is a bit of an overkill, is it not?
View 4 Replies
View Related
Sep 8, 2010
this is in the wrong section, but I wasn't sure where to put it. Since the background to my problem is kind of long winded I've split this post into two sections: Short version of problem
I have a PC that has two internal drives: one drive (drive A) is empty, and the other (drive B) has a copy of windows vista installed. At the moment the PC boots from drive A. I'd like to transfer everything from drive A to drive B, so that this new disk will boot and behave nicely and windows will still function.
Is there any easy way to do this in ubuntu? I'm guessing I can use something like dd, but will this copy the boot sector and will I have to mess around with the partition table? Long version of the problem
Today I built a new PC for my dad with two internal drives. He was previously using vista on a laptop which died a few days ago, and I'd like to install vista on one disk of the new PC, and ubuntu on the other disk.
He has a licensed copy of Vista for his laptop, but it came as a "system restore" disk, and so I can't install vista directly onto the new PC. I have an identical laptop to his, so I took out the drive from his laptop, put it in my laptop, and did a "system restore" from the disk that came with the laptop. I then took out the drive from my laptop, and put this inside the new PC. It boots up fine, and I installed all the necessary drivers and etc to make windows work.
Now instead of using a slow/small laptop drive inside the new PC, I'd like to be able to clone the data on laptop disk and this onto one of the bigger/faster internal drives of the new PC. How can I do this from ubuntu, so that the new drive will boot windows?
I'm fairly certain it can be done using dd, but how do I make sure the information in the boot sector (or partition table) is correct for the new drive? I'm asking this because when I put my laptop drive into the new PC initially, I had connected it as an external drive, and when I tried booting from this there was an error, something like "Invalid partition table" (I think). I figured that when I did a "system restore" on my laptop, the drive was the only drive available, so this would be HDA, or SDA in the boot record of that disk. But when I added it to a system where other drives were available, it was no longer at that same location, so the boot loader couldn't find the data it was looking for to load the system.
View 2 Replies
View Related
Mar 8, 2011
I've been out of the Linux loop for a little while, but a customer of mine wants a "No Virus) desktop environment, I have gone through the process of installing and configuring Ubuntu 10.10 to work with their client side software, but for the life of me, I can't remember if or how I can create an exact image of this file-system to install on all of the desktops.I would need to have all of the installed programs, Security Certificates, Display settings... basically, I need exactly what I have right now installed from the disc so that "IF" the customer needs to install the environment on new systems, I can just pop the disc in and run.
View 1 Replies
View Related
Apr 27, 2011
i am trying to install openbravo on my server.I have installed all the pre-requisites as ANT, JDK(though i installed JRE).
Everything goes fine untill the ant setup and then running the setup-prerequisites...file (don't remember the exact name).
As soon as i issue ant install.source it ends up with some errors..
View 2 Replies
View Related
Feb 27, 2011
Recently I have installed Debian Squeeze amd64 on my home desktop. I have used the standard installation method using DVD. I use my desktop primarily for web surfing, playing games and web application development. I do run apache2 and mysql servers on my system as need arise. I have been told that apache2 server execution without mandatory access controls such as apparmor or selinux makes the system vulnerable.
I could not find apparmor in synaptics, so I choose selinux for this task. To start with I installed identical environment in virtual box and tried installing selinux as given in url [url]. After the last step i.e. after running command selinux-config-enforcing and reboot I get login screen, I choose username and enter password. Thats it. The screen becomes blank and no further progress. I am not sure where did I went wrong. I am also curious whether selinux is really required in such cases or there is any better way to handle such situations. I also thought of running apache2 service from virtualbox. But I did not find it suitable for my requirement though.
View 7 Replies
View Related
Apr 13, 2011
After a dist-upgrade in Sid, i get the following message: W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169
View 6 Replies
View Related
Mar 8, 2010
I've got two LiveCDs (KDE & Gnome), both of them hang during boot at cupsd. Both CDs work just fine on other computer I have. Knoppix 6.0 boots just fine on problem computer.
View 2 Replies
View Related
Apr 8, 2014
I've been installing multiple versions of ubunutu over years and now I better understand why I faced always problems with wifi configuration on these different baselines : Debian root of course.
Now on Debian 7.4 :
The Broadcom BCM4313 driver is not loaded by default (not free product) for my wifi card. This is stated thru the UNCLAIMED declaration
Code: Select all
sudo lshw -c network
*-network UNCLAIMED
description: Network controller
product: BCM4313 802.11b/g/n Wireless LAN Controller
vendor: Broadcom Corporation
physical id: 0
[Code] ...
Unclaimed means : no driver found (no kernel association)
So I installed the driver located in the non-free backports by adding this target into the repository
Code: Select alldeb http://http.debian.net/debian/ wheezy main contrib non-free
and install :
Code: Select allsudo apt-get update && apt-get install firmware-brcm80211
sudo modprobe brcm80211
Check seems OK :
Code: Select allsudo lshw -c network
*-network
description: Wireless interface
product: BCM4313 802.11b/g/n Wireless LAN Controller
vendor: Broadcom Corporation
physical id: 0
[Code] ....
I can't connect with wlan0, it doesn't work. I found information here regarding WPA2/PSK wifi configuration on debian : [URL] ....
so I added this setup to my interfaces file an got :
Code: Select allauto lo
iface lo inet loopback
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid Hznteam-Datacenter
# hexadecimal psk is encoded from a plaintext passphrase
wpa-psk 12345678901234567890123456
It's worth ! no more wifi network are detected and ifconfig gives no ip address allocated :
Code: Select allwlan0 Link encap:Ethernet HWaddr 78:e4:00:4e:49:a3
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
[Code] ....
View 7 Replies
View Related
Aug 4, 2015
I'm trying to install using windows 7 on a 2010 macbook pro. Firstly the network configuration won't work and secondly the cd rom can't be detected. I've rewritten the usb drive several times with no joy.
View 3 Replies
View Related
Feb 18, 2010
I have problem with installing Deluge. I did not find any manual how to install Deluge. And I wanna install deluge newest version, and that is on Debian testing packages. So how can I install Deluge from debian testing packages. I read a little bit Deluge forum and there I see, there is lot of problems with Deluge on Debian Lenny. And all I need is use Deluge from web interfaces, thats all. How could I set it up?
View 6 Replies
View Related
Mar 17, 2011
tell me the login password for the LiveCD if I Logout? Is the login "Debian Livecd user"?
View 2 Replies
View Related
Jun 30, 2010
A friend of mine has asked me to install Ubuntu for a long time. Today I set up his partitions with Lucid LiveCD and GParted.
However, the LiveCd throws an error that makes me hesitant to continue.
If I boot a LiveCD on my computer I get a question meaning "run Live or install?"
This question does not appear on my friends computer. The first thing you see (about 2 min after boot) is an alertpanel saying something like "The installer encountered an unrecoverable error. We will now set up a desktop environment so you can investigate the problem." After that the normal Lucid (Live) desktop appears and functions well, as far as I can understand.
Sorry for not being able to give more data about my friends system. It is a stationary computer about 2 yrs old, running XP. I can't really make investigations on his system either. I had hoped to go there next time and just install Lucid.
Maybe one should try the alternate installer, but my friend just got used to the LiveCD and I would therefore like to use the LiveCD.
I don't understand why it seems to start installation by itself.
Most of all. I wonder if it is a good idea to run the installation from the desktop icon? Maybe it will encounter the same error that the LiveCd seems to encounter at startup?
View 3 Replies
View Related
May 20, 2011
Just wondering if it is possible to make use of the Windows keys on keyboards - the ones with MS logo.In Vista - the action is to invoke the Start Menu.In Linux, there is no action when you press these keys - can this be changed?
View 10 Replies
View Related
Jul 21, 2010
I just got a new hard drive and figured I might as well do an installation of Squeeze (and was previously using Lenny). That went fine, and then I decided that I should copy over my old Lenny installation to the new disk -- mostly to have a working backup without bothering to do a new installation on a partition of the new drive. My partition scheme was a smaller /boot partition and then a much larger / partition with everything else standard (and a much larger /data partition rather than storing everything under /home). So I copied /boot over to a new partition on the new disk, and the same with /. That was done from the Squeeze installation, so the Lenny install wasn't active at the time. I modified all the appropriate entries in /etc/fstab to use UUIDs rather than partition numbers and ran an update-grub.
It detected everything on the old and new disks without a problem. When I went to try and boot up the transferred Lenny installation, it hung on trying to activate the root file system (I've forgotten the exact messaging). Not entirely unexpected, mind you. I went and took a look at the grub.cfg file. It does list that the transferred Lenny is on partition sda8 (correct), it has the correct uuid for the boot partition... but it seems to be setting the root incorrectly. Specifically, the root is still set for the old disk (though in its new position of hd1 instead of hd0), and the "linux" line sets a root for the old device. Or more specifically, this is the menu entry I get, with a few // comments.
menuentry "Debian GNU/Linux, kernel 2.6.26-2-amd64 (on /dev/sda8)" {
insmod part_msdos
insmod ext2
set root='(hd1,msdos2)' // <------ This position is the *current* location of my old Lenny disk/partition
search --no-floppy --fs-uuid --set [the correct /boot UUID]
linux /vmlinuz-2.6.26-2-amd64 root=/dev/sda5 ro vga=795 // <----- that root=/dev/sda5 line is what it was on the old device.
initrd /initrd.img-2.6.26-2-amd64 }
The odd thing there is that it sets the root according to the *current* position of the old install disk (maybe some trickery with detecting the correct UUID before setting the root), but the "linux" line refers to the *old* partition. The two lines will never match up no matter what. Now if I edit grub.cfg manually, I can make it boot (and run) normally, as I've verified. For example, I made a couple manual changes to do this:
menuentry "Debian GNU/Linux, kernel 2.6.26-2-amd64 (on /dev/sda8)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)' // <----------- First hard drive, partition sda3 is where I put /boot
search --no-floppy --fs-uuid --set [the correct /boot UUID]
linux /vmlinuz-2.6.26-2-amd64 root=UUID=[the correct / UUID] ro vga=795 // <--- Changed it to the UUID here; could be /dev/sda8 instead
initrd /initrd.img-2.6.26-2-amd64 }
And that works perfectly, the installation works just fine. Of course, the problem is that those changes will/would be lost every time I run an update-grub. So my question, in a nutshell, is how can I configure things so that update-grub sets things properly to the new devices? Or in other words, where in the copied installation are the variables I need to change? I did note one thing odd -- the existence of a vga=795 line. For the new Squeeze installation, I'm using gfxpayload and there's no vga=anything line anywhere. My old installation, of course, had its own grub installation where I did use vga=795 to set the console resolution properly.
So my first guess was that update-grub (for Grub2) was pulling config information out of the Lenny /boot/grub folder (grub legacy). Unfortunately I tried several changes there and it made no difference. Then I deleted the entire /boot/grub folder entirely from the copied Lenny installation and ran update-grub again (the Squeeze grub version). It changed absolutely nothing. That's very confusing for me, since I have no clue where it could be getting vga=795 from, *except* the now-deleted Lenny /boot/grub folder. Where in the copied Lenny installation, I can change something to make it so that update-grub picks up the correct information?
View 4 Replies
View Related
Oct 6, 2010
I got a new laptop the other day, repartitioned it and installed Lenny. The wireless did not work. From some searching, I decided that I have the 14e4:4727 broadcom chipset. The driver I need is partially supported by the 2.6.33 kernel. I installed squeeze and downloaded the 2.6.35-7 kernel from kernel.org Then compiled it with the debian 2.6.32 kernel config file. Once it was done I installed the kernel deb files, and restarted it.
Kernel 2.6.35.7 Compiled with commands
make oldconfid
make menuconfig
export CONCURRENCY_LEVEL=2
make-kpkg clean
fakeroot make-kpkg --append-to-version "-hermes" --revision "10-5-2010" --initrd kernel_image kernel_headers
[0.433831] PCI_root PNP0A03:00: address space collision : host bridge window [mem 0xafffffff-0xdfffffff] conflicts with PCI bus 000:00 [mem 0xd0000000-0xffffffff]
And it seems to hang until I manually hold the power button to shut it down.
Before I compiled my own kernel I tried to use the liquorix-2.6.35-amd64 kernel with the same result. Am I doing something incorrectly?
Computer: DELL Inspiron m5010
4g ram
phenom 2 triple core
ATI Mobility Radeon HD 4250
I have been using linux primarily for a year or two.
View 14 Replies
View Related