Mandriva Flash recovery CD plans
#includeResource("Skel.ArticleHeader")
Since the release of the Flash, we have found that some users Flash keys - through problems or experimentation - have been rendered unusable. We have therefore decided to develop a utility CD which will allow you to do several maintenance / repair operations on the Flash.
The CD will be able to:
- reset the root or user password
- make a backup of the Flash
- restore from any of the last ten backups
- test the USB key for errors
- restore the Flash to factory settings.
This utility CD is currently in development and expected to go into internal testing soon. Once it is tested, we will release it as a .iso image for existing Flash customers.
If you have received your Flash already and you can't wait to use it, but you're worried about breaking it, there is a temporary solution you can use while you wait for the recovery CD to be released. It is documented in
this forum thread: see post #6 from awilliamson, and the replies from QuarkMan2.
Another solution to restore now the Flash to its original setting (from Christophe Pottigny - Mandriva support team)
If you are in a deadlock situation with your key and you want to restore it to its original settings or modify configuration files, here are some instructions on how to proceed.
caution: you need linux in order to do this, even a live linux like a Mandriva One, as you will need some linux commands.
The key content is to be found in the directory /mnt/MDVUSBROOT
There is inside the loppbak directory 2 files:
- distrib.sqfs : which countains the original distribution (caution: never modify this file)
- system.loop : which countains all modifications made to the key since its first launch (users, their home directories, all installed rpms)
In order to restore your key to its original content you must do as root
- su
- cd /mnt/MDVUSBROOT/loopbacks
- mkfs.ext2 system.loop
During the next boot on the key, you will then be asked to create a user and to define the root password.
To modify a file on the key, for example a configuration file in /etc, you need mount the system.loop file on a directory in order to be able to modify its content:
- su
- cd /mnt/MDVUSBROOT/loopbacks
- mkdir /mnt/Flash
- mount -o loop system.loop /mnt/Flash
You will then find there the content of /home and all files created since the first boot, for you to modify.
Once finished, unmount the working directory:
Note:
The key countains
two partitions. In order to count the actual size of the key, mount the 2 partitions. The keys are not 780M in size, only the Share partiton is.
Comments (34)
- ouvrir le terminal,
[guest@localhost ~?]$tapez « su » puis « entrer ». [root@localhost guest?] # » ensuite tapez: « cd /mnt/MDVUSBROOT/loopbacks » suivi de « entrer »- tapez ensuite « mkfs.ext2 system.loop » suivi de « entrer ».
On vous pose ensuite une question choisissez « y » C'est fini la clée est réinitialisée. Modifiez à nouveau le bios pour booter sur la flash et rentrez vos nouveaux identifiants. J'ai fait tout ca. Maintenant quand je boote sur la clé, il y a encore des problemes du genre : /dev/loop1 contains a file system with errors, check forced. Pass 1: Checking inodes, blocks and sizes Pass 2: Checking directory structure Missing '.' in directory inode 6142 Fix- est-ce que je dois reprendre la réinitialisation?
- comment faire pour que ma clé fonctionne enfin correctement et que je puisse continuer à découvrir Linux?
Merci de votre aide.