Re: boot from raid1 mdadm version 1.2 partition

2012-01-13 Thread tv.deb...@googlemail.com

12/01/2012 22:26, Marc Auslander wrote:

Earlier posts seem to say this should/might work.

I made an mdadm v 1.2 partions, and put a copy of my root file system
on it.

update-grub doesn't see it at all.

if I try to boot by hand, I can get grub to boot the kernel but then I
get mysterious error messages about not being able to mount /dev/pts
and fall into the recovery shell.  It appears that my raid partions
have not been assembled.

Any hints.

Does anyone actually have boot from raid1 version 1.2 working?  If so,
could you post the grub.cfg entry that makes it work?


Hi, yes I do. You need grub2 (aka. grub-pc), you need to fill in 
mdadm.conf and update initrd.


My grub.cfg won't tell you much since I am using LUKS, root entries are 
of type /dev/mapper/* which isn't relevant for you. But if you are 
using grub2 I doubt this is the problem, you need to populate 
mdadm.conf, generate new grub.cfg and maybe reinstall grub on (both) the 
raid1 disks, make sure the initrd is updated so that it will start 
arrays early enough, and that's it. Chroot on the new raid system, do 
necessary changes, and try again.



--
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/4f0ff806.80...@googlemail.com



Re: boot from raid1 mdadm version 1.2 partition

2012-01-13 Thread Tom H
On Thu, Jan 12, 2012 at 4:26 PM, Marc Auslander marca...@gmail.com wrote:

 Earlier posts seem to say this should/might work.

 I made an mdadm v 1.2 partions, and put a copy of my root file system
 on it.

 update-grub doesn't see it at all.

 if I try to boot by hand, I can get grub to boot the kernel but then I
 get mysterious error messages about not being able to mount /dev/pts
 and fall into the recovery shell.  It appears that my raid partions
 have not been assembled.

put a copy of my root file system on it: Did you use grub-install
after copying your system? (You'll also have to regenerate your
initrd.)


--
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=SwudyzVkOByGA1zzp-Ar0k04R-MV96HrcBv_soVezR=z...@mail.gmail.com



boot from raid1 mdadm version 1.2 partition

2012-01-12 Thread Marc Auslander
Earlier posts seem to say this should/might work.

I made an mdadm v 1.2 partions, and put a copy of my root file system
on it.

update-grub doesn't see it at all.

if I try to boot by hand, I can get grub to boot the kernel but then I
get mysterious error messages about not being able to mount /dev/pts
and fall into the recovery shell.  It appears that my raid partions
have not been assembled.

Any hints.

Does anyone actually have boot from raid1 version 1.2 working?  If so,
could you post the grub.cfg entry that makes it work?
-- 


-- 
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/E1RlSAa-h9-M7@Aptiva



Re: boot from raid1 mdadm version 1.2 partition

2012-01-12 Thread martin f krafft
also sprach Marc Auslander marca...@gmail.com [2012.01.12.2226 +0100]:
 Earlier posts seem to say this should/might work.
 
 I made an mdadm v 1.2 partions, and put a copy of my root file system
 on it.
 
 update-grub doesn't see it at all.

Are you using grub-pc aka. grub2?

In the future, please always provide version information for the
software with which you are having problems.

-- 
 .''`.   martin f. krafft madduck@d.o  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
tempt not a desperate man.
-- william shakespeare


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Re: boot from raid1 mdadm version 1.2 partition

2012-01-12 Thread Marc Auslander
 also sprach Marc Auslander marca...@gmail.com [2012.01.12.2226 +0100]:
 Earlier posts seem to say this should/might work.
 
 I made an mdadm v 1.2 partions, and put a copy of my root file system
 on it.
 
 update-grub doesn't see it at all.

 Are you using grub-pc aka. grub2?

 In the future, please always provide version information for the
 software with which you are having problems.

 -- 
  .''`.   martin f. krafft madduck@d.o  Related projects:
 : :'  :  proud Debian developer   http://debiansystem.info
 `. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
   `-  Debian - when you have better things to do than fixing systems
  
 tempt not a desperate man.
 -- william shakespeare
Sorry for the lack of detail.

grub-pc (aka grub2) v 1.98 on squeeze up to date with stock kernel.

martin f krafft madd...@debian.org writes:


-- 
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/87wr8wl1mq@aptiva.optonline.net