Re: Any reason not to run amd64 these days?

2014-02-05 Thread Chris Bannister
On Wed, Feb 05, 2014 at 11:20:12AM +0100, Raffaele Morelli wrote:
> 2014-02-05 Andrei POPESCU :
> 
> > On Du, 02 feb 14, 13:58:54, Rick Macdonald wrote:
> > >
> > >
> > > What about running 32 bit windows and apps in wine or VMWare?
> >
> > I've had issues with *sid* amd64 and skype. Would apreciate comments on
> > this from others as I plan to test a cross-grade Real Soon Now (tm).
> >
> 
> jessie amd64 here, no issues with skype though I must use a loopback device
> (alsa+jack bridge) for audio to work correctly.

That seems like an issue to me. 

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140206074244.GA13964@tal



Re: Difference between apt and apt-get

2014-02-05 Thread Scott Ferguson
On 06/02/14 16:43, Muntasim-Ul-Haque wrote:
> Hi,
> I want to know what is the basic difference between *apt*, as in /apt
> update/ and *apt-get*, as in /apt-get update/.
> Thanks,
> Muntasim-Ul-Haque


>From the man pages:-

APT is a *management system* for software packages. For normal day to
day package management there are several frontends available, such as
aptitude(8) for the command line or  synaptic(8) for the X Window
System. Some options are only implemented in apt-get(8) though.

apt-get is the *command-line tool* for handling packages, and may be
considered the user's "back-end" to other tools using the APT library.


Kind regards




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52f32b04.4040...@gmail.com



Difference between apt and apt-get

2014-02-05 Thread Muntasim-Ul-Haque

Hi,
I want to know what is the basic difference between *apt*, as in /apt 
update/ and *apt-get*, as in /apt-get update/.

Thanks,
Muntasim-Ul-Haque


Re: PXE install, without internet?

2014-02-05 Thread Scott Ferguson
On 06/02/14 14:54, Anubhav Yadav wrote:
>> Please post:-
>> /etc/dhcpd.conf
>> /etc/default/dhcp3-server
> 
> Like I said, these files are not there on my box!
> 


Sorry, I haven't been monitoring the list.

(I don't currently have access to a pxe server, so you'll need to check
my memory). Try:-
/etc/dhcp/dhcpd.conf

ensure "authoritative;" and "ddns-update-style none;" are un-commented
(if you haven't done so already)

# grep dhcp /var/log/syslog | tail -n 32


To see current leases and compare against configured number of leases
(lease address range) in order to determine how many free addresses are
available, consult:-
/var/lib/dhcp/dhcpd.leases


> Also just wanted to say that the guys at our college has something called
> cyberoam filter, which also acts as a dhcp server, but now the dhcp
> server is disabled.

I assume you mean the dhcp server on the cyberoam device has been disabled..
. and yes, more than one dhcp server on the LAN can cause problems. If
you the cyberoam device is the LAN DNS server I'm not sure what the best
solution would be (Cyberoam is non-user user-friendly, otherwise not so
much).
Temporarily isolate the LAN segment you are working with from the DNS
server?

Perhaps the administrators will add a directive for the pxe server and
tftp server. From what limitations I recall of the web interface they'd
need to use a serial console and edit dhcpd.conf (based on what you
already have on your DNS) to add:-
next-server "yourTftpServer"
file name "pxelinux.0"

I'm not certain about how you'd modify dnsmasq on it.


I'd also try starting an install with just two boxes, one that
previously failed and one that previously succeeded - starting the
previously failed one first.



> For starters I installed the server packages from this guide.
> http://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3
> 
> And the dns and tftp configurations was done using this guide.
> http://www.howtoforge.com/setting-up-a-pxe-install-server-for-multiple-linux-distributions-on-debian-lenny
> 
> And finally placed the tftp boot files in the directory as specified
> in the official debian guide.
> https://wiki.debian.org/PXEBootInstall#Set_up_TFTP_server

The last reference looks good, and refers to the following.

This is a good guide:-
https://www.debian.org/releases/stable/i386/ch04s05.html.en


Kind regards.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52f31151.7010...@gmail.com



Re: PXE install, without internet?

2014-02-05 Thread Anubhav Yadav
> Please post:-
> /etc/dhcpd.conf
> /etc/default/dhcp3-server

Like I said, these files are not there on my box!
-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+jf9ahhoo6ss0eufxt7fbmggzyan_wgvlk-fee5qrdabif...@mail.gmail.com



Re: Any reason not to run amd64 these days?

2014-02-05 Thread Stephen Powell
On Wed, 05 Feb 2014 07:13:20 -0500 (EST), berenger morel wrote:
> Stephen Powell wrote:
>>
>> I've had nothing but trouble with my first amd64 system.  The 3.12 
>> kernel
>> of jessie won't even boot for me.  But my experience appears to be
>> atypical.  The general public isn't having such problems, it seems.
>
> Simply curious, what kind of error message did you had? ( if you 
> remember, of course )

Paging errors.  The kernel is fine until the first time it needs to
page.  The 3.11 kernel doesn't page until it needs to.  The 3.12 kernel
seems to page at least once during boot, just to see if it can.  It
can't.  That causes it to crash before I can login.  I used to think
that an only partially successful microcode upgrade was responsible
for the failure, but I've since been able to create a paging error
on a processor for which the microcode upgrade was apparently successful.
(I'm talking about an on-the-fly upgrade from amd64-microcode, not a
BIOS flash.)

So I'm back to square one.  The processor is a true AMD, not an Intel.
I don't know if that has anything to do with it or not, but my guess is
that it does.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/555377945.816321.1391656504624.javamail.r...@md01.wow.synacor.com



Re: Any reason not to run amd64 these days?

2014-02-05 Thread Zenaan Harkness
On 2/6/14, Paul Cartwright  wrote:
> On 02/05/2014 07:13 AM, berenger.mo...@neutralite.org wrote:
>>> I've had nothing but trouble with my first amd64 system.  The 3.12
>>> kernel
>>> of jessie won't even boot for me.  But my experience appears to be
>>> atypical.  The general public isn't having such problems, it seems.

>> Simply curious, what kind of error message did you had? ( if you
>> remember, of course )

> I tried to do an upgrade from wheezy to jessie a few weeks ago. Once I
> was done with the updates & rebooted, all I got was a black screen, I
> couldn't even get to a terminal window, the PC was frozen. Ended up
> restoring wheezy.. on my Dell desktop AMD_64.

The current sid linux-image-3.12-1-rt-amd64 kernel hangs for me, too
early even for netconsole. I filed the following bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736682


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOsGNSQxTjZjOOKhBJtAvmYHasj+7xAJe_n2f_DT=4ufhf-...@mail.gmail.com



Re: Disk partitioning/encryption wizard

2014-02-05 Thread David Christensen

On 02/05/2014 01:23 PM, Tino Sino wrote:

Can I invoke the CLI disk partitioning/encryption wizard I used to
install the OS to configure a new external USB drive? How?


I use the cryptsetup(8) program from the command line.  Here's a HOWTO:


http://www.cyberciti.biz/hardware/howto-linux-hard-disk-encryption-with-luks-cryptsetup-command/


For a large data drive, I typically skip the "dd if=/dev/zero of=..." step.


David


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52f2dc1c.7010...@holgerdanske.com



Re: Handbrake crashing

2014-02-05 Thread Brad Alexander
Thanks

On Wed, Feb 5, 2014 at 7:42 AM,  wrote:

> You said that you had no message, even when started in a terminal? Not
> even "segmentation fault"? That's strange and nobody but the author could
> help you at this point I guess.
>

That is correct. Not so much as a "by your leave." :) Nothing in syslog,
daemon.log, debug, nothing.


> But anyway, you could find more informations by trying to install the dbg
> package, and to give gdb some work. It could work.
> Do a check about official dependencies, and verify that they are
> installed, too. Sometimes Debian's maintainers forgot some (I had the
> situation sometimes in the past, but in that case you should have a message
> when you run it from console, except if dev have redirected the output
> somewhere in the void. Already seen that, too.).
> You could also try to not use the experimental package ( you're running
> sid, but this tool seems to be present in testing too. ) for the tool
> itself and/or it's dependencies.
>

I have found the problem. It appears it is not handbrake, but rather it is
libdvdnav4. In the upgrade from 4.2.0 to 4.2.1, some symbols were removed,
specifically, dvdnav_dup and dvdnav_free_dup. It is listed in bug
735760.
I downgraded libdvdnav4:amd64 from 4.2.1-2 to 4.2.0+20130225-4, and it
works with the current version of handbrake.

--b


Build binary package from debian sources.New format 3.Errors.

2014-02-05 Thread Luis Suzuki
When I needed to build a package from debian sources I used to:
bzcat ../debianpackage.diff.gz | patch -p1 from within the original source.Then:
debuild.And everything went smoothly.

Now I do (and does not work):

>From within the original package sources directory tree:

tar xfz ../debianpackage.debian.tar.gz (the patch tree)

A debian directory appears within the original sources top level directory
and I do:

debuild or
dpkg-buildpackage -us -uc

And does not work.What am I doing wrong?




  

Re: Advice sought for Squeeze to Wheezy upgrade

2014-02-05 Thread Joe
On Wed, 05 Feb 2014 16:20:48 +0100
JK4  wrote:

>  
> 
> Hi everybody, 
> 
>  I would like to upgrade from Squeeze to Wheezy, and I'd read this
> should be easy... Mine is an email ( postfix dovecot.
>  ) and apache server with mysql from DotDeb. 
> 
> Why should I upgrade? My only reason for upgrading is for OpenSSL
> version 1, if I were to be honest. 

Also, Squeeze will lose security support in another few months.

> 
> I would like to ensure that when I do an "apt-get upgrade and then
> apt-get dist-upgrade after changing my sources.lst from squeeze to
> wheezy, I don't end up with a broken server! perhaps I should pin my
> dotdeb packages for mysql in case this breaks. 
> 
> I was wondering if somebody could offer me some advice on this? I 've
> included my current sources.lst if it' s useful. 

As someone else posted, read the release notes for Wheezy, there is a
large section devoted to upgrading from Squeeze. Most of the important
stuff is clearing any held packages, and fixing broken ones, so you have
a standard Squeeze installation to start from. You also need to make
separate provision for any software not installed using the apt tools
e.g. from source, or using a proprietary installer.

Always do a full OS backup before upgrading. It's easy enough to backup
the MySQL data separately, and restore it to another installation if
necessary. Probably also take a separate backup of /var/www, and /etc,
just in case of problems arising from Murphy's Law. If you're running a
production server, you probably know the data and configuration
information you would need if you have to rebuild onto a clean OS
installation.

I use Apache and MySQL, and there were no upgrade issues at all, but I
use the standard Debian repository. If you are using different software
from the Squeeze versions then you'll need to check the dependencies
and confirm that Wheezy fulfils them. I use exim4, Courier and
Sqirrelmail for email, so I can't advise there.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140205230705.78ad8...@jretrading.com



Re: upgrade problem

2014-02-05 Thread PaulNM


