Re: [gentoo-user] Re: Grub2 and is the upgrade a tooth puller.

2012-06-29 Thread Neil Bothwick
On Thu, 28 Jun 2012 17:12:54 -0700, walt wrote:

 I've heard a rumor that Windows doesn't like GUID partition tables, so
 I haven't yet installed grub2 on my one machine that still multiboots
 between operating systems.  (That's my one remaining machine with a
 legal install of Windows.)  I confess I'm not interested enough to
 confirm the rumor, so I continue to wait because there is no incentive
 for me to make the change.

GRUB and GPT are completely unrelated, I use GRUB2 on machines with both
DOS and GPT partition tables, you don't need to repartition your drive to
upgrade your bootloader.

However, I also run GRUB legacy on some systems. I'd never install it
now, but if it's installed and working, why mess with it?


-- 
Neil Bothwick

Give me ambiguity or give me something else.


signature.asc
Description: PGP signature


Re: [gentoo-user] Grub2 and is the upgrade a tooth puller.

2012-06-29 Thread Mike Gilbert
On Tue, Jun 26, 2012 at 3:00 PM, Michael Mol mike...@gmail.com wrote:
 On Tue, Jun 26, 2012 at 2:52 PM, Tanstaafl tansta...@libertytrek.org wrote:
 On 2012-06-25 1:05 AM, Dale rdalek1...@gmail.com wrote:

 Howdy,

 It appears that grub2 is coming soon.


 Has the Handbook/Install docs been updated to provide for installing Grub2
 with a fresh install?

 I'm about to do one, and would like to not have to switch this out later...

 No, handbook only discusses grub (not grub2) and lilo.

 Which is sad; I'd love to use stuff like grub2 and {ext,sys}linux.
 It'd be sweet to make things more easily convertible to netboot or
 cdrom-boot scenarios.

We will add some instructions to the handbook when grub:2 is
stabilized. The docs team doesn't want to do it before then.



Re: [gentoo-user] Grub2 and is the upgrade a tooth puller.

2012-06-29 Thread Michael Orlitzky
On 06/29/12 10:57, Mike Gilbert wrote:

 No, handbook only discusses grub (not grub2) and lilo.

 Which is sad; I'd love to use stuff like grub2 and {ext,sys}linux.
 It'd be sweet to make things more easily convertible to netboot or
 cdrom-boot scenarios.
 
 We will add some instructions to the handbook when grub:2 is
 stabilized. The docs team doesn't want to do it before then.
 

This makes sense, because people only do stable installs.



Re: [gentoo-user] Grub2 and is the upgrade a tooth puller.

2012-06-29 Thread Mike Gilbert
On Mon, Jun 25, 2012 at 1:05 AM, Dale rdalek1...@gmail.com wrote:
 Howdy,

 It appears that grub2 is coming soon.  Thread on -dev said a couple
 months or so till it hits the tree, keyworded and/or masked I'm sure.  I
 guess it is about time to jump off the cliff and give this a try.  I
 installed Kubuntu on a system for my brother and it uses grub2.  I have
 had to edit the config and then run the update script.  I have sort of
 installed and made a config change to grub2, even tho it was only once.
 Basically, I sort of seen the thing at least.  o_O

 My first question is, how hard is this to change from old grub to
 grub2?  I only run Gentoo here, no windoze at all and no other distro
 either.  I figure that may make it easier.  I must confess tho, I'm a
 hoarder of kernels.  LOL   I generally have several versions of them on
 here.  Is there a way for it to only see say the last 3 versions or so?
 I only have three right now but I cleaned out all the non-init kernels a
 while back.  Given time, I may have a dozen or so.  I would rather not
 have that many lines on the grub screen when booting.

 Also, will it know what init thingy image to connect the kernels too?  I
 name my kernels with the version and name the init thingy with a similar
 name.  Looks someting like this:

 root@fireball / # ls -al /boot/bzImage-3.*
 -rw-r--r-- 1 root root 4740064 May 16 20:25 /boot/bzImage-3.3.5-2
 -rw-r--r-- 1 root root 4758496 May 23 13:09 /boot/bzImage-3.4.0-1
 -rw-r--r-- 1 root root 4758816 Jun 14 09:00 /boot/bzImage-3.4.2.r1-1
 root@fireball / # ls -al /boot/initramfs-3.*
 -rw-r--r-- 1 root root 3560934 May 12 05:03 /boot/initramfs-3.3.5-1.img
 -rw-r--r-- 1 root root 3560423 May 23 13:10 /boot/initramfs-3.4.0.img
 -rw-r--r-- 1 root root 3561170 Jun 14 09:05 /boot/initramfs-3.4.2.img
 root@fireball / #

 There are times when I may have more than one kernel but only one init
 thingy tho.  So far, one init thingy will work with any kernel of that
 version.  I have not tried mixing tho.

 Also, how much disk space does grub take up on /boot?  Mine is on a
 separate partition and I hope it is large enough.

 Thoughts.  Info.

 Thanks in advance.


