Re: Maintaining package modifications in a systemic way

2015-10-25 Thread Ondřej Grover
Thank you Teemu, this is very close to what I wanted. And if I'm not mistaken, the dpkg log will inform me about packages installing diversions, so I will notice when some new package wants to install a new version and compare them. However, I will have to remember that the diversion was made by m

Installer partitioning problem (was: System Dorked -- Help! (Interim solution!))

2015-10-25 Thread Martin Str|mberg
In article Gene Heskett wrote: > The worst part of that is that the partitioner will not accept a 1 > gigabyte partition, which is a great plenty, so I was forced to use 5% > of the disk as a boot partition. I don't understand why you can't. I can create (and did) partitions of 200 MB size. I

Re: installing/using grub-legacy

2015-10-25 Thread Martin Str|mberg
In article Curt wrote: > https://wiki.debian.org/Grub It seems that page is somewhat outdated/broken: 1. If I follow the "grub2 variants" link below "Up to Debian Lenny" I get "Error two or more packages specified (grub2 lenny)" 2. If I follow the "GRUB 2 variants" link below "Debian Sque

Re: How to Resize Partition on LVM

2015-10-25 Thread Mario Castelán Castro
According to "man lvm", to add a physical volume to a volume group, the right command is "vgextend" (the name is because you make a volume group (VG) larger by adding more storage space for it, in a new physical volume). To create a new volume group, the command is "vgcreate". But if you want t

Re: How to Resize Partition on LVM

2015-10-25 Thread ray
Mario, Thank you for the review. Yes, there is free space in the LVM. I have gone through the manual many times (today and the last several months) and don't see a method to add a pv or vg. It seems to add a pv, it needs a device. And to add a vg, it needs a pv. How can I add either? Disp

Re: Lost LVM data - lost logical volume

2015-10-25 Thread David Christensen
On 10/23/2015 03:56 AM, Anton Bizzarri wrote: On Thu, Oct 22, 2015 at 9:55 PM, David Christensen < dpchr...@holgerdanske.com> wrote: You *do* have a back up of your data, right? No. There is no backup. Is the data lost because it was a striped volume.? Its not my server and I never worked on it

Re: installing/using grub-legacy

2015-10-25 Thread David Wright
Quoting Lisi Reisz (lisi.re...@gmail.com): > On Sunday 25 October 2015 10:43:27 Curt wrote: > > On 2015-10-24, Lisi Reisz wrote: > > > On Saturday 24 October 2015 20:45:25 Brian wrote: > > >> On Sat 24 Oct 2015 at 11:52:41 +0100, Lisi Reisz wrote: > > >> > On Saturday 24 October 2015 10:13:51 Thom

Re: installing/using grub-legacy

2015-10-25 Thread Lisi Reisz
On Sunday 25 October 2015 10:43:27 Curt wrote: > On 2015-10-24, Lisi Reisz wrote: > > On Saturday 24 October 2015 20:45:25 Brian wrote: > >> On Sat 24 Oct 2015 at 11:52:41 +0100, Lisi Reisz wrote: > >> > On Saturday 24 October 2015 10:13:51 Thomas Schmitt wrote: > >> > > The name "GRUB1" seems to

Re: How to Rezize Partition on LVM

2015-10-25 Thread Mario Castelán Castro
El 25/10/15 a las 13:03, ray escribió: Now that the /home logical volume has been reduced, I would like to add a partition in the remaining space or reduce the LV's size to fee the unused space and create a new logical volume. Since the existing LV totally occupies the SSD, I don't see how to

Re: Unable to read data from RAID partition

2015-10-25 Thread houghi
On Sun, Oct 25, 2015 at 09:56:29PM +0300, Reco wrote: > Hi. > > On Sun, 25 Oct 2015 19:16:30 +0100 > houghi wrote: > > > root@penne : mount /dev/md124 /mnt/3 > > mount: unknown filesystem type 'drbd' > > This seems to be the key to the problem. It seems that they don't use > simple RAID1

Re: How to Rezize Partition on LVM

2015-10-25 Thread ray
Now that the /home logical volume has been reduced, I would like to add a partition in the remaining space or reduce the LV's size to fee the unused space and create a new logical volume. Since the existing LV totally occupies the SSD, I don't see how to do this. I would appreciate any suggesti

Re: How to Rezize Partition on LVM

2015-10-25 Thread ray
On Sunday, October 25, 2015 at 10:00:08 AM UTC-5, Pascal Hambourg wrote: > (...) > I thought that logging as root was prohibited by GUI display managers. That is what I have read. But I tried it anyway and found it to work. > (...) > I hope you reran the resize2fs command successfully before doin

Re: Unable to read data from RAID partition

2015-10-25 Thread Pascal Hambourg
houghi a écrit : > > root@penne : cat /proc/mdstat > Personalities : [raid1] > md124 : active raid1 sdc3[0] > 1455183616 blocks super 1.0 [1/1] [U] > > unused devices: > > > The raid1 device is /dev/md124 > > root@penne : mdadm --detail /dev/md124 > /dev/md124: > Ver

