Debian Configuration :: Grub2 And Copying Old Lenny Installation

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


ADVERTISEMENT

Debian Installation :: Lenny - Squeeze Grub2 - No More Boot

Feb 28, 2011

Whenever I reboot, I get GRUB and the _ pinking, and that's it. With rescue cd I can have chroot shell, to troubleshoot I did the upgrade-from-grub-legacy and installed it to both /dev/sda and /dev/sdb In recovery I redid the upgrade-grub and grub-install commands but still have the same "GRUB and _ blinking".

Because the text "GRUB" and then nothing I didn't enouncter while googling, I need to ask here for further troubleshooting.

View 10 Replies View Related

Debian Configuration :: Deluge Installation On Lenny?

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

Debian Configuration :: Strange - Running Php5 On Debian Lenny And Apache?

Jan 18, 2010

i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi

apt has enabled php automatically, so
/etc/apache2/mods-enabled/php5.conf does have inside:
<ifmodule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</ifmodule>

[Code]...

View 3 Replies View Related

Debian Configuration :: Save To Install Kernel 2.6.35.2 On Debian Lenny 5.0.5 Or Stick With Automatic Updates

Aug 20, 2010

is it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...

View 14 Replies View Related

Debian Configuration :: Adding Compex ReadyLink NIC To Debian Lenny?

Nov 4, 2010

I have added a 10 Mbps network card to my SGI O2 MIPS workstation running Debian Lenny running the 26-2 kernel. The workstation already has an onboard NIC which is working fine.(eth0).

lspci -v shows ths card as:-00:03.0 Ethernet controller: Compex ReadyLink 2000 (rev 0a) Flags: medium devsel, IRQ 18 I/O ports at 1800 [disabled] [size=32] Upon googling I found out that this card is an NE2000 clone. I downloaded the latest 2.6.36 kernel sources and did the following:-

1. Make Menuconfig
2. Loaded an alternate kernel config file (my working kernel config file)
3. In DeviceDrivers->Network device support->Ethernet (10 or 100 Mbit)

I selected ASIX AX88796 as the help associated with this showed it as an NE 2000 clone. configured it to be a module and did make, make_modules and make_install. Edited /etc/Modules to load ax88796 and added an alias eth1 ax88796 to this file. copied the new kernel to the /boot and did a reboot, the machine booted up fine and udev -r showed the 2.6.36 kernel and lsmod showed ax88796 loaded. But, Iam not able to bring up eth1 using:-

ifup eth1
The error messages given are:-
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device

[Code]...

View 1 Replies View Related

Debian Configuration :: Pxe Setup On Lenny

Feb 27, 2010

i am trying to get a pxe server working on a debian so other clients can boot off it. the problem has two parts.

1. getting the pxe working. so far the tftp part doesnt work. the client says tftp error. so i guess the dhcp portion is working, but theres something wrong with the /var/lib/tftpboot or the deamon config itself.
2. the other issue is that in the shop many system's have non-working disk drives. also many of them do not have a usb boot option in the bios. all i need to do is get the "bare" kernel file or grub(?) to boot over pxe and give me the ability to boot from a usb flash drive and load the rest of the linux files from there. my primary intention is NOT netinstall. although it wouldnt hurt. my intention is running a linux live usb on systems without bios usb boot support. ive read somewhere that a full pxe live boot requires nfs setup. i am asking for that, just so i can boot from a flash drive.

View 4 Replies View Related

Debian Configuration :: Lenny Will Not Boot With 2.6.30 Or .32

Mar 20, 2010

I have a lenny box:

Linux ulet 2.6.26-2-686-bigmem #1 SMP Tue Mar 9 18:01:52 UTC 2010 i686 GNU/Linux

In order to get a newer kernel that would recognize a linksys usb wifi adapter I got the advice to upgrade to a newer kernel - 2.6.30 or newer. Which I am able to get from backports.

But when I try with .30 or .32 my machine will not boot. I do have a raid, but it is only used for data files - I do not boot from it or have any system files on it.

First I get this error:

I have not resumed the machine so I have no idea what is going on. So I press ENTER:

View 14 Replies View Related

Debian Configuration :: Reinstall It As Per The The One On Lenny?

Apr 20, 2010

I managed to break my video4linux module rendering all my video devices useless, can anyone tell me how to reinstall it as per the the one on Lenny. I'm looking for the original one and not v4l2.