Thanks for announcing this Dale. grub-2.00 is in ~arch as of last night.

Given your current naming scheme, grub2-mkconfig will not detect your
kernels. They must be named vmlinuz-version or kernel-version. For
example:

/boot/vmlinuz-3.4.3
/boot/kernel-2.6.39-gentoo

Your initramfs files look good.

Space wise, grub needs a couple hundred sectors after your MBR to
embed itself. If you used the default fdisk setting when you
partitioned your drive, you should have 2047 free sectors that it can
use.

If you have your kernels named properly and some free sectors on your
hard drive, setting up grub:2 is a very easy process. See the wiki
page for more info.

http://wiki.gentoo.org/wiki/GRUB2_Quick_Start



Re: [gentoo-user] Any recommendations for PCI-X SATA cards?

2012-06-29 Thread felix
On Sat, Jun 23, 2012 at 06:05:30PM -0400, Michael Mol wrote:

 I have a couple MV88SX6081 8-port SATA II PCI-X Controller devices I
 picked up from Newegg a couple years back. They work beautifully.

It came, I installed it, it shows a BIOS page on reboot, and lspci
knows about it.  However, the two drives on it are unrecognized.

Does this require some specific kernel options or modules or firmware?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Any recommendations for PCI-X SATA cards?

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 09:57:20AM -0700, fe...@crowfix.com wrote:
 On Sat, Jun 23, 2012 at 06:05:30PM -0400, Michael Mol wrote:
 
  I have a couple MV88SX6081 8-port SATA II PCI-X Controller devices I
  picked up from Newegg a couple years back. They work beautifully.
 
 It came, I installed it, it shows a BIOS page on reboot, and lspci
 knows about it.  However, the two drives on it are unrecognized.
 
 Does this require some specific kernel options or modules or firmware?

Aiieee!  For some reason, my kernel has every SATA driver configured EXCEPT 
sata_mv.

I'll report back in a while 

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Any recommendations for PCI-X SATA cards?

2012-06-29 Thread Paul Hartman
On Fri, Jun 29, 2012 at 12:45 PM,  fe...@crowfix.com wrote:
 On Fri, Jun 29, 2012 at 09:57:20AM -0700, fe...@crowfix.com wrote:
 On Sat, Jun 23, 2012 at 06:05:30PM -0400, Michael Mol wrote:

  I have a couple MV88SX6081 8-port SATA II PCI-X Controller devices I
  picked up from Newegg a couple years back. They work beautifully.

 It came, I installed it, it shows a BIOS page on reboot, and lspci
 knows about it.  However, the two drives on it are unrecognized.

 Does this require some specific kernel options or modules or firmware?

 Aiieee!  For some reason, my kernel has every SATA driver configured EXCEPT 
 sata_mv.

 I'll report back in a while 

You should be able to put it in AHCI mode somewhere in the
BIOS/settings and be able to use the ahci driver instead. I have this
similar chipset and use ahci driver with no problems:

SATA controller [0106]: Marvell Technology Group Ltd. 88SE9128 PCIe
SATA 6 Gb/s RAID controller [1b4b:9128] (rev 11)



[gentoo-user] grub2 in portage

2012-06-29 Thread Allan Gottlieb
Now that grub is slotted (slot:2 is grub2; slot:0 is legacy grub),
an update world will merge grub-2.00 along side my current
grub-0.97-r12.