Re: Unable to read data from RAID partition

2015-10-25 Thread Reco
Hi. On Sun, 25 Oct 2015 19:16:30 +0100 houghi wrote: > root@penne : mount /dev/md124 /mnt/3 > mount: unknown filesystem type 'drbd' This seems to be the key to the problem. It seems that they don't use simple RAID1 based on mdadm in QNAP NAS. They use DRBD (Distributed Replicated Block

Unable to read data from RAID partition

2015-10-25 Thread houghi
If I have not given enough information or if another place is better to ask, please let me know. I have a QNAP NAS and I have replaced one drive because I thought I would just plug in the HD in my machine, boot it and mount the device. I have done so in the past, but now it does not seem to work

Re: systemd gpsd does not start on boot

2015-10-25 Thread Michael Biebl
Am 25.10.2015 um 12:59 schrieb Philippe Clérié: > On 10/23/2015 05:33 PM, Philippe Clérié wrote: >> I'm running raspbian jessy on a rpi2 with an Adafruit GPS board. Gpsd >> refuses to load on boot, but works just fine on manual start. >> >> I am not yet familiar with systemd. Even if I've had to di

Re: bootloader customization (was: System Dorked -- Help...)

2015-10-25 Thread Felix Miata
David Baron composed on 2015-10-25 14:53 (UTC+0200): > I started with wheezy 64 bit install and grub2. Did not have any clue how it > worked but it did. > When upgraded to Sid, added a kernel and wanted to keep the older on around > just-in-case, I > had no idea how to do this with Grub2 so I

Rsnapshot /var/run PID

2015-10-25 Thread Simon
Hi All, Using Debian 8 and I'd like to run rsnapshot as a regular (non-root) user but it doesn't have permissions to drop the pid file in /var/run. I created a directory called rsnapshot in /var/run with the appropriate permissions which, I thought, fixed the problem. Unfortunately, I now re

Re: any mirror/site where I can download Emacs snapshots?

2015-10-25 Thread Mario Castelán Castro
El 25/10/15 a las 08:30, Sivaram Neelakantan escribió: I'm running debian test and I'd like to use the latest Emacs snapshots if anyone has built them at all. Is there a canonical website where I can get deb packages of the same, please? Else I'll have to build from scratch I guess. There is

Re: System Dorked -- Help! (Interim solution!)

2015-10-25 Thread Gene Heskett
On Sunday 25 October 2015 08:53:00 David Baron wrote: > On Sunday 25 October 2015 08:19:41 Gene Heskett wrote: > > On Sunday 25 October 2015 06:57:06 David Baron wrote: > > > Using the live disk, went back to the old (failing!) 80gig disk, > > > edited back to where I was, bound the /dev and chroo

Re: System Dorked -- Help! (Interim solution!)

2015-10-25 Thread Felix Miata
David Baron composed on 2015-10-25 17:29 (UTC+0200): > after the last adventure, what can I do? Partition in advance of starting any installer. It's your machine. You get to have it your way if you take the trouble to make it so. There's no good excuse to get stuck with illogical partition alloca

Re: System Dorked -- Help! (Interim solution!)

2015-10-25 Thread David Baron
> * * * > > How do I make custom boot menus, kernel, init choices and such using the > > Grub? > > Heh. For just updating the kernel, it's automatic in Wheezy and > beyond. but for other purposes, it's a real riot. You might want to > stay with lilo for the time being. > > But you do want to look

Re: any mirror/site where I can download Emacs snapshots?

2015-10-25 Thread Zorian M
checkinstall would be a good idea if you want to be able to remove/upgrade the program. https://wiki.debian.org/CheckInstall On 10/25/15, Teemu Likonen wrote: > Sivaram Neelakantan [2015-10-25 20:00:35+05:30] wrote: > >> Else I'll have to build from scratch I guess. > > That's a good choice and

Re: System Dorked -- Help! (Interim solution!)

2015-10-25 Thread Joel Rees
On Sun, Oct 25, 2015 at 9:53 PM, David Baron wrote: > On Sunday 25 October 2015 08:19:41 Gene Heskett wrote: > >> On Sunday 25 October 2015 06:57:06 David Baron wrote: > >> > Using the live disk, went back to the old (failing!) 80gig disk, > >> > edited back to where I was, bound the /dev and chro

Re: any mirror/site where I can download Emacs snapshots?

2015-10-25 Thread Teemu Likonen
Sivaram Neelakantan [2015-10-25 20:00:35+05:30] wrote: > Else I'll have to build from scratch I guess. That's a good choice and nothing to be afraid of. In Debian 8 it would go like this: sudo apt-get install git build-essential libgtk2.0-dev \ libgnutls28-dev libfontconfig1-dev lib

Re: How to Rezize Partition on LVM

2015-10-25 Thread Pascal Hambourg
ray a écrit : > I would like to than everyone for the input. Here is how it was completed: > > Boot into GUI mycomp as root I thought that logging as root was prohibited by GUI display managers. > # df -h > FilesystemSize Used Avail Use% Mounted on (...) > /dev/mapper/mycom