On 02/05/2014 04:16 PM, Roelof Wobben wrote:
> When I did today apt-get dist-upgrade it fails with this message : 
> 
> Preconfiguring packages ...
> (Reading database ... 146026 files and directories currently installed.)
> Preparing to unpack .../linux-image-3.12-1-amd64_3.12.9-1_amd64.deb ...
> Unpacking linux-image-3.12-1-amd64 (3.12.9-1) over (3.12.6-2) ...
> dpkg: error processing archive 
> /var/cache/apt/archives/linux-image-3.12-1-amd64_3.12.9-1_amd64.deb 
> (--unpack):
>  cannot copy extracted data for 
> './lib/modules/3.12-1-amd64/kernel/net/l2tp/l2tp_ip6.ko' to 
> '/lib/modules/3.12-1-amd64/kernel/net/l2tp/l2tp_ip6.ko.dpkg-new': failed to 
> write (No space left on device)
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Errors were encountered while processing:
>  /var/cache/apt/archives/linux-image-3.12-1-amd64_3.12.9-1_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> but df -i schows there is enough room : 
> 
> Bestandssysteem I-nodes  IGebr   IVrij IGeb% Aangekoppeld op
> /dev/sda1 85344   7496   778489% /
> udev 505442497  5049451% /dev
> tmpfs507394562  5068321% /run
> tmpfs507394  1  5073931% /run/lock
> tmpfs507394  9  5073851% /run/shm
> /dev/sda9   3727360  13188 37141721% /home
> /dev/sda8 97536 23   975131% /tmp
> /dev/sda5549440 143994  405446   27% /usr
> /dev/sda6183264   9332  1739326% /var
> none 507394  2  5073921% /sys/fs/cgroup
> 
> 
> Roelof  
> 

What about df -h (or just plain df if you prefer)? It's entirely
possible to fill up a drive an still have inodes left.

- PaulNM


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52f2aeb3.7060...@paulscrap.com



Disk partitioning/encryption wizard

2014-02-05 Thread Tino Sino
Can I invoke the CLI disk partitioning/encryption wizard I used to 
install the OS to configure a new external USB drive? How?



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52f2abd8.3010...@gmail.com



upgrade problem

2014-02-05 Thread Roelof Wobben
When I did today apt-get dist-upgrade it fails with this message : 

Preconfiguring packages ...
(Reading database ... 146026 files and directories currently installed.)
Preparing to unpack .../linux-image-3.12-1-amd64_3.12.9-1_amd64.deb ...
Unpacking linux-image-3.12-1-amd64 (3.12.9-1) over (3.12.6-2) ...
dpkg: error processing archive 
/var/cache/apt/archives/linux-image-3.12-1-amd64_3.12.9-1_amd64.deb (--unpack):
 cannot copy extracted data for 
'./lib/modules/3.12-1-amd64/kernel/net/l2tp/l2tp_ip6.ko' to 
'/lib/modules/3.12-1-amd64/kernel/net/l2tp/l2tp_ip6.ko.dpkg-new': failed to 
write (No space left on device)
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-3.12-1-amd64_3.12.9-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


but df -i schows there is enough room : 

Bestandssysteem I-nodes  IGebr   IVrij IGeb% Aangekoppeld op
/dev/sda1 85344   7496   77848    9% /
udev 505442    497  504945    1% /dev
tmpfs    507394    562  506832    1% /run
tmpfs    507394  1  507393    1% /run/lock
tmpfs    507394  9  507385    1% /run/shm
/dev/sda9   3727360  13188 3714172    1% /home
/dev/sda8 97536 23   97513    1% /tmp
/dev/sda5    549440 143994  405446   27% /usr
/dev/sda6    183264   9332  173932    6% /var
none 507394  2  507392    1% /sys/fs/cgroup


Roelof

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/dub121-w184eaa63d5cb4d72a1de0bae...@phx.gbl



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Paul Cartwright
On 02/05/2014 03:00 PM, David Christensen wrote:
> I liked Gnome 2 on Debian 5 and 6.  When I upgraded to Debian 7, I
> disliked Gnome 3.  So, I settled for Xfce.  Since then, I've
> discovered MATE --  a fork of Gnome 2 with packages available for
> Debian (and others):
>
> http://mate-desktop.org/
>
>
> I recently wiped and rebuilt a desktop machine using Wheezy,
> de-selected "Graphical desktop environment" during installation, and
> then installed MATE and lightdm afterwards.  Very nice.  :-)
>
+1
I wish I would have done what you did. I basically just installed
wheezy, then added Mate & lightdm. I love it!

-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52f29b59.40...@gmail.com



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread David Christensen

On 02/04/2014 11:16 PM, Anubhav Yadav wrote:

... when my computer boots up, it takes like 25 seconds more
to get started after entering the username and password. That is 25 seconds
of more wait after logging in.


That's a symptom of misconfigured and/or conflicting software packages.


Another possibility is insufficient memory.


Another is a dying hard drive.  Have you downloaded/ burned/ run the 
manufacturer diagnostics for your hard drive yet?




If I messed up my system and want to restore back to a clean state, I can keep
my /home intact? And maybe preserve the data?


That's one reason for multiple partitions and/or drives.



Not everybody has access to portable HDDs for backup, do they?


If all you have is one laptop with one hard drive, major system 
administration tasks are going to be a challenge.  It's much easier if 
you have additional places to put backup data -- external hard drives, 
USB flash drives, cloud drives, whatever.  (You should also burn your 
data to optical and archive the disks off-site periodically.)  A second 
computer makes system administration easier.  So do hard drive bays and 
caddies.  So does a cache of old/ extra/ salvaged parts.  Etc..



David


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52f2980d.9090...@holgerdanske.com



Re: Advice sought for Squeeze to Wheezy upgrade

2014-02-05 Thread Brian
On Wed 05 Feb 2014 at 20:33:50 +0100, J4K wrote:

> Hi Brian, thanks for your reply, and I have been looking into
> converting my dovecot configs for at least a week.

I got caught out by dovecot; it was easy enough to fix, With mysql (if
it gives you problems) I don't know; it might be a case of trying it out
and seeing.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/05022014194849.867f1ac03...@desktop.copernicus.demon.co.uk



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread David Christensen

On 02/05/2014 12:43 AM, Anubhav Yadav wrote:

It's GDM. I haven't tried any other on this laptop, I can install
lightDM. But then after formatting
I am going to ditch gnome and switch to awesome.


I liked Gnome 2 on Debian 5 and 6.  When I upgraded to Debian 7, I 
disliked Gnome 3.  So, I settled for Xfce.  Since then, I've discovered 
MATE --  a fork of Gnome 2 with packages available for Debian (and others):


http://mate-desktop.org/


I recently wiped and rebuilt a desktop machine using Wheezy, de-selected 
"Graphical desktop environment" during installation, and then installed 
MATE and lightdm afterwards.  Very nice.  :-)



David


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52f29850.6010...@holgerdanske.com



Re: Advice sought for Squeeze to Wheezy upgrade

2014-02-05 Thread J4K
Hi Brian, thanks for your reply, and I have been looking into converting my 
dovecot configs for at least a week.

Thanks, jk

On February 5, 2014 8:17:10 PM CET, Brian  wrote:
>On Wed 05 Feb 2014 at 16:20:48 +0100, JK4 wrote:
>
>>  I would like to upgrade from Squeeze to Wheezy, and I'd read this
>> should be easy... Mine is an email ( postfix dovecot.
>>  ) and apache server with mysql from DotDeb. 
>
>The definitive advice is: read and reread the Release Notes.
>
>> Why should I upgrade? My only reason for upgrading is for OpenSSL
>> version 1, if I were to be honest. 
>
>Sounds good.
>
>> I would like to ensure that when I do an "apt-get upgrade and then
>> apt-get dist-upgrade after changing my sources.lst from squeeze to
>> wheezy, I don't end up with a broken server! perhaps I should pin my
>> dotdeb packages for mysql in case this breaks.
>
>Pinning packaage is ok. What will you do at the next upgrade? You have
>to be prepared to experience the pain (if any).
>
>> I was wondering if somebody could offer me some advice on this? I 've
>> included my current sources.lst if it' s useful.
>
>You do not seem concerned by what happens to dovecot. My advice would
>be
>to do a seach to take a look at this.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/7ede33f7-3559-492e-948a-9866df8ca...@email.android.com



Re: Advice sought for Squeeze to Wheezy upgrade

2014-02-05 Thread Brian
On Wed 05 Feb 2014 at 16:20:48 +0100, JK4 wrote:

>  I would like to upgrade from Squeeze to Wheezy, and I'd read this
> should be easy... Mine is an email ( postfix dovecot.
>  ) and apache server with mysql from DotDeb. 

The definitive advice is: read and reread the Release Notes.

> Why should I upgrade? My only reason for upgrading is for OpenSSL
> version 1, if I were to be honest. 

Sounds good.

> I would like to ensure that when I do an "apt-get upgrade and then
> apt-get dist-upgrade after changing my sources.lst from squeeze to
> wheezy, I don't end up with a broken server! perhaps I should pin my
> dotdeb packages for mysql in case this breaks.

Pinning packaage is ok. What will you do at the next upgrade? You have
to be prepared to experience the pain (if any).

> I was wondering if somebody could offer me some advice on this? I 've
> included my current sources.lst if it' s useful.

You do not seem concerned by what happens to dovecot. My advice would be
to do a seach to take a look at this.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140205191710.gs3...@copernicus.demon.co.uk



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread John Hasler

yaro wrote:
> Separate /usr is unneeded and actually complicates boot for little benefit. 

It allows you to mount it read-only (or not at all when there's a
problem).  It only complicates boot due to the practice of putting stuff
that belongs under / under /usr.

> Most Linux distributions rely on /usr being present before the end of
> the early userspace.

See above.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87bnyl5s45@thumper.dhh.gt.org



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread David Guntner
y...@marupa.net grabbed a keyboard and wrote:
> On Wednesday, February 05, 2014 08:27:15 AM David Guntner wrote:
>> Can't speak for him, but for me it's a segmenting issue.  If I have to
>> wipe / for example, I'm not wiping things in /usr or /usr/local (where
>> my locally-installed programs go) unless I have to, or even /home.  Of
>> course, there's no reason to want to protect /home from an install that
>> wants to format the / partition, right? :-)
>>
> 
> Separate /usr is unneeded and actually complicates boot for little benefit. 
> Most Linux distributions rely on /usr being present before the end of
> the early userspace.

I've been doing it that way for 20+ years on any *NIX system (including
different distributions of Linux) I've been involved with, and have
never once had any kind of complication or problem with it.  It's there,
it gets mounted, it gets used.

The only problem I've had was with trying to do a separate /etc
partition once.  Oops.  *That* one made for interesting times.  I think
I had to reformat and repartition after that one. :-)  Since it was a
fresh install, it just wasted a bit of time.

> Preserving /usr between installations is a bad idea because 
> you'll have all your software MINUS any information on any of it being 
> installed available to your package manager. This means one reinstall later 
> you're basically stopped from even upgrading most of it, can't remove it with 
> the manager, etc.

And when I'm doing something that requires it, I tell the installer to
format the /usr partition as well.  Not that hard to do. :-)

> Separate /home is a must for me, though. That's the number one thing to 
> persist between not only installations, but machines. Best thing to put on a 
> dedicated hard disk if you can.

Yup.  But even if on the same physical disk, it makes way too much sense
to have a separate /home to not do it.

   --Dave