Am I correct in believing that, if I *do* the emerge but *not* do
anything else with grub, I will continue to use legacy grub (-0.97-r12)
whenever I boot?

I realize I can add
sys-boot/grub:2
to package.mask

thanks,
allan



[gentoo-user] Re: Is wrong 4k sector alignment still an issue?

2012-06-29 Thread Nikos Chantziaras

On 29/06/12 07:22, David Haller wrote:

Hello,

On Fri, 29 Jun 2012, Nikos Chantziaras wrote:

OK, I now have the new disk.  Unfortunately, it turns out that GPT is
not an option, since Grub can't dual boot an UEFI/GPT installed
Windows 7 (you can't install Windows on a GPT disk if you don't
perform a UEFI install of Windows.)


You need to boot Windows directly via EFI, and linux via an EFI
elilo or grub-efi or grub2 loader (elilo.efi/grub.efi/grubx64.efi in
the EFI-boot-partition).

See: http://www.rodsbooks.com/efi-bootloaders/index.html


And if Grub can do it, then it's much more difficult to set up
compared to a BIOS boot.  I surely don't have a clue as to how to do
that.


http://rodsbooks.com/gdisk/

http://rodsbooks.com/gdisk/booting.html (Section
Booting from GPT on BIOS-Based Computers, esp. subsection Windows
and Hybrid MBR Issues).

http://rodsbooks.com/gdisk/hybrid.html
(titled: Hybrid MBRs: The Good, the Bad, and the So Ugly You'll Tear
Your Eyes Out ;)


I settled with an MBR-based boot solution and MSDOS partitioning, like 
before.  It's easy to setup.  The whole EFI multiboot setup does not 
seem worth the effort to me.  If it was easier to setup, I'd go for it, 
but as it stands, it's a nightmare to work with.





Re: [gentoo-user] grub2 in portage

2012-06-29 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29.06.2012 20:46, Allan Gottlieb wrote:
 Now that grub is slotted (slot:2 is grub2; slot:0 is legacy grub), 
 an update world will merge grub-2.00 along side my current 
 grub-0.97-r12.
 
 Am I correct in believing that, if I *do* the emerge but *not* do 
 anything else with grub, I will continue to use legacy grub
 (-0.97-r12) whenever I boot?
 
 I realize I can add sys-boot/grub:2 to package.mask
 
 thanks, allan
 

Yes - to both

- - you can mask the slot for grub2
- - you can install grub2 (that is the binaries) and continue to use
grub legacy (until you issue grub2-install device).

Personally I use grub2 for at least 2 years (1.97 or something like
that) and encountered few to none problems.
I find it even more comfortable (due to automatic config generation).

WKR
Hinnerk
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJP7fpbAAoJEJwwOFaNFkYc2EwIAItuXOtIVlM5cliFnuYTrCgA
eQ7iXSgE0PuBW7ShEIG2GU5HNzxhkMwNZbmxF4fUS6AEbbI/b9ie0YIdAOBwS1FB
bRxHGtW2DxcnR4f6ih7QKjBZ9Mc7wKmIma1+/7NfkCfcvEG3BT2SkWPRxPTU8xOV
GWKH2ZuYEk00R1mvhD7tScVEhFS0xs82iS6K3KLd+kptKd6K0uPDphfTg+5yfqam
dAV0RHO2cYAswB/nNTRpTJ3uGQZnR+HJCsyF0NplZ4skqbtp3yas324x0UaHdOw0
8rTkJFDA0BPN4JnN+L58Po00jJLVzGcWO5t9WGLEStaavLeNdsMEfIDxoZtPUeY=
=T0Ig
-END PGP SIGNATURE-



Re: [gentoo-user] grub2 in portage

2012-06-29 Thread Todd Goodman
* Allan Gottlieb gottl...@nyu.edu [120629 14:53]:
 Now that grub is slotted (slot:2 is grub2; slot:0 is legacy grub),
 an update world will merge grub-2.00 along side my current
 grub-0.97-r12.
 
 Am I correct in believing that, if I *do* the emerge but *not* do
 anything else with grub, I will continue to use legacy grub (-0.97-r12)
 whenever I boot?
 
 I realize I can add
 sys-boot/grub:2
 to package.mask
 
 thanks,
 allan

