个人工具

“UbuntuHelp:BootFromFirewireHardDisk/zh”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
Original post
Original post
第35行: 第35行:
  
 
Here you have a link to a howto to boot from a harddisk.
 
Here you have a link to a howto to boot from a harddisk.
 +
 
这里有一个链接是教你如何从硬盘启动的。
 
这里有一个链接是教你如何从硬盘启动的。
  
 
I'm not sure if the link will be valid too much time so here you have the
 
I'm not sure if the link will be valid too much time so here you have the
 
important bits:
 
important bits:
 +
 
我不敢肯定该链接的有效期是多久,所以你要注意下面的部分:
 
我不敢肯定该链接的有效期是多久,所以你要注意下面的部分:
  
 
3. i. Next is to locate the firmware path of the FireWire drive:
 
3. i. Next is to locate the firmware path of the FireWire drive:
 +
 +
3. i. 接下来是设置FireWire驱动器的固件路径:
 +
 
<pre><nowiki>
 
<pre><nowiki>
 
# find /proc/device-tree/ -name disk@\* | grep -i firewire
 
# find /proc/device-tree/ -name disk@\* | grep -i firewire
第49行: 第54行:
 
</nowiki></pre>
 
</nowiki></pre>
  
3. j. Next it is time to create the yaboot.conf file on the <code><nowiki>FireWire</nowiki></code> drive. The
+
3. j. Next it is time to create the yaboot.conf file on the  
 +
<code><nowiki>FireWire</nowiki></code> drive. The
 
config file shown below was based on the <code><nowiki>FireWire</nowiki></code> address above.
 
config file shown below was based on the <code><nowiki>FireWire</nowiki></code> address above.
 +
 +
3. j. 接下来是创建FireWire驱动器上的yaboot.conf文件,该配置文件基于FireWire上的地址
 
<pre><nowiki>
 
<pre><nowiki>
 
# pico /mnt/fw/boot/yaboot.conf
 
# pico /mnt/fw/boot/yaboot.conf

2007年7月1日 (日) 01:44的版本

从 Firewire 硬盘启动系统

原文出处:https://help.ubuntu.com/community/BootFromFirewireHardDisk

原文作者:MatthewEast

授权许可:

翻译人员:

校正人员:

贡献人员:

适用版本: 文章状态:等待翻译



These don't entirely work.

These instructions won't work, as the Ubuntu kernel does not have the necessary bits compiled in -- SCSI, fw support, and sbp-2. See http://macubuntu.blogspot.com/ for step-by-step instructions on how to get this to work.

===设备无法正常工作===

因为Ubuntu的内核没有对SCSI、火线借口和SBP-2(Serial Bus Protocol)设备的支持和编译,所以无法正常使用。请根据http://macubuntu.blogspot.com/ 上面的指示来使其正常工作。

Original post

This page needs a bit of love, imported from bugzilla #1181

该页面的设置需要小心谨慎。

Here you have a link to a howto to boot from a harddisk.

这里有一个链接是教你如何从硬盘启动的。

I'm not sure if the link will be valid too much time so here you have the important bits:

我不敢肯定该链接的有效期是多久,所以你要注意下面的部分:

3. i. Next is to locate the firmware path of the FireWire drive:

3. i. 接下来是设置FireWire驱动器的固件路径:

# find /proc/device-tree/ -name disk@\* | grep -i firewire


/proc/device-tree/pci@f4y000000/FireWire@e/node@0001d200e00260c6/sbp-2@c000/disk@0 

3. j. Next it is time to create the yaboot.conf file on the FireWire drive. The config file shown below was based on the FireWire address above.

3. j. 接下来是创建FireWire驱动器上的yaboot.conf文件,该配置文件基于FireWire上的地址

# pico /mnt/fw/boot/yaboot.conf

ofboot=fw/node/sbp-2/disk@0: 

init-message=”Welcome top Yellow Dog Linux! \n Hit <TAB> for boot options.
\n\n” 

partition=4 

timeout=30 

install=/usr/lib/yaboot/yaboot 

magicboot=/usr/lib/yaboot/ofboot 

default=linux 

image=/boot/vmlinux-2.4.20-8dsmp 

label=linux 

root=/dev/sda4 

read-only 

initrd=/boot/initrd-2.4.20-8dsmp.gz 

defaultos=linux 

delay=10 

enablecdboot 

I believe the partition=4 line can go in the image= section which is where it belongs. If one has several boot images then a different partition might be needed. However, it was done this way for simplicity. Since this example only uses one FireWire drive with one install of YDL it is not necessary to move the line. The ofboot line should be the firmware path to the FirwWire drive.

3. k. Now we must “bless” the drive so that it can be seen by the Apple boot loader.

# ybin -v --boot /dev/sda2 --nonvram --config /mnt/fw/boot/yaboot.conf

3. l. You should now be ready to boot the FireWire drive using the Mac boot loader. In order to get to the Mac boot leader you must restart the machine:

# shutdown –r now

And hold down the keys:

ALT + APPLE KEY + O + F

3. m. You should see a boot prompt and at this prompt type:

> boot fw/node/sbp-2/disk@0:2, yaboot

Note that the disk@0:2 is from the FireWire address and 2 is the bootstrap partition. This will change if you put the bootstrap on another partition number.

3. n. Now you should see the yaboot boot loader from the FireWire drive; you can just hit enter here and it will take you into YDL.

4: Firmware paths

To find the firmware path of your FireWire disk, type the command: ( find /proc/device-tree - name disk@\* | grep firewire ) Removing the /proc/device-tree gives the OpenFirmware path of the disk. Firmware aliases found in /proc/device-tree/aliases or lack of multiple firewire disks will allow a simplification of the path, as illustrated in our example.