any mirror/site where I can download Emacs snapshots?

2015-10-25 Thread Sivaram Neelakantan
I'm running debian test and I'd like to use the latest Emacs snapshots if anyone has built them at all. Is there a canonical website where I can get deb packages of the same, please? Else I'll have to build from scratch I guess. sivaram --

Re: How to Rezize Partition on LVM

2015-10-25 Thread ray
I would like to than everyone for the input. Here is how it was completed: Boot into GUI mycomp as root # df -h FilesystemSize Used Avail Use% Mounted on /dev/dm-0 8.2G 2.9G 4.9G 38% / udev 10M 0 10M 0% /dev tmpfs

Re: System Dorked -- Help! (Interim solution!)

2015-10-25 Thread David Baron
On Sunday 25 October 2015 08:19:41 Gene Heskett wrote: > On Sunday 25 October 2015 06:57:06 David Baron wrote: > > Using the live disk, went back to the old (failing!) 80gig disk, > > edited back to where I was, bound the /dev and chroot and mounted what > > I needed. > > update-initramfs and lilo

Re: System Dorked -- Help! (Interim solution!)

2015-10-25 Thread Joel Rees
On Sun, Oct 25, 2015 at 7:57 PM, David Baron wrote: > Using the live disk, went back to the old (failing!) 80gig disk, edited back > to where I was, bound the /dev and chroot and mounted what I needed. > > update-initramfs and lilo worked without any segfault. Up until here, I'm sort-of following

Re: System Dorked -- Help! (Interim solution!)

2015-10-25 Thread Gene Heskett
On Sunday 25 October 2015 06:57:06 David Baron wrote: > Using the live disk, went back to the old (failing!) 80gig disk, > edited back to where I was, bound the /dev and chroot and mounted what > I needed. > update-initramfs and lilo worked without any segfault. > > So back up. Time to buy another

Re: systemd gpsd does not start on boot

2015-10-25 Thread Philippe Clérié
On 10/23/2015 05:33 PM, Philippe Clérié wrote: I'm running raspbian jessy on a rpi2 with an Adafruit GPS board. Gpsd refuses to load on boot, but works just fine on manual start. I am not yet familiar with systemd. Even if I've had to dig a bit to try to understand how it works I'm still stumped

Re: System Dorked -- Help! (Interim solution!)

2015-10-25 Thread David Baron
Using the live disk, went back to the old (failing!) 80gig disk, edited back to where I was, bound the /dev and chroot and mounted what I needed. update-initramfs and lilo worked without any segfault. So back up. Time to buy another big disk and move stuff or reinstall with Jesse. Trouble is th

Re: installing/using grub-legacy

2015-10-25 Thread Curt
On 2015-10-24, Lisi Reisz wrote: > On Saturday 24 October 2015 20:45:25 Brian wrote: >> On Sat 24 Oct 2015 at 11:52:41 +0100, Lisi Reisz wrote: >> > On Saturday 24 October 2015 10:13:51 Thomas Schmitt wrote: >> > > The name "GRUB1" seems to be an invention of users discussing >> > > the difference

Re: /bin/sh: 1: lpr: not found on jessie amd64

2015-10-25 Thread Brian
On Sun 25 Oct 2015 at 04:29:14 +, Juan R. de Silva wrote: > > The packages cups-bsd, lpr, and lprng all have lpr. Try installing them > > and removing them in turn, and see which works. > > Installation of cups-bsd did the trick. So it should. For all practical purposes the lp and lpr comman

Re: System Dorked -- Help!

2015-10-25 Thread Thomas Schmitt
Hi, > Tried appending "single" to other commands. Is this LILO related ? (Or what other commands, exactly ?) It is not easy to imagine what you see and try. > Took my root password which implies my users and > passwords are intact! The recognition of user and password relies on a very small p

Re: Maintaining package modifications in a systemic way

2015-10-25 Thread Teemu Likonen
Ondřej Grover [2015-10-25 08:47:23+01] wrote: > I often come across a situation where I need to apply a few simple > patches to a script in /usr/bin or so. Simply changing the script > works, but it will be overridden on any new upgrade. > I look forward to your recommendations on how to manage l

Maintaining package modifications in a systemic way

2015-10-25 Thread Ondřej Grover
Hello, I often come across a situation where I need to apply a few simple patches to a script in /usr/bin or so. Simply changing the script works, but it will be overridden on any new upgrade. I'm looking for the recommended way to do something like this. AFAIK Debian does not have something like

Re: /bin/sh: 1: lpr: not found on jessie amd64

2015-10-25 Thread Alex Mestiashvili
On 10/25/2015 05:29 AM, Juan R. de Silva wrote: >> The packages cups-bsd, lpr, and lprng all have lpr. Try installing them >> and removing them in turn, and see which works. > Installation of cups-bsd did the trick. > > BTW, I tried installing lpr before and it did not help. > > This is weird, sin