I believe that's the case.  Until you run grub2-install you'll still run
your old grub 0.92-r12.

Make sure you do the step mentioned in the emerge output though and get
grub:0 in your world file or else the next emerge --depclean will remove
your grub-0.97-r12.

Todd



Re: [gentoo-user] grub2 in portage

2012-06-29 Thread Allan Gottlieb
On Fri, Jun 29 2012, Hinnerk van Bruinehsen wrote:

 On 29.06.2012 20:46, Allan Gottlieb wrote:
 Now that grub is slotted (slot:2 is grub2; slot:0 is legacy grub), 
 an update world will merge grub-2.00 along side my current 
 grub-0.97-r12.
 
 Am I correct in believing that, if I *do* the emerge but *not* do 
 anything else with grub, I will continue to use legacy grub
 (-0.97-r12) whenever I boot?
 
 I realize I can add sys-boot/grub:2 to package.mask
 
 thanks, allan
 

 Yes - to both

 - you can mask the slot for grub2
 - you can install grub2 (that is the binaries) and continue to use
 grub legacy (until you issue grub2-install device).

Great.  As I thought.
thanks,
allan



Re: [gentoo-user] Any recommendations for PCI-X SATA cards?

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 10:45:27AM -0700, fe...@crowfix.com wrote:

 Aiieee!  For some reason, my kernel has every SATA driver configured EXCEPT 
 sata_mv.
 
 I'll report back in a while 

That did it.  I now have 8TB of new drive to play with.  Thanks for the card 
recommendation and all the patience :-)

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Re: Grub2 and is the upgrade a tooth puller.

2012-06-29 Thread Grant Edwards
On 2012-06-29, Alecks Gates aleck...@gmail.com wrote:

 I've never had a problem with Grub 2 + Windows (XP, Vista, 7, still
 haven't had the will to sacrifice myself for 8).

I've had problems with Ubuntu and Grub2.  It seems you can't install
grub2 anywhere except the MBR, but I think that may be a bug in the
installer rather than Grub2.

 Although sometimes it seems, with all the complaining some linux
 users like to do about new software, I must be a wee bit lucky.

Nah, mostly we just like to complain.

Young kids these days with their fancy graphics and bloated
software...

Things have been going steadily downhill since the days of V7 on a
PDP-11 with 256K words of RAM, a 20MB hard drive and uucp via dial-up
modems for networking.  Real programmers didn't _need_ more that 64k
of text and 64k data to get the job done.  And that machine supported
8 software engineers doing embedded SW development.  In the snow.  Up
hill both ways.  And we liked it!

 Been using Grub 2 alpha/beta for years with much success!  I've so
 far enjoyed the configuration more than legacy Grub.

-- 
Grant Edwards   grant.b.edwardsYow! MMM-MM!!  So THIS is
  at   BIO-NEBULATION!
  gmail.com




Re: [gentoo-user] grub2 in portage

2012-06-29 Thread Allan Gottlieb
On Fri, Jun 29 2012, Todd Goodman wrote:

 * Allan Gottlieb gottl...@nyu.edu [120629 14:53]:
 Now that grub is slotted (slot:2 is grub2; slot:0 is legacy grub),
 an update world will merge grub-2.00 along side my current
 grub-0.97-r12.
 
 Am I correct in believing that, if I *do* the emerge but *not* do
 anything else with grub, I will continue to use legacy grub (-0.97-r12)
 whenever I boot?
 
 I realize I can add
 sys-boot/grub:2
 to package.mask
 
 thanks,
 allan

 I believe that's the case.  Until you run grub2-install you'll still run
 your old grub 0.92-r12.

 Make sure you do the step mentioned in the emerge output though and get
 grub:0 in your world file or else the next emerge --depclean will remove
 your grub-0.97-r12.

Thanks for the heads-up.
allan



[gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
so I can turn it into an LVM volumne.  So I copied everything there to
the the 7.3TB LVM filesystem, then tried to create a new pv on
/dev/hda1.  No joy.  I get

Device /dev/hda1 not found (or ignored by filtering).

/dev/hda has only /dev/hda1 which takes all the space.  The partition
type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
complaining about?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread covici

fe...@crowfix.com wrote:

 Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
 so I can turn it into an LVM volumne.  So I copied everything there to
 the the 7.3TB LVM filesystem, then tried to create a new pv on
 /dev/hda1.  No joy.  I get
 
 Device /dev/hda1 not found (or ignored by filtering).
 
 /dev/hda has only /dev/hda1 which takes all the space.  The partition
 type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
 tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
 complaining about?
How come its hda?  Perhaps this is the problem, it certainly should be
fixed anyway.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 05:56:58PM -0400, cov...@ccs.covici.com wrote:
 
 fe...@crowfix.com wrote:
 
  Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
  so I can turn it into an LVM volumne.  So I copied everything there to
  the the 7.3TB LVM filesystem, then tried to create a new pv on
  /dev/hda1.  No joy.  I get
  
  Device /dev/hda1 not found (or ignored by filtering).
  
  /dev/hda has only /dev/hda1 which takes all the space.  The partition
  type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
  tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
  complaining about?
 How come its hda?  Perhaps this is the problem, it certainly should be
 fixed anyway.

Because it was set up that way 8 years ago.  /dev/hda is the only IDE
drive in the system, and has the MBR, so I can't make /dev/hda an LVM
volume, it has to be /dev/hda1.  I don't want to make some other drive
the boot drive; they are LVM volumes also.  And I also want an hd(0,x)
for grub which doesn't change as I add new drives.

Besides all that, why do you think it's a problem and how do you
propose fixing it?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread Paul Colquhoun
On Fri, 29 Jun 2012 14:26:51 fe...@crowfix.com wrote:
 Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
 so I can turn it into an LVM volumne.  So I copied everything there to
 the the 7.3TB LVM filesystem, then tried to create a new pv on
 /dev/hda1.  No joy.  I get
 
 Device /dev/hda1 not found (or ignored by filtering).
 
 /dev/hda has only /dev/hda1 which takes all the space.  The partition
 type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
 tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
 complaining about?


What active 'filter = ' lines do you currently have in /etc/lvm/lvm.conf?

Does it have something like 'r|/dev/hd.*' in it to hide all the IDE devices 
from LVM?


-- 
Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol
 Asking for technical help in newsgroups?  Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread Michael Mol
On Fri, Jun 29, 2012 at 5:26 PM,  fe...@crowfix.com wrote:
 Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
 so I can turn it into an LVM volumne.  So I copied everything there to
 the the 7.3TB LVM filesystem, then tried to create a new pv on
 /dev/hda1.  No joy.  I get

    Device /dev/hda1 not found (or ignored by filtering).

 /dev/hda has only /dev/hda1 which takes all the space.  The partition
 type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
 tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
 complaining about?

...I don't know, but I think you ought to burn in those drives before
you move all of your data onto them. One good way might be to create,
damage and rebuild a raid5 volume on them. They're at the high risk
period of their lifetime, and you don't want them to fail once you've
got data on them.

-- 
:wq



[gentoo-user] Re: Grub2 and is the upgrade a tooth puller.

2012-06-29 Thread walt
On 06/29/2012 08:05 AM, Mike Gilbert wrote:
 
 http://wiki.gentoo.org/wiki/GRUB2_Quick_Start

Thanks for the tip.  /etc/make.conf strikes me as an odd
place to put settings that apply to only one package.

Any idea why that decision was made?







[gentoo-user] Re: Grub2 and is the upgrade a tooth puller.

2012-06-29 Thread walt
On 06/29/2012 01:35 AM, Neil Bothwick wrote:
 GRUB and GPT are completely unrelated, I use GRUB2 on machines with both
 DOS and GPT partition tables, you don't need to repartition your drive to
 upgrade your bootloader.

I didn't make myself clear.  I wouldn't hesitate to convert this machine
to GPT (I like it) but I don't know if Windows would like GPT.

I guess I should get off my butt and go google it.

Maybe tomorrow ;)





Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Sat, Jun 30, 2012 at 10:05:40AM +1000, Paul Colquhoun wrote:

 What active 'filter = ' lines do you currently have in /etc/lvm/lvm.conf?
 
 Does it have something like 'r|/dev/hd.*' in it to hide all the IDE devices 
 from LVM?