2.6.26-2-686 I have a presentation to do tonight and need it working for that.

View 3 Replies View Related

Debian Configuration :: Copying / Moving Root Filesystem To Another Partition?

Mar 4, 2010

My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?

View 8 Replies View Related

Debian Configuration :: Wlan Really Slow Under Lenny

Jan 10, 2010

i use a telekom s100 set-top-box, which originally had a prism54 wlan-card. but wlan was very slow. but the driver was working well and it did not seem to be a configuration issue, so i assumed that its that card which is so slow. following i purchased a atheros based wlan-card which is working perfectly well with the ath5k driver of my linux kernel (2.6.26-1-686). but the connection is pretty bad anyway. i get max 300kb/s from pc to pc. as its the same with 3 different cards i tested in the s100 i assume it is a configuration issue? or might there be chipset or mini-pci-slot limitation?

when i check the connection with iwconfig the bitrate is somewhere between 1-54mb/s, rising to 54mb/s and then falls back to 1mb/s, rising to 54mb/s again, falling down, its an infinite loop. im using wpa_supplicant for the connection, but i don't think thats the malefactor. well, you never know .. i tried to set the bitrate with iwconfig wlan0 rate 54M but that ended in a disconnection ...

[Code].....

View 3 Replies View Related

Debian Configuration :: Lenny Or Sid As A Domain Controller?

Feb 18, 2010

Can Debian act as a Windows Domain Controller? I'm just curious because my boss recently tossed out some old servers and I grabbed them. They're good machines but I can't afford to pay $1000 for Server 2003 R2 just to setup a domain at my place and run Endpoint Protection and such. I've never used a domain setup in Linux before so I thought I'd ask and possibly try to, if Debian/Linux is capable of such a thing.

View 6 Replies View Related

Debian Configuration :: Configure The Postgresql In Lenny?

Mar 3, 2010

I've been trying to configure Postgresql in Debian for some time now, in order to install a ERP program in my computer, but when trying to follow the tutorial for the program configuration I end up stalled. Basically its says this:

1) under su, start by finding the postgresql.conf file (it points the location of the file in /var/lib/postgres/data, but it isn't there) and find the line saying 'tcpip_socket' and changing it to "true"

After a little search and help, I found this file in /etc/postgresql/<version>/main/ but the mentioned line is absent, locate it or tell me where to add it in the file? I've read the file front to back and I'm pretty sure the line isn't there.This is, according to the tutorial, to enable the server to connect to a Java program through the JDBC.

2) after editing postgresql.conf, edit pg_hba.conf and add the following line to the end of the file: host all all 127.0.0.1 255.255.255.255 trust

I get stuck after this, because I'm now supposed to restart the server by using '/etc/init.d/postgresql restart', but bash replies that the path is invalid. The program I'm trying to install is hosted here: [URL]. It's a portuguese ERP program.

View 3 Replies View Related

Debian Configuration :: Xen On Lenny Making Etch Vms?

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

Debian Configuration :: Lenny Won't Boot All The Way Without Monitor

Apr 16, 2010

I've got Lenny installed with the desktop environment included. Remote desktop has been activated and I can see Lenny's desktop on a second computer using VNC. When I disconnect the monitor from the first PC which is running on Lenny and start that one up it won't boot all the way and I cannot connect through VNC (connection refused).

Etch has no problem with that. When I connect a monitor to the stalling Lenny I read: Failed to start the X server (your graphical interface). It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?

What can I do to establish a full boot on Lenny so I can use VNC the way Etch (and other distros) allows me to? This has something to do with the autodetect system, I suppose. Could I tell X Server to ignore the fact no monitor is connected or could I fool X Server into believing there is a monitor?

View 3 Replies View Related

Debian Configuration :: Where Does Lenny Keep Kernel Source?

Apr 30, 2010

I am using Lenny kernel version 2.6.26-2-686.I am trying to install some drivers and they need kernel source. I installed kernel source through Synaptic, but the driver installer doesn't find it at the place it expects.

1) Where does Lenny keep the kernel source?
2) Are the kernel sources from Debian and www.kernel.org the same?
3) If I want to download the kernel source manually, where do I get it from?

View 7 Replies View Related

Debian Configuration :: Lenny Cannot Survive Reboot

May 9, 2010

If I reboot my machine, the interface is down. How do I set the interface so it will start after I rebooted the machine?How do I do it in Debian?

