Stand Alone Complex

意见和建议请发邮件或者留言,谢谢!

 
Lables
Linux Desktop
Linux Commands
Linux Shell
Win and Laptop
Mist
Leave me a Message
U Want More ?
What you want to add? Feel free to let me know by EMail me :)
Grub被XP覆盖
2008年9月14日
我的xp完蛋了,重新安装!结果没想到,Grub被干掉了,只好恢复,使用linux引导盘启动
输入
linux rescue
#开启linux的shell

grub

root (hd0,7)
setup (hd0)
quit

结束。Grub恢复。要指出的是,网上给出的方法没有详细的说明,root后面的(hd0,x)
,x表示linux分区减1,

[root@localhost ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1020 8193118+ 7 HPFS/NTFS
/dev/sda2 1021 19456 148087170 f W95 Ext'd (LBA)
/dev/sda5 1021 4844 30716248+ 7 HPFS/NTFS
/dev/sda6 4845 7394 20482843+ 7 HPFS/NTFS
/dev/sda7 7395 8669 10241406 7 HPFS/NTFS
/dev/sda8 8670 19377 86011978+ 83 Linux
/dev/sda9 19378 19456 634536 82 Linux swap / Solaris
从这里面就能看出来了。x是从数字0开始记录的。

标签:

posted by Klot @ 23:05:00  
0 Comments:
发表评论
<< Home
 
Creative Commons(CC)
About Me
Name: Klot
Email: fff200200#gmail.com
About Me:
Links
Powered by

Google Blogger

Stand Alone Complex by Klot