Ah geez, yet more LVM lore I have long since forgotten from lack of
use.  I didn't see it in 'man pvcreate' and had other things to do for
the time being.  I guess LVM is not like a bicycle..

Yes it does.  Thanks.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 08:13:54PM -0400, Michael Mol wrote:

 ...I don't know, but I think you ought to burn in those drives before
 you move all of your data onto them. One good way might be to create,
 damage and rebuild a raid5 volume on them. They're at the high risk
 period of their lifetime, and you don't want them to fail once you've
 got data on them.

I don't have much data at all for them yet.  My plan is to gradually
fill them, and have two sets of USB backups in the fire safe.  It may
take years to fill them, so the USB backups will start small and
gradually expand as necessary.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread covici
fe...@crowfix.com wrote:

 On Fri, Jun 29, 2012 at 05:56:58PM -0400, cov...@ccs.covici.com wrote:
  
  fe...@crowfix.com wrote:
  
   Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
   so I can turn it into an LVM volumne.  So I copied everything there to
   the the 7.3TB LVM filesystem, then tried to create a new pv on
   /dev/hda1.  No joy.  I get
   
   Device /dev/hda1 not found (or ignored by filtering).
   
   /dev/hda has only /dev/hda1 which takes all the space.  The partition
   type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
   tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
   complaining about?
  How come its hda?  Perhaps this is the problem, it certainly should be
  fixed anyway.
 
 Because it was set up that way 8 years ago.  /dev/hda is the only IDE
 drive in the system, and has the MBR, so I can't make /dev/hda an LVM
 volume, it has to be /dev/hda1.  I don't want to make some other drive
 the boot drive; they are LVM volumes also.  And I also want an hd(0,x)
 for grub which doesn't change as I add new drives.
 
 Besides all that, why do you think it's a problem and how do you
 propose fixing it?
If they are serial ata drives, I thought newer kernels would use
/dev/sda  etc.  Is this really a ide drive?  Or do you have the BIOS
pretend they are?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: Grub2 and is the upgrade a tooth puller.

2012-06-29 Thread walt
On 06/29/2012 05:55 PM, walt wrote:
 On 06/29/2012 01:35 AM, Neil Bothwick wrote:
 GRUB and GPT are completely unrelated, I use GRUB2 on machines with
 both DOS and GPT partition tables, you don't need to repartition
 your drive to upgrade your bootloader.
 
 I didn't make myself clear.  I wouldn't hesitate to convert this
 machine to GPT (I like it) but I don't know if Windows would like
 GPT.
 
 I guess I should get off my butt and go google it.
 
 Maybe tomorrow ;)

Hah!  I knew all along that if I waited long enough, David Haller would
post a link to this info:

Microsoft's FAQ is a bit pessimistic. It is possible to boot
Windows from a GPT disk on a BIOS-based computer, but the ways
to do this are hacks.

Thanks, David :)


-- 
This space left intentionally not blank.




[gentoo-user] Re: Rebooted and now I only see the word GRUB [FIXED]

2012-06-29 Thread walt
On 06/28/2012 10:14 PM, Paul Hartman wrote:
 After booting from gentoo minimal livecd, chrooting into my hard
 drive, re-emerging grub:0 (just in case it has to be built against my
 latest kernel) and then running grub and doing:
 
 root (hd0,0)
 setup (hd0)
 
 it booted normally again. I guess I failed to reinstall grub like this
 after a portage update at some point... logs show I last instlaled it
 in May, and have rebooted since then without problem, maybe it was
 something else. Weird. :)

Just for future reference, the grub command line mode will let you
change all kinds of things that will make it possible for you to
boot from such a situation with very little effort.

When you see the empty grub menu, hit tab to see the list of commands.
Same for grub2, but the syntax is slightly different.

Just as one example, type 'root' at the grub CLI prompt.  







[gentoo-user] Re: pvcreate won't create pv

