博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
What is hd0 and sda/sdb in Linux?
阅读量:6803 次
发布时间:2019-06-26

本文共 1159 字,大约阅读时间需要 3 分钟。

hot3.png

I'm completely new to Linux, and am using Ubuntu 10.04.

I'm confused when to use what(hdx,y)to represent which hard drive.

I have 2 hard drives, the first one is identified as /dev/sda (in Disk Utility) and that's where I installed my old Windows 7 RC (unused). the second one is /dev/sdb where I installed my Ubuntu (in /dev/sdb7 and /dev/sdb8 swap) and XP (in /dev/sdb1).

now if I want to play around with Ubuntu's GRUB, what(hdx,y)should I use? For now, I want to install BURG, and I read the installation step in a website that I have to typeburg-install "(hd0)"to install BURG to the hd's MBR, but I'm just unsure, I'm afraid it'll mess everything.

So, how can I know which harddisk is (hd0), (hd1), or (hd0,1), etc.?

***

When GRUB probes devices it makes a device.map file, you can find this in the same directory as your grub.conf. It will look similar to this:

(fd0)   /dev/fd0(hd0)   /dev/sda(hd1)   /dev/sdb(hd2)   /dev/sdc

You are free to modify this as you see fit any time. Read more .

***其它:

http://ubuntuforums.org/showthread.php?t=1240343
http://blog.csdn.net/yuan_ming/article/details/5034672

转载于:https://my.oschina.net/uniquejava/blog/224334

你可能感兴趣的文章
日志分析系统——Hangout源码学习
查看>>
5.9. sort - sort lines of text files
查看>>
cms无法登陆
查看>>
JavaScript中事件处理
查看>>
VSTO 向office文档中插入内容
查看>>
【百度地图API】关于如何进行城市切换的三种方式
查看>>
How to provide highlighting with Spring data elasticsearch
查看>>
MongoDB 游标
查看>>
即将搭载人工智能芯片的华为Mate10,究竟会为业界带来什么?
查看>>
Linux在应用层读写寄存器的方法。。。
查看>>
区分execl与system——应用程序中执行命令
查看>>
Android实现登录小demo
查看>>
AgentWeb是基于Android WebView一个功能完善小型浏览器库
查看>>
开放数据中心联盟推8个云计算应用模型
查看>>
学习数据分析的“里程碑”是什么?
查看>>
零点之战!探访阿里巴巴8大技术专家,提前揭秘2017双11关键技术
查看>>
国家开发银行统一软件环境USE解决方案
查看>>
数据科学与DevOps之间的差距还有救吗?
查看>>
程序员必须知道的10大基础实用算法及其讲解
查看>>
信息化一周回顾:金融业大数据十大趋势
查看>>