Re: [arch-general] How big really is the MBR?
On Sat, 3 Sep 2011 18:09:10 -0400 Eric Griffith egriffit...@gmail.com wrote: Whats up guys, Was planning on re-install Arch on my laptop, started writing a couple scripts to handle the usual things I do. One of the NEW things im going to be trying is grub2. Now, the Grub2 wiki says to run dd if=/dev/zero of=/dev/sda bs=440 count=1 to wipe out grub-legacy from the MBR. And since the Arch-devs removed No Bootloader as an option in the AIF, you can't follow the during installation instructions for Grub2. Here's my problem, just by sheer luck was I roaming the web today, and noticed a few other threads (in various forums for various distros / blogs) and they all had a similar command to run if youre grub-legacy was screwed and you needed to write over it. The only issue, and the reason for this email? They had different commands. Not completly different, but different enough that raised an eyebrow. In dd if=/dev/zero of=/dev/sda bs=440 count=1 They had various numbers for bs=, some 440, some 446, some 506, and some 512. Normally I would've just shrugged and followed the wiki, but notice on one said that if you zero out too far, you wipe out hte partition table...which I wouldn't enjoy haha. So can anyone confirm that the command above, from the wiki, is correct? And that it IS 440, and not something different. I'd hate to pick the wrong one and zero out my partition table, or not completly zero out grub-legacy and run into a whole different set of problems. Thanks! grub gets installed in the first 440 (446) bytes, then some disk-specific data (optional), the rest takes up the partition table up to the 512th byte. look also at https://secure.wikimedia.org/wikipedia/en/wiki/Master_boot_record signature.asc Description: PGP signature
Re: [arch-general] btrfs Arch
On Mon, 22 Aug 2011 10:43:58 +0200 Seblu se...@seblu.net wrote: On Mon, Aug 22, 2011 at 8:17 AM, Gour-Gadadhara Dasa g...@atmarama.net wrote: Afaics, btrfs will soon get fsck tool for repairing the fs, but I wonder what's the plan for btrfs support in Arch, iow, when it can become 'official' ? BTRFS is already supported by initscripts: https://projects.archlinux.org/initscripts.git/commit/?id=ca372312062e7843ca69e2edd54b58ab609a69ee and package is in core distro repository: http://www.archlinux.org/packages/core/x86_64/btrfs-progs-unstable/ This sounds official. But as underline Thomas, btrfs is still unstable ! However, ubuntu does not seem to be afraid : https://help.ubuntu.com/community/btrfs There is enough reason to be afraid. After 4 weeks of unencumbered using, rm'ing a directory failed with the error directory not empty. A fs check showed errors, as expected, but of course I wasn't able to repair it. Now I'm back to ext4. signature.asc Description: PGP signature
Re: [arch-general] Gnome 3, a bug?
This is such a basic issue that I refuse to believe I'm the first to bump into this behaviour. Hence I ask here first for some help. I recently upgraded to Gnome3 and switching between windows with alt+tab is rather broken for me. Here's why I say that: 1. I make sure I have two non-overlapping windows on the screen at the same time. 2. I position the mouse pointer in one of the window. 3. At this point I can't switch focus to the other window with alt+tab. Basically I have two options: 1. Move the mouse pointer so that it's not in any window, then I can use alt+tab. 2. Move the mouse to switch focus. Neither of these is very convenient. Does anyone recognise this? /M It's a design pattern of the GNOME Shell. Switching between windows work application based, not window based. Which means, if a Webbrowser is opened and two Shells, you won't switch between the shells but between Firefox and the last focused shell. You can get back the old behavior, though. Just install gnome-shell-extensions-git from AUR.
[arch-general] what about a gtk3-docs package?
Hi, I recently installed the dev tools for GNOME development and wondered why devhelp displayed no documentation for GTK3. Apparently there is no gtk3-docs package. Is it intented to not have that package (which makes no sense as there is the gtk2-docs package)? Now that GNOME 3 moved to [extra] it would be great to have the docs at hand. Thanks.
Re: [arch-general] what about a gtk3-docs package?
On 05/01/2011 18:57, Ionut Biru wrote: On 05/01/2011 07:48 PM, Aljosha Papsch wrote: Hi, I recently installed the dev tools for GNOME development and wondered why devhelp displayed no documentation for GTK3. Apparently there is no gtk3-docs package. Is it intented to not have that package (which makes no sense as there is the gtk2-docs package)? Now that GNOME 3 moved to [extra] it would be great to have the docs at hand. Thanks. send me a PKGBUILD and i'll push it to extra -- Ionuț Finally I got it. Devhelp expects a .devhelp2 file in the book directory. I created it by hand but is there a way to generate this file? The .devhelp2 files are now in the archive file along with the PKGBUILD. Dough, this wicked yahoo web mail interface won't upload the archive file! It's now in the AUR: http://aur.archlinux.org/packages.php?ID=48633 -- Aljosha
Re: [arch-general] New Kernel - Virtualbox VM kernel crash on shutdown
David C. Rankin wrote: Guys, kernel26-2.6.37.5-1 running in a virtualbox vm is causing a kernel crash on shutdown. The full screen of the crash is here: http://www.3111skyline.com/dl/arch/bugs/kernel/vbox-crash-on-shutdown.jpg The Call Trace: shows the likes of: shrink_dcache_for_unmount_subtree shrink_dcache_for_unmount generic_shutdown_super snip I'm not great at reading the screens, so if you are interested in the full error, it is shown in the link about. Has anyone else found a workaround? -- David C. Rankin, J.D.,P.E. Are you sure it's a kernel bug? Your screen says segmentation fault in umount, so there must be some bug in that tool, not linux. Also, if the kernel panicks, the system won't shutdown at all. BTW, I recommend using png files instead of jpg. :)
Re: [arch-general] PKGBUILD work
Am 05.02.2011 16:17, schrieb Bernardo Barros: yep! could you give an example of a bash function that gets the $pkgver from a file? Just paste Gaetans two lines into a file: . `pwd`/PKGBUILD echo $pkgver Save it in a directory which is in your PATH variable and make it executeable. If you mean with file an archive from AUR, then you have to untar it first: tar -xzf `pwd`/$1.tar.gz cd `pwd`/$1 . `pwd`/PKGBUILD echo $pkgver # Clean up cd .. rm -r $1 You must call this script with the package name obtained, e.g. pkgver dccnightmare
Re: [arch-general] How to encrypt /home, so it gets mounted during boot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 28.01.2011 22:57, schrieb Karol Babioch: it seems to work now, but I had to put /dev/mapper/raid-home in the fstab, instead of /dev/raid/home. I guess its time to ask for the difference between those both, because I never really got it. Since I work with network block devices combined with luks encryption I can say that in /dev/mapper you can access the decrypted device files while /dev/raid has something to do with your raid configuration. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNRmHqAAoJEBoigEhhR7586DEIAJwmboMUNpUKK66XunR8QmvH 83dHAKRfR//mInfeBxv9Cot6aPovDAQ51gXe9TwP0Krlo/rV337IbY2yZL28trjj HZ0sBMiJ/HSiRQ89aUN6C/r0jdvt+LkD0KcLfxhujW+5FeLgNzPfeOOGblr0ABjk 6UDgIiWigUrkVgBq/q7ZRe5yxaK/nvuzVRZJY0YcwDBSoDeoWuGUDQX+76lacI2T TURQHbOXZrK5HJ/fTEocOldhVk7YTtMCC48qHyId7JYF3zgVZiBMmxK13CJg0+6J r+A8g5Lpk2Tl+rW6J5D6j1Xn9P/0dn0yXkuKTwG4f6pBOXPaU6FG+fYl0aUXwrY= =9ZGx -END PGP SIGNATURE-
Re: [arch-general] Odd message on boot
It means, D-BUS (or any message bus) is missing a group specified in its configuration file. A solution might be to just create the group.
Re: [arch-general] [OT]Disk showing too many bad sectors - is it going to fail ?
The hard disk makes some funny noises (clicking, dangling, ...) and you wonder why some files are missing, though the disk is still useable. Linux should throw a bunch of errors at boot time, but Windows (98) continues with its work until something crashes. Partha Chowdhury schrieb am So 17. Okt, 2010 16:55 CEST: On Sat, Oct 16, 2010 at 01:48:06PM +0100, Mauro Santos wrote: If you can, try overwriting the whole disk with dd, or test it with badblocks using the write and readback test and see if anything changes. The not so worst case is that you caught an impending disk faillure before it caused trouble and you already have a backup, the best case is that you find out those values are bogus and should not be taken into account. i overwrote the whole disk with ddrescue -f /dev/zero /dev/sdb.After one and a half hours later it stopped with the message no space left on device - i guess it indicates no problem ? i also tried the badblocks program with -w option. It took a long time 5+ hours but did not report a bad sector. On Sat, Oct 16, 2010 at 12:17:50PM -0500, David C. Rankin wrote: There have been a number of firmware changes/updates for seagate drives over the past 3 years and several bad runs of disks. Check the seagate support site and make sure you have the latest firmware for your drive. I have had the bad sector errors - sometimes a true failure, sometimes not. Just backup, monitor and if you continue to get the errors, drop of $50 on a new 1T drive. I checked the seagate site and there is no firmware upgrade for this model. On further googling, i found that seagate is only offering firmware upgrades for 7200.12 model onwards. Now to be absolutely sure, i downloaded the seatools program and it ran a short and long test which both said PASSED. Inspite of all these, gsmartcontrol shows the same. What are the indications before a disk is going bad which a normal user can catch with bare eyes and ears ?
Re: [arch-general] [OT]Disk showing too many bad sectors - is it going to fail ?
The hard disk makes some funny noises (clicking, dangling, ...) and you wonder why some files are missing, though the disk is still useable. Linux should throw a bunch of errors at boot time, but Windows (98) continues with its work until something crashes. Partha Chowdhury schrieb am So 17. Okt, 2010 16:55 CEST: On Sat, Oct 16, 2010 at 01:48:06PM +0100, Mauro Santos wrote: If you can, try overwriting the whole disk with dd, or test it with badblocks using the write and readback test and see if anything changes. The not so worst case is that you caught an impending disk faillure before it caused trouble and you already have a backup, the best case is that you find out those values are bogus and should not be taken into account. i overwrote the whole disk with ddrescue -f /dev/zero /dev/sdb.After one and a half hours later it stopped with the message no space left on device - i guess it indicates no problem ? i also tried the badblocks program with -w option. It took a long time 5+ hours but did not report a bad sector. On Sat, Oct 16, 2010 at 12:17:50PM -0500, David C. Rankin wrote: There have been a number of firmware changes/updates for seagate drives over the past 3 years and several bad runs of disks. Check the seagate support site and make sure you have the latest firmware for your drive. I have had the bad sector errors - sometimes a true failure, sometimes not. Just backup, monitor and if you continue to get the errors, drop of $50 on a new 1T drive. I checked the seagate site and there is no firmware upgrade for this model. On further googling, i found that seagate is only offering firmware upgrades for 7200.12 model onwards. Now to be absolutely sure, i downloaded the seatools program and it ran a short and long test which both said PASSED. Inspite of all these, gsmartcontrol shows the same. What are the indications before a disk is going bad which a normal user can catch with bare eyes and ears ?
Re: [arch-general] Xorg-server 1.8 - when?
Am 16.06.2010 18:04, schrieb f...@kokkinizita.net: On Wed, Jun 16, 2010 at 06:06:59PM +0200, Nicky726 wrote: The last I heard was that the devs are waiting for the legazy nvidia drivers to be updated. (nvidia-173xx/96xx) Uh... to hell with nvidia, there is nouveau... and if I remember correctly noone did wait for the catalyst. no offence ment, just the blob and stuff... It should at least work with nv. Nouveau creates problems for even moderately low latency (audio) work, I just can't use it. How can you answer to a message that was sent after yours?
Re: [arch-general] Label and Format USB Drive
16.06.2010 20:11, Carlos Mennens wrote: I have a USB thrumb drive when I mount it, it mounts fine and shows up as USBDRIVE on my system. I would like to know how I can reformat the drive as fat32 using the 'mkfs' command and also setting a new system label on the drive as ocz_usb? I do not appear to have the tools installed on my Arch system that allow me to format as fat32 and can't find the command to format and set the label? Can this be done in one command step? You need to install the package dosfstools from [extra]. Then you can format your drive with mkfs.