2012-06-29 Thread walt
On 06/29/2012 03:05 PM, fe...@crowfix.com wrote:
 On Fri, Jun 29, 2012 at 05:56:58PM -0400, cov...@ccs.covici.com wrote:

 fe...@crowfix.com wrote:

 Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
 so I can turn it into an LVM volumne.  So I copied everything there to
 the the 7.3TB LVM filesystem, then tried to create a new pv on
 /dev/hda1.  No joy.  I get

 Device /dev/hda1 not found (or ignored by filtering).

 /dev/hda has only /dev/hda1 which takes all the space.  The partition
 type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
 tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
 complaining about?
 How come its hda?  Perhaps this is the problem, it certainly should be
 fixed anyway.
 
 Because it was set up that way 8 years ago.  /dev/hda is the only IDE
 drive in the system, and has the MBR, so I can't make /dev/hda an LVM
 volume, it has to be /dev/hda1.  I don't want to make some other drive
 the boot drive; they are LVM volumes also.  And I also want an hd(0,x)
 for grub which doesn't change as I add new drives.
 
 Besides all that, why do you think it's a problem and how do you
 propose fixing it?

I can't speak for John, obviously, but /dev/hdxx is typical for the
deprecated kernel drivers.  The newer drivers use /dev/sdxx






[gentoo-user] Re: Rebooted and now I only see the word GRUB [FIXED]

2012-06-29 Thread walt
On 06/29/2012 06:19 PM, walt wrote:
 Just for future reference