smime.p7s
Description: S/MIME Cryptographic Signature


Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Ralf Mardorf
I prefer to have everything in /, even /home, but OTOH data for audio
productions always gets to another HDD than to the HDD where the Linux
is installed. The advantage of having everything in / is that HDD space
automatically is allocated as needed, OTOH regarding to performance I
use a second HDD for audio and MIDI data.

Resume: It depends to the usage what you separate and what not. IMO for
most users it's the best to have a partition for / and another one
for /home. It's different for me, because /home is not that important
for me, data anyway gets it's own HDD.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1391621619.701.125.camel@archlinux



Re: "cloning" a debian installation

2014-02-05 Thread Roland Müller

Hello again,

On 02/05/2014 05:16 PM, Roland Mueller wrote:

Hello,

2014-02-05 Kruppt :


On 2014-01-31, Kruppt  wrote:

On 2014-01-31, Fabrice Vaillant  wrote:

Hi
I'm using debian 7.3 on my laptop (Dell E5530) and it runs perfectly
fine. I'm considering remplacing the hdd by a ssd.
The thing is I'd rather not go through the hassle of setting up debian
to suit my computer. The question I'm asking is, what would be the
simplest way(if it is possible) to "clone" my existing installation onto
the new ssd.
Knowing that the root and the home are on two different partition of my
hdd which are the only partition on my disk beside the swap.
Howewer the ssd is smaller than the disk and the home partition will
need to be resized. I also consider slightly increasing the root
partition size as it is quitte full (77%) after running "apt-get clean".

Since I am at it, I would also like to know if it is possible to remove
the swap as it is bad for ssd life to write and rewrite, and I have
plenty (8 giga) of ram.

Cheers
Fabrice



Yes you can clone it easily with rsync.
Create the partitions and filesystems on the new SSD,
via gparted or fdisk, mke2fs or whatever.
Then use rsync to clone the filesystems onto
the new SDD partitions/filesystems.

Lets say the original HDD is layed out like below
as an example, and partitions, filesystems have been created,

Boot up a LiveCD such as SystemRescueCD on a comp with
both drives connected.
Make mount points for partitions to
be cloned and mount them all.

HDD
sda1 swap
sda2 /
sda3 /home

SSD
sdb2 swap
sdb2 /
sda3 /home

>From Root Terminal run:
rsync -av --delete /mnt/sda2/ /mnt/sdb2;rsync -av --delete /mnt/sda2/

/mnt/sdb2

Above line should read:
rsync -av --delete /mnt/sda2/ /mnt/sdb2;rsync -av --delete /mnt/sda3/
/mnt/sdb3



to clone the whole system you should not forget hardlinks (-H), and may be
also ACL (-A) or extended attributes (-X) should be preserved.

 -a, --archive   archive mode; equals -rlptgoD (no -H,-A,-X)

When the cloned disk is updated several times, also option -u (=update only
if needed) can be used.

# rsync -avuHAX --delete /mnt/sda2/ /mnt/sdb2
there's another useful option of rsync: -x causes the synchronization to 
restrict the operation to a single filesystem. I.e. if there are other 
mounts under the source disk they will not be copied in case -x is added 
to the rsync command:


# rsync -avuHAXx --delete /mnt/sda2/ /mnt/sdb2

E.g. to clone the root of the currently running system, omitting /proc etc.:
# rsync -avuHAXx --delete /  /mnt/yet_another_root_disk


BR,
Roland


This clones the two filesytems on the HDD to new SSD
(since there is nothing on the new filesystem
the --delete option is redundant so could be ignored)

Then you would want to install Grub.
Chroot into the / filesystem on SSD
(sdb2 in this example)

mount --bind /proc /mnt/sdb2/proc
mount --bind /sys /mnt/sdb2/sys
mount --bind /run /mnt/sdb2/run
mount --bind /dev /mnt/sdb2/dev
mount --bind /dev/pts /mnt/sdb2/dev/pts
chroot /mnt/sdb2 /bin/bash

grub-install --root-directory=/mnt/sdb2 /dev/sdb
grub-mkconfig -o /boot/grub/grub.cfg
update-initramfs -uk $(uname -r)

exit chroot

  Then you will need to edit your fstab file,
  to reflect changes if any, especially if using
  UUID's. (Run blkid -c /dev/null, the output will
  show the UUID's, then edit fstab to reflect new UUID's)





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmas...@lists.debian.org
Archive: http://lists.debian.org/bletpaf5k...@mid.individual.net





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52f2745c.8070...@googlemail.com



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread yaro
On Wednesday, February 05, 2014 08:27:15 AM David Guntner wrote:
> Zenaan Harkness grabbed a keyboard and wrote:
> > On 2/5/14, Anubhav Yadav  wrote:
> >>[...]
> >>
> > Nowadays, the only partitions I use are:
> > /boot - about 1GiB
> 
> Unless you're planning on having a lot of different kernels installed,
> you really don't need a full gig for /boot (it doesn't hurt anything,
> though).
> 

Heck, unless you plan to multiboot with other Linux/Unix-likes there's little 
point in a separate /boot EXCEPT possibly as a way to keep your machine 
booting if you remove Linux (Probably better to just reinstall the Windows 
boot manager.).

> > / - root partition, the rest
> 
> How Windowsian of you. :-)
> 
> > This way, it's really simple, and the old reasons (for most home users
> > at least) for having multiple partitions are no longer valid (separate
> > backups, making sure /root does not fill up, etc), since the HDDs are
> > so capacious.
> 
> It's not just a matter of capacity.  I've got a 1TB drive, and I still
> 
> partition them into separate sections:
> > $ df -k
> > Filesystem 1K-blocks Used
> > Available Use% Mounted on rootfs 
> >  1818872   299704   1426704  18% / udev  
> > 102400 10240   0% /dev tmpfs 
> >30954012812296728 
> >  5% /run /dev/disk/by-uuid/36f6b922-0e9a-4ce5-aeee-c92104fa2428   1818872
> >   299704   1426704  18% / tmpfs  
> > 51204  5116   1% /run/lock tmpfs 
> >   10495600   1049560   0%
> > /run/shm /dev/sda1 137221
> >20211109689  16% /boot /dev/sda12 
> > 67284600 16339432  47527264  26% /home /dev/sdb1 
> > 307665016 40081124 251955400  14% /backup
> > /dev/sda9   28835836   351612
> >  27019444   2% /opt /dev/sda6
> >288259269908   2666252   3% /tmp /dev/sda7
> >   28835836  7400256  19970800  28% /usr /dev/sda8
> >   48060296 15360908  30258020 
> > 34% /usr/local /dev/sda10 
> > 28835836  1455184  25915872   6% /var /dev/sda11 
> > 28835836   179364  27191692   1% /var/spool> 
> >> 1) What partitioning scheme should I choose now, If I want to have
> >> /home, /var, /usr, /tmp on different partitions and I just want a windoze
> >> partition of 50-60 gb.
> > 
> > But WHY do you want them on separate partitions? XY problem?
> 
> Can't speak for him, but for me it's a segmenting issue.  If I have to
> wipe / for example, I'm not wiping things in /usr or /usr/local (where
> my locally-installed programs go) unless I have to, or even /home.  Of
> course, there's no reason to want to protect /home from an install that
> wants to format the / partition, right? :-)
> 

Separate /usr is unneeded and actually complicates boot for little benefit. 
Most Linux distributions rely on /usr being present before the end of the 
early userspace. Preserving /usr between installations is a bad idea because 
you'll have all your software MINUS any information on any of it being 
installed available to your package manager. This means one reinstall later 
you're basically stopped from even upgrading most of it, can't remove it with 
the manager, etc.

Separate /home is a must for me, though. That's the number one thing to 
persist between not only installations, but machines. Best thing to put on a 
dedicated hard disk if you can.

> >> 2) As you can see in the screenshot, gparted shows that the hdd is
> >> only 698 gb whereas when purchased it was 720 GB. Any ways to recover
> >> the lost sectors back?
> > 
> > You "lost" none - 700,000,000,000 bytes is the correct and advertised
> > size of the drive, as sold.
> > 
> > 2^10^3 bytes is one GiB
> > 10^9 bytes is a "GB" or the term used for advertising (historical, too
> > much momentum to change it nowadays it seems).
> 
> Don't forget, the capacity they list is the full, complete capacity of
> the drive - not the usable amount of space.  You always lose some to
> formatting information, etc.
> 
>   --Dave

Conrad


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/3135023.rs7QG44D6x@twilight



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread David Guntner
Zenaan Harkness grabbed a keyboard and wrote:
> On 2/5/14, Anubhav Yadav  wrote:
>>[...]
> Nowadays, the only partitions I use are:
> /boot - about 1GiB

Unless you're planning on having a lot of different kernels installed,
you really don't need a full gig for /boot (it doesn't hurt anything,
though).

> / - root partition, the rest

How Windowsian of you. :-)

> This way, it's really simple, and the old reasons (for most home users
> at least) for having multiple partitions are no longer valid (separate
> backups, making sure /root does not fill up, etc), since the HDDs are
> so capacious.

It's not just a matter of capacity.  I've got a 1TB drive, and I still
partition them into separate sections:

> $ df -k
> Filesystem 1K-blocks Used 
> Available Use% Mounted on
> rootfs   1818872   299704   
> 1426704  18% /
> udev   102400 
> 10240   0% /dev
> tmpfs 30954012812
> 296728   5% /run
> /dev/disk/by-uuid/36f6b922-0e9a-4ce5-aeee-c92104fa2428   1818872   299704   
> 1426704  18% /
> tmpfs   51204 
>  5116   1% /run/lock
> tmpfs10495600   
> 1049560   0% /run/shm
> /dev/sda1 13722120211
> 109689  16% /boot
> /dev/sda12  67284600 16339432  
> 47527264  26% /home
> /dev/sdb1  307665016 40081124 
> 251955400  14% /backup
> /dev/sda9   28835836   351612  
> 27019444   2% /opt
> /dev/sda6288259269908   
> 2666252   3% /tmp
> /dev/sda7   28835836  7400256  
> 19970800  28% /usr
> /dev/sda8   48060296 15360908  
> 30258020  34% /usr/local
> /dev/sda10  28835836  1455184  
> 25915872   6% /var
> /dev/sda11  28835836   179364  
> 27191692   1% /var/spool


>> 1) What partitioning scheme should I choose now, If I want to have
>> /home, /var, /usr, /tmp on different partitions and I just want a windoze
>> partition of 50-60 gb.
> 
> But WHY do you want them on separate partitions? XY problem?

Can't speak for him, but for me it's a segmenting issue.  If I have to
wipe / for example, I'm not wiping things in /usr or /usr/local (where
my locally-installed programs go) unless I have to, or even /home.  Of
course, there's no reason to want to protect /home from an install that
wants to format the / partition, right? :-)

>> 2) As you can see in the screenshot, gparted shows that the hdd is
>> only 698 gb whereas when purchased it was 720 GB. Any ways to recover
>> the lost sectors back?
> 
> You "lost" none - 700,000,000,000 bytes is the correct and advertised
> size of the drive, as sold.
> 
> 2^10^3 bytes is one GiB
> 10^9 bytes is a "GB" or the term used for advertising (historical, too
> much momentum to change it nowadays it seems).