View 3 Replies View Related

Debian Configuration :: Install A Package From Sid On Lenny?

May 11, 2010

however I am not looking to dist-upgrade, I merely want one package from Sid on my Lenny server. Namely, mantis (version 1.1.8 is in sid, 1.1.6 in main/stable)

View 2 Replies View Related

Debian Configuration :: Installing MySQL 5.1 In Lenny

May 17, 2010

I've been trying to install MySQL in Lenny via source binaries, following the instructions given on the MySQL official website[url]

But when i try to run the scripts/mysql_install_db --user=mysql command, doesn't work.

For the record, i'm particularly interested on installing MySQL with the generic source binaries.

View 1 Replies View Related

Debian Configuration :: No Sshd On Startup (lenny)?

May 30, 2010

I tried recompiling a new kernel yesterday (2.6.34) on my debian sarge box, but I ran into multiple difficulties. These difficulties forced me to do a double dist-upgrade to lenny. The new kernel was (seemingly) compiled without any hiccups, and I ran dpkg -i on both the image and the header debs. They didn't install properly into grub, but I think I managed to fix that manually.Next thing I did was rebooting the server. It refused to come back up. Luckily my ISP has recovery tools, so I managed to switch back to the old kernel. It boots just fine with that kernel, but the problem is that there is no ssh daemon running! I can access it through ftp and do limited jobs through php, but nothing big, as I have no root access.Now, enough backstory. My question is: How can I install openssh-server onto the server remotely? I cannot access the server personally, as the server is in a completely different country.

View 14 Replies View Related

Debian Configuration :: Enable The Sound In Lenny?

Jun 30, 2010

