Chinaunix首页 | 论坛 | 博客
  • 博客访问: 445398
  • 博文数量: 293
  • 博客积分: 4204
  • 博客等级: 上校
  • 技术积分: 3060
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-21 10:27
个人简介

nobody

文章分类

全部博文(293)

文章存档

2014年(27)

2013年(105)

2012年(41)

2011年(109)

2010年(11)

分类: LINUX

2010-09-19 12:57:15

linux 下的的误操作
cp    xxx.c   /dev/sda6
 
把windows下的分区数据覆盖(源文件大概1.2KB,还好没有把backup partition data 覆盖掉),表现为windows/linux都不认识该分区
 
之后,在
看到
Reminder: Don't forget that each FAT32 Boot Record has a Backup Copy just a few sectors beyond the original. In the case of a single FAT32 partition (or the first partition of many) on a drive, the Backup is found in Absolute Sectors 69 through 71. These correspond to Relative (or Logical) Sectors 0 through 2 and then 6 through 8 (for the Backup copy) of any FAT32 partition on your drive.
 
在linux下(安全起见,先把数据读出来,对比一下看看,而没有直接copy到逻辑盘)
sudo  dd if=/dev/sda6 of=sec_678.data  bs=512 count=3 skip=6
sudo  dd  if=sec_678.data of=/dev/sda6 bs=512 seek=0
now everything works fine now
阅读(1231) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:在文件中删除数据

给主人留下些什么吧!~~