Don't forget, the capacity they list is the full, complete capacity of
the drive - not the usable amount of space.  You always lose some to
formatting information, etc.

  --Dave




smime.p7s
Description: S/MIME Cryptographic Signature


Advice sought for Squeeze to Wheezy upgrade

2014-02-05 Thread JK4
 

Hi everybody, 

 I would like to upgrade from Squeeze to Wheezy, and I'd read this
should be easy... Mine is an email ( postfix dovecot.
 ) and apache server with mysql from DotDeb. 

Why should I upgrade? My only reason for upgrading is for OpenSSL
version 1, if I were to be honest. 

I would like to ensure that when I do an "apt-get upgrade and then
apt-get dist-upgrade after changing my sources.lst from squeeze to
wheezy, I don't end up with a broken server! perhaps I should pin my
dotdeb packages for mysql in case this breaks. 

I was wondering if somebody could offer me some advice on this? I 've
included my current sources.lst if it' s useful. 

BEFORE
deb http://ftp.de.debian.org/debian/ squeeze main non-free contrib
deb-src http://ftp.de.debian.org/debian/ squeeze main non-free contrib
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib
non-free
deb http://ftp.debian.org/debian squeeze-updates main
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all

AFTER
deb http://ftp.de.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.de.debian.org/debian/ wheezy main non-free contrib
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.debian.org/debian wheezy-updates main
deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all

Lots of thanks in advance, 

JK 

Re: "cloning" a debian installation

2014-02-05 Thread Roland Mueller
Hello,

2014-02-05 Kruppt :

> On 2014-01-31, Kruppt  wrote:
> > On 2014-01-31, Fabrice Vaillant  wrote:
> >> Hi
> >> I'm using debian 7.3 on my laptop (Dell E5530) and it runs perfectly
> >> fine. I'm considering remplacing the hdd by a ssd.
> >> The thing is I'd rather not go through the hassle of setting up debian
> >> to suit my computer. The question I'm asking is, what would be the
> >> simplest way(if it is possible) to "clone" my existing installation onto
> >> the new ssd.
> >> Knowing that the root and the home are on two different partition of my
> >> hdd which are the only partition on my disk beside the swap.
> >> Howewer the ssd is smaller than the disk and the home partition will
> >> need to be resized. I also consider slightly increasing the root
> >> partition size as it is quitte full (77%) after running "apt-get clean".
> >>
> >> Since I am at it, I would also like to know if it is possible to remove
> >> the swap as it is bad for ssd life to write and rewrite, and I have
> >> plenty (8 giga) of ram.
> >>
> >> Cheers
> >> Fabrice
> >>
> >>
> >
> > Yes you can clone it easily with rsync.
> > Create the partitions and filesystems on the new SSD,
> > via gparted or fdisk, mke2fs or whatever.
> > Then use rsync to clone the filesystems onto
> > the new SDD partitions/filesystems.
> >
> > Lets say the original HDD is layed out like below
> > as an example, and partitions, filesystems have been created,
> >
> > Boot up a LiveCD such as SystemRescueCD on a comp with
> > both drives connected.
> > Make mount points for partitions to
> > be cloned and mount them all.
> >
> > HDD
> > sda1 swap
> > sda2 /
> > sda3 /home
> >
> > SSD
> > sdb2 swap
> > sdb2 /
> > sda3 /home
> >
> >>From Root Terminal run:
> > rsync -av --delete /mnt/sda2/ /mnt/sdb2;rsync -av --delete /mnt/sda2/
> /mnt/sdb2
>
> Above line should read:
> rsync -av --delete /mnt/sda2/ /mnt/sdb2;rsync -av --delete /mnt/sda3/
> /mnt/sdb3
>
>
to clone the whole system you should not forget hardlinks (-H), and may be
also ACL (-A) or extended attributes (-X) should be preserved.

-a, --archive   archive mode; equals -rlptgoD (no -H,-A,-X)

When the cloned disk is updated several times, also option -u (=update only
if needed) can be used.

# rsync -avuHAX --delete /mnt/sda2/ /mnt/sdb2

BR,
Roland




> > This clones the two filesytems on the HDD to new SSD
> > (since there is nothing on the new filesystem
> > the --delete option is redundant so could be ignored)
> >
> > Then you would want to install Grub.
> > Chroot into the / filesystem on SSD
> > (sdb2 in this example)
> >
> > mount --bind /proc /mnt/sdb2/proc
> > mount --bind /sys /mnt/sdb2/sys
> > mount --bind /run /mnt/sdb2/run
> > mount --bind /dev /mnt/sdb2/dev
> > mount --bind /dev/pts /mnt/sdb2/dev/pts
> > chroot /mnt/sdb2 /bin/bash
> >
> > grub-install --root-directory=/mnt/sdb2 /dev/sdb
> > grub-mkconfig -o /boot/grub/grub.cfg
> > update-initramfs -uk $(uname -r)
> >
> > exit chroot
> >
> >  Then you will need to edit your fstab file,
> >  to reflect changes if any, especially if using
> >  UUID's. (Run blkid -c /dev/null, the output will
> >  show the UUID's, then edit fstab to reflect new UUID's)
> >
> >
> >
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/bletpaf5k...@mid.individual.net
>
>


Re: debian installer

2014-02-05 Thread Dmitrii Kashin
SvechnikovSV  writes:

> Hi guys. I have a problem with the latest version of Debian
> here. I had installed wheezy 7.2 system with utilities package only
> (console and framebuffer). I can't make it work in graphic 
> mode 0x31A. Instead I got 0x31B mode loaded. My video card 
> Intel 92945G seem to support both modes but I need A mode here.
> 0x31A worked perfectly under Debian Squeeze and below. 

If you load your kernel with 'vga=ask' parameter, will you be able to
choose 0x31A mode? If you use LILO, so you can easily type something
like "linux vga=ask" in the prompt.


pgpWxOamC_y8Q.pgp
Description: PGP signature


Re: getmail FAIL - lost email

2014-02-05 Thread Celejar
On Wed, 5 Feb 2014 12:03:09 +0200
Andrei POPESCU  wrote:

> On Lu, 03 feb 14, 09:34:13, Celejar wrote:
> > 
> > Is there anything I can do to recover them? getmail is set to delete
> > messages on the server after successful retrieval, and it's apparently
> > doing so here, *even though the delivery is failing*!
>  
> That has not been my experience.

I just verified the behavior on my system (getmail4 4.32.0-2): if the
mbox is corrupt at getmail startup, then getmail will (correctly)
refuse to run, bailing with:

Configuration error: configuration file /home/username/.getmail/pop1
incorrect (/var/spool/mail/username: not an mboxrd file)

But if the file is good at getmail startup, and is corrupted during the
getmail run (I simulated by manually copying over a previously saved
corrupted mbox file after getmail startup), then getmail just drops the
mail, and it's apparently permanently gone:

