Précédent   Forum des professionnels en informatique > Systèmes > Linux > Système
Système Vos questions autour de l'administration système
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 20/09/2006, 01h09   #1
Membre du Club
 
Inscription : février 2006
Messages : 206
Détails du profil
Informations forums :
Inscription : février 2006
Messages : 206
Points : 64
Points : 64
Par défaut Réactiver une partition avec fdisk?

bonjour

j'ai actuellement ma partition windows en "hidden" et ma partition linux active (donc aucun probleme pour démarrer sous linux)

avec fdisk puis je la rendre a nouveau visible? ou faut il se servir d'une autre commande?

merci d'avance
Adren est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 20/09/2006, 08h56   #2
Membre éprouvé
 
Avatar de Tchetch
 
Inscription : mars 2002
Messages : 401
Détails du profil
Informations personnelles :
Âge : 27

Informations forums :
Inscription : mars 2002
Messages : 401
Points : 434
Points : 434
Oui c'est possible, il faut changer le type de la partition :
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# fdisk /dev/hda
 
 
The number of cylinders for this disk is set to 9964.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
 
Command (m for help): l
 
 0  Empty           1e  Hidden W95 FAT1 80  Old Minix       be  Solaris boot
 1  FAT12           24  NEC DOS         81  Minix / old Lin bf  Solaris
 2  XENIX root      39  Plan 9          82  Linux swap / So c1  DRDOS/sec (FAT-
 3  XENIX usr       3c  PartitionMagic  83  Linux           c4  DRDOS/sec (FAT-
 4  FAT16 <32M      40  Venix 80286     84  OS/2 hidden C:  c6  DRDOS/sec (FAT-
 5  Extended        41  PPC PReP Boot   85  Linux extended  c7  Syrinx
 6  FAT16           42  SFS             86  NTFS volume set da  Non-FS data
 7  HPFS/NTFS       4d  QNX4.x          87  NTFS volume set db  CP/M / CTOS / .
 8  AIX             4e  QNX4.x 2nd part 88  Linux plaintext de  Dell Utility
 9  AIX bootable    4f  QNX4.x 3rd part 8e  Linux LVM       df  BootIt
 a  OS/2 Boot Manag 50  OnTrack DM      93  Amoeba          e1  DOS access
 b  W95 FAT32       51  OnTrack DM6 Aux 94  Amoeba BBT      e3  DOS R/O
 c  W95 FAT32 (LBA) 52  CP/M            9f  BSD/OS          e4  SpeedStor
 e  W95 FAT16 (LBA) 53  OnTrack DM6 Aux a0  IBM Thinkpad hi eb  BeOS fs
 f  W95 Ext'd (LBA) 54  OnTrackDM6      a5  FreeBSD         ee  EFI GPT
10  OPUS            55  EZ-Drive        a6  OpenBSD         ef  EFI (FAT-12/16/
11  Hidden FAT12    56  Golden Bow      a7  NeXTSTEP        f0  Linux/PA-RISC b
12  Compaq diagnost 5c  Priam Edisk     a8  Darwin UFS      f1  SpeedStor
14  Hidden FAT16 <3 61  SpeedStor       a9  NetBSD          f4  SpeedStor
16  Hidden FAT16    63  GNU HURD or Sys ab  Darwin boot     f2  DOS secondary
17  Hidden HPFS/NTF 64  Novell Netware  b7  BSDI fs         fd  Linux raid auto
18  AST SmartSleep  65  Novell Netware  b8  BSDI swap       fe  LANstep
1b  Hidden W95 FAT3 70  DiskSecure Mult bb  Boot Wizard hid ff  BBT
1c  Hidden W95 FAT3 75  PC/IX
 
Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list code): 1b
Changed system type of partition 1 to 1b (Hidden W95 FAT32)
 
Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list code): b
Changed system type of partition 1 to 1b (Hidden W95 FAT32)
 
Command (m for help): w
Donc tu peux passer de hidden a visible très simplement.
__________________
Mon wiki (on y parle Debian principalement) : http://www.tchetch.net/
Tchetch est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 20/09/2006, 12h14   #3
Membre du Club
 
Inscription : février 2006
Messages : 206
Détails du profil
Informations forums :
Inscription : février 2006
Messages : 206
Points : 64
Points : 64
j'ai juste du mal à saisir pourquoi tu mets numero de partition 1 ?

le reste pas de probleme. pour ma part la partition "hidden" se trouve sur /dev/hda2

merci de ton aide j'ai juste besoin de savoir quel chiffre mettre à : numero de partition.

Adren est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/09/2006, 20h21   #4
Membre éprouvé
 
Avatar de Tchetch
 
Inscription : mars 2002
Messages : 401
Détails du profil
Informations personnelles :
Âge : 27

Informations forums :
Inscription : mars 2002
Messages : 401
Points : 434
Points : 434
J'ai mis 1 parce que je voulais le faire sur la partition 1 (/dev/hda1), si je voulais faire ça sur la partition /dev/hda2, j'aurais mis 2.
__________________
Mon wiki (on y parle Debian principalement) : http://www.tchetch.net/
Tchetch est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/09/2006, 23h25   #5
Membre du Club
 
Inscription : février 2006
Messages : 206
Détails du profil
Informations forums :
Inscription : février 2006
Messages : 206
Points : 64
Points : 64
j'ai eu une erreur étrange et ca n'a pas marché bizarre

je ne vois pas comment réglé mon problème maintenant si cette solution ne marche pas

message d'erreur apres que j'ai changé le type code hexa 7 j'ai entré la commande w

Code :
1
2
3
4
5
6
7
8
The partition table has been altered
 
Calling ioctl() to re-read partition table
 
warning re-reading table failed with error 22 : argument invalide
the kernel still uses the old table
the new table will be used at the next reboot
syncing disks
quelqu'un aurait il une idée?
Adren est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 24/09/2006, 02h01   #6
Membre éprouvé
 
Avatar de Tchetch
 
Inscription : mars 2002
Messages : 401
Détails du profil
Informations personnelles :
Âge : 27

Informations forums :
Inscription : mars 2002
Messages : 401
Points : 434
Points : 434
Pourrais-tu mettre un peu plus de détails. La manière dont tu appelles fdisk, le résultat de la commande p et la série d'opération que tu effectues pour arriver à cette erreur.
__________________
Mon wiki (on y parle Debian principalement) : http://www.tchetch.net/
Tchetch est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 08h42.


 
 
 
 
Partenaires

Hébergement Web