I'm using Debian Lenny, the only problem that I have is that the sound card isn't recognize by the system, I have installed ALSA 1.0.20 and I followed several tutorials trying to enable my sound card (ATI tech Azalia (Intel HDA)but all tries fail.

So, after install another distro -debian based- in the same pc I figured out that the sound card is enable and running by default, the ALSA version is the same -1.0.20- but the kernel is different -2.6.31.xx- so my questions are:

1. do you recommend me to upgrade my lenny's kernel to fix the problem?

2. is there a way to upgrade specific packages -for example samba, alsa, kernel- using unstable or testing versions instead of upgrade the entire distro? actually I'm confortable with lenny

3. what configuration should I check in the "other" distro to use that parameters in lenny?

View 14 Replies View Related

Debian Configuration :: GCC Not Working In Fresh Lenny

Aug 13, 2010

I just did a regular install of debian lenny on a stand-alone machine. Now I want to add some new mp3-software. Debian doesn't like it if I install as root. A regular gets other negative results:

wlff@debian:~/My_Apps/mpg321-0.2.12-1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for gawk... (cached) mawk
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
wlff@debian:~/My_Apps/mpg321-0.2.12-1$

I did find the GNU-compiler in /usr/lib/gcc. So what could be wrong with gcc, and what about gawk, cc and cl?

View 6 Replies View Related

Debian Configuration :: Disable IPV6 In Lenny?

Sep 25, 2010

Howto disable IPV6 in Lenny?

I added this line:alias ipv6 off in /etc/modprobe.d/aliases:# cat /etc/modprobe.d/aliases

# These are the standard aliases for devices and kernel drivers.
# This file does not need to be modified.
#
# Please file a bug against module-init-tools if a package needs a entry
# in this file.

[Code]....

alias ipv6 offbut howto check after restart if ipv6 was loaded or not?

View 7 Replies View Related

Debian Configuration :: Copying Video Setup From Ubuntu - External Monitor

Oct 15, 2015

My laptop has a dual boot Debian + Ubuntu installation.

In particular I am using Debian 8.0 with stock kernel 3.16.0-4 (or equally 4.1.10 custom compiled, I tested it and it does not make any difference for the subject of this post).

Ubuntu is 14.10, with stock kernel 3.19.0-15.

In both installations I have nvidia nouveau drivers and intel integrated graphics drivers installed and loaded. This is the default for both installations.

In both installations I have xorg automatically configured (no xorg.conf file present in /etc/X11). In both systems the content of /usr/share/X11/xorg.conf.d is the same for what moitors are concerned (differences in mice and trackpad entries).

Unfortunately, the video configuration in Ubuntu 14.10 works out of the box. In particular I can plug in an external monitor/projector and it will fire-up the nvidia card (nouveau drivers) to power that monitor.

Debian 8.0 on the other hand does not even detect the external monitor.

I don't know where to start to solve the problems.

The hardware is as follows: the laptop (lenovo W530) features both an Intel integrated graphics card and an Nvidia K1000M. The VGA port is connected only to the Nvidia card (this is according to my online research, as I don't know how to check this).

View 1 Replies View Related

Debian Configuration :: Error Copying From Jessie To Share Folder In Win7

Mar 24, 2016

This my scenery:

1 pc windows 7.
1 pc linux debian jessie.

From jessie, mount a share folder in windows 7, in this way: mount -t cifs //windows7/sharefolder /mnt/windows7 -o user=pychi,password=mypass,uid=pychi,gid=pychi

And work fine, the user pychi and root, copy to windows share folder perfect and fast, but the big problem is:

when i copy a big folder, example 40 gb, after 30% or similar, stop the copy, and this is a list of different errors:

- It's not possible change file proprietary on destiny.
- not enough space
- can't fix attributes, date, time, proprietary, group.

View 0 Replies View Related

Debian Configuration :: Missing Dependency For Headers-2.6.29 On Lenny?

Jan 13, 2010

Here's my problem: I'm running a Lenny laptop and I need both wifi and virtualbox to work. I had to do a kernel upgrade to run the wifi. It works with either the 2.6.29 or 2.6.30 kernels, but with 2.6.30 I'm having screen brightness issues that I can't seem to get rid of. So I want to run 2.6.29, but virtualbox is a bit of a problem because it requires linux-headers-2.6.29, but when I try to install the amd64 headers it tells me that it cannot install the dependency linux-kbuild-2.6.29. Is there any way I can get that dependency installed on my computer?

View 14 Replies View Related

Debian Configuration :: Cannot Mount Drive After Upgrade To Lenny

Jan 17, 2010

Basically, I have no trouble booting off a really old kernel like 2.6.18-6. If I try to boot off the newest one installed with Lenny, I get errors such as "mounting /dev/ on /root/dev failed...ditto for /sys on /root/sys" almost as if it's failing to find the drive. This finishes up with "target filesystem doesn't have /sbin/init" and I'm dropped into a busybox shell.It's an ordinary SATA drive, which is being used as an OS drive only. It seems as if something has changed with the newer kernel, but I have no idea where to start or what to look for.

View 3 Replies View Related

Debian Configuration :: Setup A Print Sever With Lenny?

Jan 19, 2010

I'm trying to find good instructions to help me set up a print server with a usb printer on a Lenny box with no GUI. The printer is a Brother HL-2170W. Can anyone point me in the right direction?

View 2 Replies View Related

Debian Configuration :: Unabling Eth1 In Lenny W/ Gnome?

Apr 26, 2010

I (and those who kindly helped) went through hell building the driver for mi wireless, but apparently that's over now. The reason I know that is that when I go to System-->Administration-->Network, I can see the interfaces that are detected: Wired Connection, which I enabled by setting the automatic dhcp option, and Wireless Connection, which is not activated. When I double click in Wireless Connection, a window opens with an unchecked box saying "Enable this connection" so I check the box and the previously greyed options become subject for editing. I have two setting I can configure: Wireless Setting, which have Network Name, password type and Network password Connection Settings, which has Configuration, IP Adress, Subnet mask and Gateaway Adress.

Since I'm hopping to get wireless working to a point which i can automatically connect to wireless whose passwords I know or that are open (like un public spaces) I think the best option to choose in Connection Settings-->Configuration is Automatic Configuration (DHCP). When I choose that, all other options under Connections Settings become grayed.

In Wireless Settings-->Password type, the default choice was WPA Personal. Network Name and network password are blank. The problem is that, as it is, the "OK" button of the Network window is grayed out, so the only option is to Cancel, in which case the Wireless Network remains dissabled. I noticed that if I write something (anything) in the field of Network Name (ESSID) the OK button can be selected, but I don't know what should I write in that space. How do I know which name is appropiate? Does it matter? Can I choose whatever name I want?

[Code]...

View 14 Replies View Related

Debian Configuration :: UK Lenny Repositories Address Needed?

May 13, 2010

My sources list for updates is a bit wonky as in needs the correct uk repositories listed, for Lenny main, could someone point me to where I can find the uk repositories so I can enter then in the software sources option from the menu?

View 2 Replies View Related







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