Delivery error (mboxrd delivery 18572 error (127, mbox delivery process failed 
(not an mboxrd file (/var/spool/mail/username
  msg 4/4 (3507 bytes), delivery error (mboxrd delivery 18572 error (127, mbox 
delivery process failed (not an mboxrd file (/var/spool/mail/username

And as per my OP, getmail won't stop running because of this, and will
just brainlessly keep downloading and permanently (if the -d switch is
in use) destroying mail.

Have you tried this little experiment on your system? Make sure there's
nothing valuable in the spool, and that you can't have anything
incoming during the trial, of course ;)

> > This behavior is surely unacceptable. Is there a way to tell getmail to
> > wait to delete until successful delivery? How about a way to tell
> > getmail to abort if the mailbox is corrupt? What causes this corruption
> > (this is a laptop, no power failure or disk corruption AFAIK, etc.)?
> 
> fsck?

I'll try when I get a chance (can't fsck /var in normal operation -
will have to await a chance to go to single user mode, IIUC). But I've
never seen any trouble with the filesystem.

> > How to prevent it? Is there a better MRA / MDA the list recommends? Has
> > anyone seen this sort of thing with either getmail or other MRAs / MDAs?
> 
> I'm running getmail for years now and never had such issues. You might 
> want to report this upstream, the Author is usually very responsive on 
> the mailing list.

I will, if I don't get any further with the list.

> Kind regards,
> Andrei

Thanks,

Celejar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20140205091345.1dd20430f44fccd7a15fa...@gmail.com



Re: Re^2: A persistent name for a sound device.

2014-02-05 Thread Alan Greenberger
On 2014-02-04, pe...@easthope.ca  wrote:
> Alan,
>
> * From: Alan Greenberger 
> *Date: Mon, 3 Feb 2014 09:34:42 -0500
>> When I plug in a Logitech C170 webcam, /proc/asound/cards shows:
>>  0 [SB ]: HDA-Intel - HDA ATI SB
>>   HDA ATI SB at 0xfbdf4000 irq 16
>>  1 [HDMI   ]: HDA-Intel - HDA ATI HDMI
>>   HDA ATI HDMI at 0xfbeec000 irq 44
>>  2 [C170   ]: USB-Audio - Webcam C170
>>   Webcam C170 at usb-:00:13.2-4, high speed
>
> Suppose you reboot the machine without changing the hardware.
> Does each device always retain its card number across the reboot?
> In my case no.  Consequently I can reboot and find that the
> VoIP ring is being sent to the headset.  Not acceptable.
>
> A persistent name remains associated with a specific device
> across a reboot.
>
> Regards,   ... Peter E.
>

The point was that even though the card number may change, I can use the
device as -D hw:C170 without needing the card number.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnlf4fjs.fhg.alanjg@archduke.router



Re: "cloning" a debian installation

2014-02-05 Thread Kruppt
On 2014-01-31, Kruppt  wrote:
> On 2014-01-31, Fabrice Vaillant  wrote:
>> Hi
>> I'm using debian 7.3 on my laptop (Dell E5530) and it runs perfectly 
>> fine. I'm considering remplacing the hdd by a ssd.
>> The thing is I'd rather not go through the hassle of setting up debian 
>> to suit my computer. The question I'm asking is, what would be the 
>> simplest way(if it is possible) to "clone" my existing installation onto 
>> the new ssd.
>> Knowing that the root and the home are on two different partition of my 
>> hdd which are the only partition on my disk beside the swap.
>> Howewer the ssd is smaller than the disk and the home partition will 
>> need to be resized. I also consider slightly increasing the root 
>> partition size as it is quitte full (77%) after running "apt-get clean".
>>
>> Since I am at it, I would also like to know if it is possible to remove 
>> the swap as it is bad for ssd life to write and rewrite, and I have 
>> plenty (8 giga) of ram.
>>
>> Cheers
>> Fabrice
>>
>>
>
> Yes you can clone it easily with rsync.
> Create the partitions and filesystems on the new SSD,
> via gparted or fdisk, mke2fs or whatever.
> Then use rsync to clone the filesystems onto
> the new SDD partitions/filesystems.
>
> Lets say the original HDD is layed out like below
> as an example, and partitions, filesystems have been created,
>
> Boot up a LiveCD such as SystemRescueCD on a comp with
> both drives connected.
> Make mount points for partitions to
> be cloned and mount them all. 
>
> HDD
> sda1 swap
> sda2 /
> sda3 /home
>
> SSD
> sdb2 swap
> sdb2 /
> sda3 /home
>
>>From Root Terminal run:
> rsync -av --delete /mnt/sda2/ /mnt/sdb2;rsync -av --delete /mnt/sda2/ 
> /mnt/sdb2

Above line should read:
rsync -av --delete /mnt/sda2/ /mnt/sdb2;rsync -av --delete /mnt/sda3/ /mnt/sdb3

> This clones the two filesytems on the HDD to new SSD 
> (since there is nothing on the new filesystem 
> the --delete option is redundant so could be ignored)
>
> Then you would want to install Grub.
> Chroot into the / filesystem on SSD 
> (sdb2 in this example)
>
> mount --bind /proc /mnt/sdb2/proc
> mount --bind /sys /mnt/sdb2/sys
> mount --bind /run /mnt/sdb2/run
> mount --bind /dev /mnt/sdb2/dev
> mount --bind /dev/pts /mnt/sdb2/dev/pts
> chroot /mnt/sdb2 /bin/bash
>
> grub-install --root-directory=/mnt/sdb2 /dev/sdb
> grub-mkconfig -o /boot/grub/grub.cfg
> update-initramfs -uk $(uname -r)
>
> exit chroot
>
>  Then you will need to edit your fstab file,
>  to reflect changes if any, especially if using
>  UUID's. (Run blkid -c /dev/null, the output will
>  show the UUID's, then edit fstab to reflect new UUID's)
>  
>
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bletpaf5k...@mid.individual.net



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Anubhav Yadav
> I do not know for awesome, but for i3, the reason could be to avoid learning
> a new way of thinking. I3 is not only efficient in a memory and CPU point of
> view, but also in term of user's time, if you learn how to use it. Tiling Wm
> are different from the standard ones.
>

I don't really get what are you trying to say? Should I go for using
tiling wms or not?
Or learning the tiling wm are too time consuming?
Regards
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA+Jf9AF-ba26G4uz8qosB9tbQ-U_wpK+pjLHodf=ovaw_5x...@mail.gmail.com



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Brian
On Wed 05 Feb 2014 at 18:29:01 +0530, Anubhav Yadav wrote:

> > Network Manager isn't good, it's bad, however if you like it, you can
> > use it with Xfce too and don't worry about installing GNOME
> > dependencies, since Xfce is based on much GNOME stuff. Regarding to
> > Thunar vs Nautlius, note that if you install all that automatic crap,
> > than Thunar anyway will use GNOME Virtual File System. Xfce is based on
> > GTK too. IOW you could use Natilus with Xfce and don't need to worry
> > about too much extra dependencies, but you still could benefit from the
> > advantages that Xfce has got over GNOME.
> 
> Thats why I have been thinking that why not use a minimal window
> manager like awesome or i3?

Network Manager isn't that bad that thousands of people don't use it
successfully. Having spurned Xfce because it lacks a tabbed file
browswer and a good network manager-type manager your thoughts appear
fanciful.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/05022014140211.4a131bda7...@desktop.copernicus.demon.co.uk



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread berenger . morel



Le 05.02.2014 13:59, Anubhav Yadav a écrit :
Network Manager isn't good, it's bad, however if you like it, you 
can

use it with Xfce too and don't worry about installing GNOME
dependencies, since Xfce is based on much GNOME stuff. Regarding to
Thunar vs Nautlius, note that if you install all that automatic 
crap,
than Thunar anyway will use GNOME Virtual File System. Xfce is based 
on

GTK too. IOW you could use Natilus with Xfce and don't need to worry
about too much extra dependencies, but you still could benefit from 
the

advantages that Xfce has got over GNOME.


Thats why I have been thinking that why not use a minimal window
manager like awesome or i3?
--
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


I do not know for awesome, but for i3, the reason could be to avoid 
learning a new way of thinking. I3 is not only efficient in a memory and 
CPU point of view, but also in term of user's time, if you learn how to 
use it. Tiling Wm are different from the standard ones.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/694a678c3c08379b21b703940d1f9...@neutralite.org



Re: Any reason not to run amd64 these days?

2014-02-05 Thread Paul Cartwright
On 02/05/2014 07:13 AM, berenger.mo...@neutralite.org wrote:
>
>> I've had nothing but trouble with my first amd64 system.  The 3.12
>> kernel
>> of jessie won't even boot for me.  But my experience appears to be
>> atypical.  The general public isn't having such problems, it seems.
>>
>> -- 
>>   .''`. Stephen Powell
>>  : :'  :
>>  `. `'`
>>`-
>
> Simply curious, what kind of error message did you had? ( if you
> remember, of course )
>
>
I tried to do an upgrade from wheezy to jessie a few weeks ago. Once I
was done with the updates & rebooted, all I got was a black screen, I
couldn't even get to a terminal window, the PC was frozen. Ended up
restoring wheezy.. on my Dell desktop AMD_64.

-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52f243e9.4060...@gmail.com



debian installer

2014-02-05 Thread SvechnikovSV
Hi guys. I have a problem with the latest version of Debian
here. I had installed wheezy 7.2 system with utilities package only
(console and framebuffer). I can't make it work in graphic 
mode 0x31A. Instead I got 0x31B mode loaded. My video card 
Intel 92945G seem to support both modes but I need A mode here.
0x31A worked perfectly under Debian Squeeze and below. 




-- 
with regards
 SvechnikovSV  mailto:s...@module.ru


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/126216493.20140205164...@module.ru



Re: grub efi does not find windows

2014-02-05 Thread berenger . morel



Le 05.02.2014 13:53, Tom H a écrit :
On Mon, Feb 3, 2014 at 3:28 AM,  
wrote:

Le 02.02.2014 23:27, berenger.mo...@neutralite.org a écrit :

Le 02.02.2014 21:46, Tom H a écrit :


Have you checked that "/boot/efi/EFI/Microsoft\Boot\bootmgfw.efi"
exists? (It might be "Bootmgfw.efi".)


I'm not at work currently, but I'll take a look tomorrow. However, 
I

have already looked at what was in /boot and am pretty sure that I
have no file or directory with microsoft or windows in their name (
lowercase, uppercase and all kinds of mixes ). I'll check anew to 
be

sure anyway.


I only have a debian directory there:

root@...-P07-2:/boot/efi/EFI# ls
debian


Have you tried to switch to "bootmgfw.efi" through your firmware?


Which firmware?


Running "efibootmgr" should display all the values that your 
firmware

knows about and the order in which they classified.


I'll install this tool and check what it gives tomorrow, thanks.


It was already installed, finally. Here is the output of the 
command:


root@...-P07-2:/boot/efi/EFI# efibootmgr
BootCurrent: 
Timeout: 0 seconds
BootOrder: ,0001,0002,0003,0007,0008,0005,0006
Boot* debian
Boot0001* DTO UEFI USB Floppy/CD
Boot0002* DTO UEFI USB Hard Drive
Boot0003* DTO UEFI ATAPI CD-ROM Drive
Boot0005 DTO Legacy USB Floppy/CD
Boot0006 Hard Drive
Boot0007* IP4 Realtek PCIe GBE Family Controller
Boot0008* IP6 Realtek PCIe GBE Family Controller


No mention of any windows'efi file anywere. I just rechecked on the
partition that I suspect to have it before my installation ( aka: 
sda1, a
1GB large partition containing a folder named "Boot" at root ) and 
no more
luck. Sounds like all informations needed to boot windows lacks 
now... I

guess I'll have to try to rebuild them, if possible, or... reinstall
windows? I doubt I can: the restore files were on a partition that I 
had to
delete to be able to create mines ( despite any good sense, they 
used the 4
primary partitions slots, when only one needed to be bootable! I 
wonder how
could those people could say they are computer scientists, really! 
And it
takes no more time to create secondary partition than primary 
ones... grrr!
But at least I know why I will never go back to default 
installations for my

personal uses. )...


It looks like any sign of the Windows boot "stuff" has been wiped 
from

your firmware and disk. :(


It seems. Finally I'll have to configure my Debian to use active 
directory...




Regarding the partitions, a gpt label allows 128 primary partitions 
by

default. So MS using 4 isn't a problem.


GPT, yes. MBR, no. And the computers that I've seen always used MBR. To 
be more precise, I just learn about GPTs now, thanks to you :) they 
sound quite interesting, I'll read more about them later.



I've just looked at your original post and I see this:

<
The boot flag was on a NTFS partition sda1, 1GiB large.

Windows itself was on a NTFS partition sda2, more than 300GiB large,
but I have resized it through Debian installer to 93GiB.

There were 2 other partitions, one for windows recovery with NTFS, 
and

another one for HP tools with fat32. I have removed both of them.

I now have a fat32 partition with EFI informations, mount point:
/boot/efi, 1.86GiB large on sda3, which is bootable.

I have lot of other partitions for Debian: /, /usr, /var, swap, /tmp
and /home.




So in your original setup, you didn't have a FAT ESP. Perhaps the
original ESP is the NTFS sda1 (I didn't know that EFI spec allows a
non-FAT ESP!).

Can either mount sda1 and check whether it is the original Windows 
ESP?


Or check with gdisk whether it is the ESP. On my laptop:

# gdisk /dev/sda
...
Command (? for help): i
Partition number (1-2): 1
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI 
System)

...

"C12A7328-..." is a unique UID that corresponds to the ESP; and, 
AIUI,

is the way that the firmware identifies the ESP.


Here it is, but as you said, things seems to no longer be here:

Command (? for help): i
Partition number (1-11): 1
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft 
basic data)

Partition unique GUID: 99A9ADD3-860F-4C97-B61D-70CAA7806D4D
First sector: 2048 (at 1024.0 KiB)
Last sector: 2101247 (at 1.0 GiB)
Partition size: 2099200 sectors (1.0 GiB)
Attribute flags: 
Partition name: 'Microsoft basic data'

Things are more or less the same for all partitions, except that some 
partitions are "linux swap" or "linux filesystem".


And I can see no "(EFI System)" anywhere.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/3b1862267b00255270865ef5297c9...@neutralite.org



Re: setting laserprinter as default destination help needed

2014-02-05 Thread Brian
On Tue 04 Feb 2014 at 17:58:47 -0500, Jude DaShiell wrote:

> Using connection type: par

You have told the HP software you have a printer attached to a parallel
port.

> Device URI   Model
>  
>   ---  --
>   hp:/par/HP_LaserJet_4_Plus?device=/dev/parport0  HP LaserJet 4 Plus
> 
> Found 1 printer(s) on the 'par' bus.

The software agrees that you do have a printer attached to a parallel
port and sets the Device URI (the place where print jobs go after being
sent to the print queue). You might want to look at lpadmin(8) and the
-v option.

> What should I tell lpoptions as root to have this printer set as the 
> system default destination for printing?

The installed print queue (or destination) for the Device URI has a name
which you have given it.

   lpstat -v

will tell you what it is if you have forgotten it.

   lpoptions -d destination

will set whatever you put as 'destination' as the default printer. Why
you want to do this as root is beyond me. If you think doing it makes
that print queue/destination immutable you are mistaken.

>   I'll have to set this as 
> unshared too since I really don't need drive by spammers trashing my 
> printer and print jobs with their garbage.  I don't know how to translate 
> hp-probe's output to anything acceptable to lpoptions.

   cupsctl --no-share-printers  (as root)

will do this. 

You may find the web interface at

   http://localhost:631

more convenient to use for both these settings.

Regarding

   https://lists.debian.org/debian-user/2014/02/msg00205.html

lpstat does not set a default destination but does display what it is.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140205133933.gr3...@copernicus.demon.co.uk



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Anubhav Yadav
> Network Manager isn't good, it's bad, however if you like it, you can
> use it with Xfce too and don't worry about installing GNOME
> dependencies, since Xfce is based on much GNOME stuff. Regarding to
> Thunar vs Nautlius, note that if you install all that automatic crap,
> than Thunar anyway will use GNOME Virtual File System. Xfce is based on
> GTK too. IOW you could use Natilus with Xfce and don't need to worry
> about too much extra dependencies, but you still could benefit from the
> advantages that Xfce has got over GNOME.

Thats why I have been thinking that why not use a minimal window
manager like awesome or i3?
-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA+Jf9AE=c5BNmteb+zuRz=ag7scypx+9d9pf-xho1rg1rba...@mail.gmail.com



Re: grub efi does not find windows

2014-02-05 Thread Tom H
On Mon, Feb 3, 2014 at 3:28 AM,  wrote:
> Le 02.02.2014 23:27, berenger.mo...@neutralite.org a écrit :
>> Le 02.02.2014 21:46, Tom H a écrit :
>>>
>>> Have you checked that "/boot/efi/EFI/Microsoft\Boot\bootmgfw.efi"
>>> exists? (It might be "Bootmgfw.efi".)
>>
>> I'm not at work currently, but I'll take a look tomorrow. However, I
>> have already looked at what was in /boot and am pretty sure that I
>> have no file or directory with microsoft or windows in their name (
>> lowercase, uppercase and all kinds of mixes ). I'll check anew to be
>> sure anyway.
>
> I only have a debian directory there:
>
> root@...-P07-2:/boot/efi/EFI# ls
> debian
>>>
>>> Have you tried to switch to "bootmgfw.efi" through your firmware?
>>
>> Which firmware?
>>>
>>> Running "efibootmgr" should display all the values that your firmware
>>> knows about and the order in which they classified.
>>
>> I'll install this tool and check what it gives tomorrow, thanks.
>
> It was already installed, finally. Here is the output of the command:
> 
> root@...-P07-2:/boot/efi/EFI# efibootmgr
> BootCurrent: 
> Timeout: 0 seconds
> BootOrder: ,0001,0002,0003,0007,0008,0005,0006
> Boot* debian
> Boot0001* DTO UEFI USB Floppy/CD
> Boot0002* DTO UEFI USB Hard Drive
> Boot0003* DTO UEFI ATAPI CD-ROM Drive
> Boot0005 DTO Legacy USB Floppy/CD
> Boot0006 Hard Drive
> Boot0007* IP4 Realtek PCIe GBE Family Controller
> Boot0008* IP6 Realtek PCIe GBE Family Controller
> 
>
> No mention of any windows'efi file anywere. I just rechecked on the
> partition that I suspect to have it before my installation ( aka: sda1, a
> 1GB large partition containing a folder named "Boot" at root ) and no more
> luck. Sounds like all informations needed to boot windows lacks now... I
> guess I'll have to try to rebuild them, if possible, or... reinstall
> windows? I doubt I can: the restore files were on a partition that I had to
> delete to be able to create mines ( despite any good sense, they used the 4
> primary partitions slots, when only one needed to be bootable! I wonder how
> could those people could say they are computer scientists, really! And it
> takes no more time to create secondary partition than primary ones... grrr!
> But at least I know why I will never go back to default installations for my
> personal uses. )...

It looks like any sign of the Windows boot "stuff" has been wiped from
your firmware and disk. :(

Regarding the partitions, a gpt label allows 128 primary partitions by
default. So MS using 4 isn't a problem.

I've just looked at your original post and I see this:

<
The boot flag was on a NTFS partition sda1, 1GiB large.

Windows itself was on a NTFS partition sda2, more than 300GiB large,
but I have resized it through Debian installer to 93GiB.

There were 2 other partitions, one for windows recovery with NTFS, and
another one for HP tools with fat32. I have removed both of them.

I now have a fat32 partition with EFI informations, mount point:
/boot/efi, 1.86GiB large on sda3, which is bootable.

I have lot of other partitions for Debian: /, /usr, /var, swap, /tmp and /home.
>

So in your original setup, you didn't have a FAT ESP. Perhaps the
original ESP is the NTFS sda1 (I didn't know that EFI spec allows a
non-FAT ESP!).

Can either mount sda1 and check whether it is the original Windows ESP?

Or check with gdisk whether it is the ESP. On my laptop:

# gdisk /dev/sda
...
Command (? for help): i
Partition number (1-2): 1
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
...

"C12A7328-..." is a unique UID that corresponds to the ESP; and, AIUI,
is the way that the firmware identifies the ESP.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SxQ4FJaYf1�pcstqq0nierewjxhvksn2so19skxb...@mail.gmail.com



Re: Re^2: /dev/* and ALSA.

2014-02-05 Thread Klaus

On 04/02/14 19:08, pe...@easthope.ca wrote:


peter@dalton:~$ cat /proc/asound/cards
  0 [SI7012 ]: ICH - SiS SI7012
   SiS SI7012 with ALC655 at irq 18
  1 [NX6000 ]: USB-Audio - MicrosoftB. LifeCam NX-6000
   Microsoft MicrosoftB. LifeCam NX-6000 at 
usb-:00:03.3-
8, high speed
  2 [Set]: USB-Audio - C-Media USB Headphone Set
   C-Media USB Headphone Set at usb-:00:08.0-3, full 
spee
d
  3 [Device ]: USB-Audio - C-Media USB Audio Device
   C-Media USB Audio Device at usb-:00:03.2-1, full 
speed



Since your two USB devices are of different types, they should have 
different USB device ids. You've used these ids before while writing 
your udev rules? Following the documentation at


should yield the solution, then:


Ordering multiple cards of the same type

If you have more that one sound cards which use the same modules, you 
may want to define the card order. This can be done by specifying index 
and ID options to the module being loaded. For example,


options snd-usb-audio index=1,2 vid=0x0ccd,0x0d8c pid=0x0028,0x000c

This will define 2 usb sound cards, the first one at index=1, vid=0x0ccd 
and pid=0x0028; the second one at index=2, vid=0x0d8c and pid=0x000c. 
The vid and pid here were discovered using lsusb.


The documentation may not be entirely up to date and comprehensive. The 
command


modinfo -p ${modulename}

shows a current list of all parameters of a loadable module.

Example:

# modinfo -p snd-usb-audio
ignore_ctl_error:Ignore errors from USB controller for mixer interfaces.
device_setup:Specific device setup (if needed).
async_unlink:Use async unlink mode.
nrpacks:Max. number of packets per URB.
pid:Product ID for the USB audio device.
vid:Vendor ID for the USB audio device.
enable:Enable USB audio adapter.
id:ID string for the USB audio adapter.
index:Index value for the USB audio adapter.

In this case, the pid and vid options from lsusb can be used.


I've only got one USB sound device, a Cambridge Audio DacMagic100, usb 
vendor id:product id 22e8:dac3
If I just plug it in, the snd-usb-audio module gets loaded, and the 
extra card shows up like this:


$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC269 Digital [ALC269 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: C1 [Cambridge Audio DAC100 USB 1], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Now, editing  /etc/modprobe.d/alsa-base.conf to include (**):

options snd-hda-intel index=1
options snd-usb-audio index=0 vid=0x22e8 pid=0xdac3
#options snd-usb-audio index=-2 # this line commented out

and restarting alsa (*)

$ sudo alsa reload

changes the sound device ordering, and makes it predictable between reboots:

$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: C1 [Cambridge Audio DAC100 USB 1], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 1: ALC269 Digital [ALC269 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


HTH


(*) I struggeled to get alsa to reload the config file, and had to kill 
pulseaudio first. Mind you, pulseaudio automatically spawns a new 
instance after being killed, and to prevent this I edited

/etc/pulse/client.conf:
autospawn = no
(**) What happens when the USB audio device is not present at boot? By 
assigning the built-in Intel device index != 0, this solution should be 
stable.


--
Klaus


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52f2323c.8050...@gmail.com



Re: Handbrake crashing

2014-02-05 Thread berenger . morel



Le 05.02.2014 13:15, Brad Alexander a écrit :

Has anyone seen this behavior in handbrake? I fired it up on both my
sid workstation and my sid laptop, and as soon as I click the source
and select the cdrom (or sr0 or dvd), it begins scanning the DVD, 
then
the entire app crashes. No errors in the logs, and even when I 
started

from the command line, there were no error messages. I checked
bugs.d.o, and didn't find anything resembling the bug

The DVD plays back fine in both mplayer and vlc.

Any ideas?
--b


You said that you had no message, even when started in a terminal? Not 
even "segmentation fault"? That's strange and nobody but the author 
could help you at this point I guess.


But anyway, you could find more informations by trying to install the 
dbg package, and to give gdb some work. It could work.
Do a check about official dependencies, and verify that they are 
installed, too. Sometimes Debian's maintainers forgot some (I had the 
situation sometimes in the past, but in that case you should have a 
message when you run it from console, except if dev have redirected the 
output somewhere in the void. Already seen that, too.).
You could also try to not use the experimental package ( you're running 
sid, but this tool seems to be present in testing too. ) for the tool 
itself and/or it's dependencies.


As a side note, just taking a look to the source code's tree ( I wanted 
to know the programming language, this kind of information is useful to 
know if you can debug it yourself without installing anything ), I would 
personally avoid any project as messy. They simply put all files in the 
same directory, more or less. In 
https://github.com/HandBrake/HandBrake/tree/master/gtk/src you can find 
.c, .h, .png, .ui, .py, .am, .desktop, .xml and maybe more.
Plus, it seems that it's still in alpha stage ( considering that there 
is a switch with only "default" case in function 
"ghb_compositor_get_property", and the only thing here makes the reader 
think that it's not implemented, so, part of some alpha source code. Do 
not expect alpha source code to be bugfree or stable or reliable.) so, 
you would probably have better chances if you compile it yourself. With 
last code. Better chances to have problems too, but you choose it, 
didn't you?



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/a4ab86054681f0d4f487995201f8d...@neutralite.org



Re: grub efi does not find windows

2014-02-05 Thread Tom H
On Sun, Feb 2, 2014 at 5:27 PM,   wrote:
> Le 02.02.2014 21:46, Tom H a écrit :


>> Have you tried to switch to "bootmgfw.efi" through your firmware?
>
> Which firmware?

Pressing the appropriate F-key at boot; or, if you have a recent
version of grub, typing "fwsetup" at the grub commandline.


>> Running "efibootmgr" should display all the values that your firmware
>> knows about and the order in which they classified.
>
> I'll install this tool and check what it gives tomorrow, thanks.

It should already be installed.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=szywrf_ojrqmck-gvolf1mocnub-bm2wu-onq5qy5o...@mail.gmail.com



Re: postfix: maildir-style delivery with external MDA?

2014-02-05 Thread Markus Schönhaber
05.02.2014 12:16, Andrei POPESCU:

> The setup
> -
> I am running postfix on my laptop mostly for sending, but also local 
> mail (cron, r2e, etc.), maildrop for sorting/filtering to Maildirs and 
> notmuch for indexing (via a cron job).
> 
> The problem
> ---
> Since version 2.7.1-1 (current sid) maildrop does *not* remove the first 
> 'From ' line (also called unix style From_) if present as it did before 
> (see #737383 wontfix for more info) and notmuch complains loudly about 
> it triggering a loop (the warning ends up as output from cron, which 
> creates another message for notmuch to complain about and so on).

What is a "notmuch"?
Anyway: How does maildrop get mail from postfix - via pipe? If so,
remove the F from the flags to the pipe call in master.cf

> Things I tried
> --
> My preferred solution would be to configure Postfix to do Maildir-style 
> delivery via maildrop, but I have checked the Postfix documentation and 
> done some tests as far as I can tell there is no way to do so.

If you use maildrop as your local delivery agent, why do you think the
postfix documentation will help you configuring what maildrop does with
the mail it receives? Wouldn't be the maildrop documentation a better
place to look for such information?

> Besides 
> solving this issue it seems I would get rid of the annoying '>From' at 
> start of lines. Pointers much appreciated.

Those are probably just the result of using mbox. In mbox, a line
beginning with "From " indicates the start of a new message. Therefore,
lines like that which are part of a message's body, have to be
"escaped". Therefore, as long as you use mbox (or "From "-escaping has
already happened somewhere upstream) you'll see those ">From "-lines
sometimes.

-- 
Regards
  mks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52f22e94.6020...@list-post.mks-mail.de



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Ralf Mardorf
On Wed, 2014-02-05 at 17:49 +0530, Anubhav Yadav wrote:
> I have tried xfce and I believe that its a great great desktop environment,
> However I am restricted in using that for a couple of reasons.
> 1) It does not seem to have a good network manager.
> the network manager in gnome lets us define some profiles for different
> networks and you can switch them easily.
> 
> For eg I have a static IP address at home and DHCP at my college.
> In gnome I can make two profiles for both and switch them on the fly.
> XFCE has that?
> 
> Thunar is a great browser but it lacks in tabbed browsing.
> I cannot open tabs in thunar.
> Also it does not have a network bookmark on the left pane
> to browse the network.
> Nautlus is great but then why do I install gnome dependency on xfce?

Network Manager isn't good, it's bad, however if you like it, you can
use it with Xfce too and don't worry about installing GNOME
dependencies, since Xfce is based on much GNOME stuff. Regarding to
Thunar vs Nautlius, note that if you install all that automatic crap,
than Thunar anyway will use GNOME Virtual File System. Xfce is based on
GTK too. IOW you could use Natilus with Xfce and don't need to worry
about too much extra dependencies, but you still could benefit from the
advantages that Xfce has got over GNOME.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1391603273.701.63.camel@archlinux



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Anubhav Yadav
> The slowness you've been
> noticing, as people have pointed out, may be due do GNOME and
> whichever start-up proggies it has. I'd recommend LXDE, XFCE or
> fluxbox instead of awesome though.
>

I have tried xfce and I believe that its a great great desktop environment,
However I am restricted in using that for a couple of reasons.
1) It does not seem to have a good network manager.
the network manager in gnome lets us define some profiles for different
networks and you can switch them easily.

For eg I have a static IP address at home and DHCP at my college.
In gnome I can make two profiles for both and switch them on the fly.
XFCE has that?

Thunar is a great browser but it lacks in tabbed browsing.
I cannot open tabs in thunar.
Also it does not have a network bookmark on the left pane
to browse the network.
Nautlus is great but then why do I install gnome dependency on xfce?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA+Jf9AEZvzWJVZUU18dAM8rgAXu1gyE9Ed_txtBNnC-=gfv...@mail.gmail.com



Handbrake crashing

2014-02-05 Thread Brad Alexander
Has anyone seen this behavior in handbrake? I fired it up on both my sid
workstation and my sid laptop, and as soon as I click the source and select
the cdrom (or sr0 or dvd), it begins scanning the DVD, then the entire app
crashes. No errors in the logs, and even when I started from the command
line, there were no error messages. I checked bugs.d.o, and didn't find
anything resembling the bug

The DVD plays back fine in both mplayer and vlc.

Any ideas?
--b


Re: Any reason not to run amd64 these days?

2014-02-05 Thread berenger . morel



Le 05.02.2014 04:46, Stephen Powell a écrit :

On Sun, 02 Feb 2014 15:58:54 -0500 (EST), Rick Macdonald wrote:


Still, I'd like to ask on the list here. Are there any issues with
switching to amd64? What about drivers?


I've had nothing but trouble with my first amd64 system.  The 3.12 
kernel

of jessie won't even boot for me.  But my experience appears to be
atypical.  The general public isn't having such problems, it seems.

--
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


Simply curious, what kind of error message did you had? ( if you 
remember, of course )



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/c9f07958b1febe180896db385beae...@neutralite.org



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Ralf Mardorf
I stay with MBR and recommend before switching to LVM, to test the usage
in a virtual machine. As long as the maximum size of your HDDs is
<= 2 TB MBR doesn't cause issues and it definitively is easier to use
MBR than LVM, including resizing partitions. The advantage that you can
enlarge a "partition" virtually might be good for data servers, but
likely will cause confusion on a home PC.

For most home PC usages LVM will add more disadvantages than advantages.

Simply test it by e.g. installing a Linux to e.g. Virtual Box, that's
how I formed an opinion about LVM vs MBR.

I will stay with MBR as long as possible. For my needs LVM is a PITA.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1391601824.701.56.camel@archlinux



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Nuno Magalhães
Hi,

On Wed, Feb 5, 2014 at 6:33 AM, Anubhav Yadav  wrote:
> 2) As you can see in the screenshot, gparted shows that the hdd is
> only 698 gb whereas when purchased it was 720 GB. Any ways to recover
> the lost sectors back?

As people pointed out, GB and GiB are different[1]. However, 720GB is
670.6 GiB, and 698GiB (i don't know gparted) is 749.5 GB; and no one
mentioned the fact that FATs take up space too.

About your disk, 5400 RPMs vs 7200 does make a difference, but you'll
notice it both in Windows and Debian. The slowness you've been
noticing, as people have pointed out, may be due do GNOME and
whichever start-up proggies it has. I'd recommend LXDE, XFCE or
fluxbox instead of awesome though.

As for partitioning - backup your data first. If instead you want to
keep some partitions untouched, the Debian installer allows you to
(but don't go automatic). If you're gonna wipe the disk clean, i'd
recommend using LVM and setting small partitions. You can always grow
them later (shrinking them depends on the underlying filesystem - you
can't shrink XFS).

Don't bother virtualizing windows if you want it for games (but that's
just me), for that you should just keep dual-booting. Careful if
you're reinstalling everything - Windows will clear your MBR, so
install it first (you may partition an NTFS for it and leave the rest
unpartitioned), and only after install Debian.

My 2¢.
HTH,
Nuno

[1] https://en.wikipedia.org/wiki/Binary_prefix


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cadqa9uyxz4eg0gbk1zb24d2mjnoi9sy_3aau1ew9lxvthry...@mail.gmail.com



postfix: maildir-style delivery with external MDA?

2014-02-05 Thread Andrei POPESCU
Hi all,

I'm aware this is a bit off-topic, but as far as I can tell there are 
lots of Postfix users on this list and I thought I should try my luck 
here before the Postfix lists :)

The setup
-
I am running postfix on my laptop mostly for sending, but also local 
mail (cron, r2e, etc.), maildrop for sorting/filtering to Maildirs and 
notmuch for indexing (via a cron job).

The problem
---
Since version 2.7.1-1 (current sid) maildrop does *not* remove the first 
'From ' line (also called unix style From_) if present as it did before 
(see #737383 wontfix for more info) and notmuch complains loudly about 
it triggering a loop (the warning ends up as output from cron, which 
creates another message for notmuch to complain about and so on).

Things I tried
--
My preferred solution would be to configure Postfix to do Maildir-style 
delivery via maildrop, but I have checked the Postfix documentation and 
done some tests as far as I can tell there is no way to do so. Besides 
solving this issue it seems I would get rid of the annoying '>From' at 
start of lines. Pointers much appreciated.

I could, of course, work around this in several ways, like use 
'home_mailbox = Maildir/' to do the delivery, but then I loose 
maildrop's sorting/filtering :(

Constraints
---
I'd rather not switch away from procmail/maildrop/notmuch if possible 
and using some additional filter (reformail -f0 was suggested in 
#737383) just seems ugly.

Thanks for reading,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: Any reason not to run amd64 these days?

2014-02-05 Thread Raffaele Morelli
2014-02-05 Andrei POPESCU :

> On Du, 02 feb 14, 13:58:54, Rick Macdonald wrote:
> >
> >
> > What about running 32 bit windows and apps in wine or VMWare?
>
> I've had issues with *sid* amd64 and skype. Would apreciate comments on
> this from others as I plan to test a cross-grade Real Soon Now (tm).
>

jessie amd64 here, no issues with skype though I must use a loopback device
(alsa+jack bridge) for audio to work correctly.


> Kind regards,
> Andrei


/r


Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Lisi Reisz
On Wednesday 05 February 2014 08:43:15 Anubhav Yadav wrote:
> > Also, does it just wait as though it is checking your
> > credentials, or do you actually login, but get a spinning cursor
> > or something else?
>
> Yes, spinning cursor! Exactly!

As you suggest yourself, ditch GNOME 3.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201402051006.38401.lisi.re...@gmail.com



Re: getmail FAIL - lost email

2014-02-05 Thread Andrei POPESCU
On Lu, 03 feb 14, 09:34:13, Celejar wrote:
> 
> Is there anything I can do to recover them? getmail is set to delete
> messages on the server after successful retrieval, and it's apparently
> doing so here, *even though the delivery is failing*!
 
That has not been my experience.

> This behavior is surely unacceptable. Is there a way to tell getmail to
> wait to delete until successful delivery? How about a way to tell
> getmail to abort if the mailbox is corrupt? What causes this corruption
> (this is a laptop, no power failure or disk corruption AFAIK, etc.)?

fsck?

> How to prevent it? Is there a better MRA / MDA the list recommends? Has
> anyone seen this sort of thing with either getmail or other MRAs / MDAs?

I'm running getmail for years now and never had such issues. You might 
want to report this upstream, the Author is usually very responsive on 
the mailing list.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Lisi Reisz
On Wednesday 05 February 2014 06:33:35 Anubhav Yadav wrote:
> 2) As you can see in the screenshot, gparted shows that the hdd is
> only 698 gb whereas when purchased it was 720 GB. Any ways to
> recover the lost sectors back?

No, it does not say that you have 698 Gigabytes (decimal), it says 
that you have 698 gibibytes (binary).  I would imagine that suppliers 
use the decimal because it sounds more; hence 720 Gigabytes.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201402050958.49269.lisi.re...@gmail.com



Re: Any reason not to run amd64 these days?

2014-02-05 Thread Andrei POPESCU
On Du, 02 feb 14, 13:58:54, Rick Macdonald wrote:
> 
> 
> What about running 32 bit windows and apps in wine or VMWare?

I've had issues with *sid* amd64 and skype. Would apreciate comments on 
this from others as I plan to test a cross-grade Real Soon Now (tm).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread berenger . morel



Le 05.02.2014 07:46, Zenaan Harkness a écrit :

On 2/5/14, Anubhav Yadav  wrote:

Hello list,

I have an Asus laptop, with 720 gigs hardisk and i5 processor.
Right now I have a dual boot of Windoze (only for playing fifa
and assassins creed) and debian wheezy 64 bit.



Here is the screenshot of my current partitions.
http://i.imgur.com/YI4a1oU.png


I used to use multiple partitions as you do.

Nowadays, the only partitions I use are:
/boot - about 1GiB
/ - root partition, the rest

This way, it's really simple, and the old reasons (for most home 
users
at least) for having multiple partitions are no longer valid 
(separate

backups, making sure /root does not fill up, etc), since the HDDs are
so capacious.


I use various HDDs, and usually they have less than 500GiB, so, I still 
do some partitioning job when I install my computers.


First, I try to have a 5GiB boot partition. Why so big? Because DVD are 
4.7GiB large, so this size allows me if I have a problem to boot on 
installation iso DVD. I could use other isos, indeed, but sometimes I 
lack Internet connection.
Then, my / partition is around 1GiB. Probably too large, since it 
contains only few files, almost only text files ( /etc ).
I mount /var and /usr on other partitions, first because it is advised 
to do so on lot of Internet docs, but in the time, facts and experience 
proved that those docs were true, because one time I did not did it, and 
filled my root partition ( /var growth fast when you are using more than 
one repo, and /usr also when you tinker and try to discover tools ). It 
was not hard to understand and fix the problem, but I do now really want 
to tinker again with this if I can avoid it. At the moment, I use 
something like 5GiB for /usr and same for /var.
However, someone with larger HDDs could simply use, say, 50GiB for /, 
/usr and /var. It should be enough to contain all Debian DVDs for one 
arch, which means that even if you install everything for your arch, you 
wont fill entirely your /.
Then, I usually have 2 partitions of same size: one for /home, another 
to backup /home, in case I do something wrong. I must admit that I 
rarely do backup so it's almost only wasted space.
For /tmp, I use a 1GiB partition, formatted with ext2, to not have any 
journaling feature, and so, increase speed, even if it is not a lot.


Another reason that I can see about partitioning with some care, if you 
know what you want and the size of tools you need, is configuration of 
partitions. For example, / will only have very small files in it, so you 
can use "news" option of ext, and /var may contain big files, so using 
"largfile" ( or something alike ) may, or may not, be interesting. It 
will loose lot of space for small files, but will avoid fragmentation of 
bigger ones ( yes, fragmentation exists on extX, even if the problem is 
far less problematic than with FAT or NTFS. Reducing fragmentation may, 
or may not, speed up when the system do some cleaning there ). There is 
also the possibility to forbid executing files on some partitions, or 
use options like noatime.


But, those things are for tinkerers and/or people which needs high 
performances, for example on servers. A normal user probably do not mind 
about that.



1) What partitioning scheme should I choose now, If I want to have
/home, /var, /usr, /tmp on different partitions and I just want a 
windoze

partition of 50-60 gb.


But WHY do you want them on separate partitions? XY problem?


I second this. Partitioning is something which cost a lot of time. 
Doing it without knowing why is not a good thing.



Now, if your boot is slow, I do not think that the problem comes from a 
bad partition scheme. I would bet more on the same reasons which makes 
windows computer slow: tons of useless stuff starts.

Try to run:
$/usr/sbin/service --status-all

You will probably find stuff you do not need and which are running. 
Also, it depends heavily on your desktop environment. Using bloatwares 
makes the computer slow. KDE and gnome may be called bloatwares, and are 
if you do not use most of their features.
Using the right tools for your needs is the best way to make a computer 
fast, even despite old hardware. The problem is that it implies to learn 
what you really need, and which software gives you only the feature you 
really use.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/55d9656fd97191adc7213607af3c1...@neutralite.org



Re: Any reason not to run amd64 these days?

2014-02-05 Thread berenger . morel



Le 04.02.2014 15:16, darkestkhan a écrit :

On Mon, Feb 3, 2014 at 8:15 PM, Ralf Mardorf
 wrote:

On Mon, 2014-02-03 at 10:56 -0600, y...@marupa.net wrote:
You will, especially on this mailing list, get a lot of people who 
act
like running 64-bit if you don't have more than 4 GiB of RAM is 
some

sort of apocalyptic disaster


I "only" have 4 GiB and I used 64-bit architecture with less than 4 
GiB

too. IMO using 64-bit is better than to use 32-bit.



Especially when one considers that 64-bit applications can make use 
of

full register set of AMD64 (which is 16 instead of 8). This by itself
can give
quite a bit of speedup for some applications (like games, media,
{de,}compression). I'm running it w/o any issues on laptop with 2.5GB 
RAM
available. Granted sometimes I would like to have slightly more RAM 
(4GB
would be really nice), but on day to day basis I don't have problems 
with it.


--

darkestkhan
--
Feel free to CC me.
jid: darkestk...@gmail.com
May The Source be with You.


I have 2 64bits computers at home, a desktop with lot of ram ( 4GB, and 
I never have used more than 3 with debian... cache included. ), and a 
netbook with only 1GB of ram.


The netbook lacked a bit of ram when I ran compilation with 2 threads 
on GCC, but with CLang it is no longer an issue, even with 4 threads ( 
and only compilation with 4 threads was able to use fully the processor. 
). No bug of any kind because of drivers or multiarch on those computers 
at all. The netbook have non-free driver for wifi, and the desktop uses 
the nvidia blob. I am also using skype which is 32bit and opera ( non 
free, but they give 64 and 32 bit version, for most distros. Those guys 
are really great btw! )
For now, I do not have to use wine, but I see no reason for which it 
would not work, the installation is pretty straightforward, if you added 
32bit arch previously. Or you could install some virtual computer, which 
could be ( or not ) a more reliable solution.


The only problems with Debian's multiarch implementation are, that you 
will not be able to disable the iX86 arch after having enabled it, and 
that the dependency resolution system is quite poor: sometimes it will 
install 32bit libraries which are not really needed, but I did not dug a 
lot to understand the how and why of that fact ( I had the problem with 
some qt libs. Multiarch is so messy nowadays... )


Now, amd64 will allow you to make full use of your hardware, unlike 
iX86 archs. So I really see no valid reason to install debian i386 on an 
amd64 computer.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/7648401ae456bb77bebeb553938a4...@neutralite.org



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Anubhav Yadav
On Wed, Feb 5, 2014 at 2:01 PM, Chris Bannister
 wrote:
> On Wed, Feb 05, 2014 at 12:46:07PM +0530, Anubhav Yadav wrote:
>>
>> Because when my computer boots up, it takes like 25 seconds more
>> to get started after entering the username and password. That is 25 seconds
>> of more wait after logging in.
>
> Is that logging in at the tty prompt or through a GDM, if a GDM which
> one?
>
> Have you tried another GDM?

It's GDM. I haven't tried any other on this laptop, I can install
lightDM. But then after formatting
I am going to ditch gnome and switch to awesome.

>
> Also, does it just wait as though it is checking your credentials, or do
> you actually login, but get a spinning cursor or something else?
>

Yes, spinning cursor! Exactly!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+jf9aen8+q9wptbynpsiau9wxngr9ruu15zvtpscs05k3z...@mail.gmail.com



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread Chris Bannister
On Wed, Feb 05, 2014 at 12:46:07PM +0530, Anubhav Yadav wrote:
> 
> Because when my computer boots up, it takes like 25 seconds more
> to get started after entering the username and password. That is 25 seconds
> of more wait after logging in.

Is that logging in at the tty prompt or through a GDM, if a GDM which
one?

Have you tried another GDM?

Also, does it just wait as though it is checking your credentials, or do
you actually login, but get a spinning cursor or something else?

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140205083155.GA27317@tal



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread David Christensen

On 02/04/2014 11:00 PM, Anubhav Yadav wrote:

The HDD I have in my laptop has somewhat low rpms, maybe that's
the issue?
Its a sata HDD with 5400 rpms!


5400 vs. 7200 RPM is measurable, but HDD vs. SSD is amazing -- ~10 ms 
seek time vs. ~100 us latency (2 orders of magnitude!).  This is most 
noticeable at boot, when your OS is trying to load hundreds (thousands?) 
of files.  If you can afford ~$100, it's worth it.



David


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52f1f416.5050...@holgerdanske.com



Re: About to format the whole laptop, need some partitioning advice.

2014-02-05 Thread David Christensen

On 02/04/2014 10:33 PM, Anubhav Yadav wrote:

I have an Asus laptop, with 720 gigs hardisk and i5 processor.
Right now I have a dual boot of Windoze ... and debian wheezy 64 bit.
Debian takes a lots of time for booting up ...
There was a tool which gave the read-write speeds of my hdd,
that was mentioned by the guys in irc, I cant remember now, and
the speeds were very low.


I'll assume you've backed up everything on that HDD.


Most major hard drive manufacturers offer drive diagnostic tools. 
Download the tool for your brand of HDD and use it to check your drive. 
 (I prefer a stand-alone bootable ISO image that I can burn to CD.)



Also download a hard drive benchmarking tool, run it, and save the 
results to files (and back those up).  You will then have a baseline to 
make comparisons against.



> some people also suggested that my partitions are somehow not right.
> Here is the screenshot of my current partitions.
> http://i.imgur.com/YI4a1oU.png

Multiple scattered partitions on a HDD are non-optimal and can be a 
performance (and lifetime) problem, depending upon usage.



Do you know if the drive has 512 B (2**9) or 4 KiB (2**12) blocks?  If 4 
KiB, are the partitions aligned to 4 KiB boundaries?  If not, that will 
cause problems.




So now since I am about to partition I would like to know what should
be the ideal partitioning scheme.
So these are the questions:
1) What partitioning scheme should I choose now, If I want to have
/home, /var, /usr, /tmp on different partitions and I just want a windoze
partition of 50-60 gb.


I'd suggest that you check and wipe the drive using the manufacturer 
diagnostic, dedicate the entire drive to one OS (I'd pick Windows), and 
let the OS installer partition and format the entire drive using 
defaults.  Use desktop virtualization (VirtualBox, VMware, etc.) for 
other OS's.




2) As you can see in the screenshot, gparted shows that the hdd is
only 698 gb whereas when purchased it was 720 GB. Any ways to recover
the lost sectors back?


Your drive hasn't lost any sectors.


Electrical engineering/ computer science people used to define GB as 
2**30 bytes = 1,073,741,824 bytes.



Marketing people noticed that the metric system defined "Giga" (G) as 
1.0E+09 = 1,000,000,000 (1 billion), so now hard drive and system 
manufacturers use that convention because the number that people see is 
bigger (because the units are smaller).



EE/CS people are now starting to use GiB for 2**30 bytes.


The screenshot shows "/dev/sda 698.64 GiB", which I interpret as 698.64 
* 2**30 bytes =~ 750 GB.



HTH,

David


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52f1f226.5070...@holgerdanske.com