Oops, never mind.  I misread your original post :(





Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 09:02:42PM -0400, cov...@ccs.covici.com wrote:
 If they are serial ata drives, I thought newer kernels would use
 /dev/sda  etc.  Is this really a ide drive?  Or do you have the BIOS
 pretend they are?

Please gve me a little credit.  I can screw up lots of things and
forget lots of things, but this drive is a replacement for a drive so
old that it is labeled IDE, not PATA, it has that awful big flat
ribbon, and there are two IDE connectors on the main board (which is
old enough to be called a mother board), and there were two IDE DVD
drives on there also, in fact hiding the IDE drive so that I had to
trace cables to find it.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[OT] Re: [gentoo-user] Re: Grub2 and is the upgrade a tooth puller.

2012-06-29 Thread Peter Humphrey
On Friday 29 June 2012 21:46:20 Grant Edwards wrote:

 Things have been going steadily downhill since the days of V7 on a
 PDP-11 with 256K words of RAM, a 20MB hard drive and uucp via dial-up
 modems for networking.  Real programmers didn't _need_ more that
 64k of text and 64k data to get the job done.

Sorry, but that's just bloat. When I joined the software development 
effort on the national grid control system in 1980 (I was the third of 
three) we had two Ferranti Argus 500 computers, one on-line and one 
standby, each with 32KB RAM (twice as much as the same machines had at 
the newly commissioning AGR power stations); 24-bit word length with 
hardware key switches on the control panel (holy of holies). The three 
disks were 2MB monsters, three feet six tall, five feet long and eighteen 
inches wide, with air filtering systems we were supposed to know about 
but Never Touch. Each disk could be connected to either CPU under 
software control. The displays were graphic stroke writers, as used in 
submarines and other warships - none of that nasty raster technology. I 
think the display drivers were more complex than the CPUs - all that D-A 
conversion of multiple values at once. Can you imagine X and Y amplifiers 
to drive a spot in a circle - and meet up? Then a display full of them. 
Those devices occupied as much cubicle space as the CPUs. Oh, and there 
was a third machine (you wouldn't call it a box) for software 
development. Paper tape for program I/O - not punched cards I'm glad to 
say.

My boss was often called on to escort parties of power utility visitors, 
mostly American, around the control centre. Their most common question 
was yes, I see the display drivers, but now where is your mainframe? 
Of course we didn't have one nor need one; we used subtle engineering in 
those days rather than throwing money at the problem. That changed 
later, but that's another story, and so is the use of PDP-11s in a minor 
role.

Then the time came to replace that ageing technology. The man in charge 
of the project complained to me once that, although he admired what we 
were achieving, he couldn't freeze a user spec while we kept on making 
the machine jump through ever-higher hoops. A proud moment for me - 
there was still life in the old dogs yet, so why must they be replaced?

Not now, but I'll tell you some day about my proudest achievement in 
assembler programming. Perhaps also what happened at three a.m. after 
most bank holiday Mondays. Cyril might not like me telling you though.

As I said in the subject: OT.

-- 
Rgds
Peter



Re: [OT] Re: [gentoo-user] Re: Grub2 and is the upgrade a tooth puller.

2012-06-29 Thread Michael Mol
On Fri, Jun 29, 2012 at 10:14 PM, Peter Humphrey
pe...@humphrey.ukfsn.org wrote:
 On Friday 29 June 2012 21:46:20 Grant Edwards wrote:

 Things have been going steadily downhill since the days of V7 on a
 PDP-11 with 256K words of RAM, a 20MB hard drive and uucp via dial-up
 modems for networking.  Real programmers didn't _need_ more that
 64k of text and 64k data to get the job done.

 Sorry, but that's just bloat. When I joined the software development
 effort on the national grid control system in 1980 (I was the third of
 three) we had two Ferranti Argus 500 computers, one on-line and one
 standby, each with 32KB RAM (twice as much as the same machines had at
 the newly commissioning AGR power stations); 24-bit word length with
 hardware key switches on the control panel (holy of holies). The three
 disks were 2MB monsters, three feet six tall, five feet long and eighteen
 inches wide, with air filtering systems we were supposed to know about
 but Never Touch. Each disk could be connected to either CPU under
 software control. The displays were graphic stroke writers, as used in
 submarines and other warships - none of that nasty raster technology. I
 think the display drivers were more complex than the CPUs - all that D-A
 conversion of multiple values at once. Can you imagine X and Y amplifiers
 to drive a spot in a circle - and meet up? Then a display full of them.
 Those devices occupied as much cubicle space as the CPUs. Oh, and there
 was a third machine (you wouldn't call it a box) for software
 development. Paper tape for program I/O - not punched cards I'm glad to
 say.

 My boss was often called on to escort parties of power utility visitors,
 mostly American, around the control centre. Their most common question
 was yes, I see the display drivers, but now where is your mainframe?
 Of course we didn't have one nor need one; we used subtle engineering in
 those days rather than throwing money at the problem. That changed
 later, but that's another story, and so is the use of PDP-11s in a minor
 role.

 Then the time came to replace that ageing technology. The man in charge
 of the project complained to me once that, although he admired what we
 were achieving, he couldn't freeze a user spec while we kept on making
 the machine jump through ever-higher hoops. A proud moment for me -
 there was still life in the old dogs yet, so why must they be replaced?

 Not now, but I'll tell you some day about my proudest achievement in
 assembler programming. Perhaps also what happened at three a.m. after
 most bank holiday Mondays. Cyril might not like me telling you though.

 As I said in the subject: OT.

I'm going to put a reminder in my calendar to poke you about this. :)


-- 
:wq



Re: [gentoo-user] Re: Grub2 and is the upgrade a tooth puller.

2012-06-29 Thread David Haller
Hello,

On Fri, 29 Jun 2012, walt wrote:
On 06/29/2012 05:55 PM, walt wrote:
 I didn't make myself clear.  I wouldn't hesitate to convert this
 machine to GPT (I like it) but I don't know if Windows would like
 GPT.
 
 I guess I should get off my butt and go google it.
 
 Maybe tomorrow ;)

Hah!  I knew all along that if I waited long enough, David Haller would
post a link to this info:

*whut* I've posted a mere 25 msgs here over quite a bit of time, and
you expect me to mail ...??? Do you know me from somewhere else? ;)

Anyway: you're welcome.

-dnh, who has his first 3T GPT partitioned drive (for data only, one
2793GiB ext3 partition) in his main box since tuesday or so.

-- 
logic mode=patent office
Validator error in line 1: Contradiction in terms.
 -- C. Faerber, A. Krey



Re: [gentoo-user] Re: Rebooted and now I only see the word GRUB [FIXED]

2012-06-29 Thread Paul Hartman
On Fri, Jun 29, 2012 at 8:31 PM, walt w41...@gmail.com wrote:
 On 06/29/2012 06:19 PM, walt wrote:
 Just for future reference

 Oops, never mind.  I misread your original post :(

It's okay, I think at some point I must have updated something grub
depends on, so it wasn't able to load the stages. My grub is built
with -static USE flag, maybe I should change that!