[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: transfère file system /



Le dim 17/08/2003 à 22:34, vincent a écrit :
> Bonjour
> 
> j essaye de transférer mon / d une partition reiserfs hda8 vers une
> ext3 hda7
> jai copié avec 
> cd /
> tar -cvlf- * | (cd /tmp/newroot ; tar -xvf-)
> 
> puis j ai adapté mon /etc/fstab
> recréer une image initrd 
> 
> et malgré celà j ai un kernel panic ...
> 
> /sbin/init: 196: cannot create /dev/null: Read-only file system
> /sbin/init: 197: cannot open dev/console: No such file
> Kernel Panic: Attempted to kill init !
> 
> j arrive à booter avec 
> kernel (hd0,1)/vmlinuz-2.4.21-3-686 root=/dev/hda8
> 
> et il monte bien le hda7 en / ...
> 
> une idée ?

1) as-tu essayé kernel (hd0,1)/vmlinuz-2.4.21-3-686 root=/dev/hda7 ?
2) que volume root est spécifié dans ton kernel (man rootflags) ?
3) ta copie est un poil sauvage: j'ai tenté la même opération avec: 
"cp /ancienne-partition/* /ancienne-partition/.* /nouvelle-partition
-dpRx"
et ça a marché au poil
4) vérifie que ton /etc/fstab est correct. Par exemple: 
"/dev/hda1 / ext3 errors=remount-ro 0 1"
5) support ext3 activé dans ton noyo ?


/N 
______________________________________________________________________

Nicolas Rueff <n.rueff@tuxfamily.org>
http://rueff.tuxfamily.org
+33 6 77 64 44 80
--
Some people have told me they don't think a fat penguin really embodies
the 
grace of Linux, which just tells me they have never seen a angry penguin
charging at them in excess of 100mph. They'd be a lot more careful about
what 
they say if they had. 
-- Linus Torvalds, announcing Linux v2.0
______________________________________________________________________

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: