“UbuntuHelp:RescueDiskHowto”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/RescueDiskHowto}} {{Languages|UbuntuHelp:RescueDiskHowto}} Note: This guide is broken, sorry... Ubuntu chose to make IDE support a kernel module ...) |
小 |
||
(未显示同一用户的1个中间版本) | |||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:RescueDiskHowto}} | {{Languages|UbuntuHelp:RescueDiskHowto}} | ||
Note: This guide is broken, sorry... Ubuntu chose to make IDE support a kernel module rather than builtin, so using the existing kernel will not work. I'm not presently aware of a workaround that doesn't involve recompiling the kernel. If you know of a way to use initrd to overcome this limitation (and stay under 1.44MB), please edit. | Note: This guide is broken, sorry... Ubuntu chose to make IDE support a kernel module rather than builtin, so using the existing kernel will not work. I'm not presently aware of a workaround that doesn't involve recompiling the kernel. If you know of a way to use initrd to overcome this limitation (and stay under 1.44MB), please edit. | ||
− | |||
− | |||
=== Creating an Ubuntu boot disk === | === Creating an Ubuntu boot disk === | ||
− | |||
Making a boot disk is a good precautionary tool. | Making a boot disk is a good precautionary tool. | ||
If you can't boot up, it becomes essential (bad kernel install, another OS wipes out grub, etc...) | If you can't boot up, it becomes essential (bad kernel install, another OS wipes out grub, etc...) | ||
This is NOT a full recovery disk. For that, google for `tomsrtbt`. | This is NOT a full recovery disk. For that, google for `tomsrtbt`. | ||
− | |||
=== Required items === | === Required items === | ||
− | |||
You will need: | You will need: | ||
− | |||
* A blank or unused floppy disk | * A blank or unused floppy disk | ||
− | |||
=== Finding the kernel === | === Finding the kernel === | ||
1) Open a terminal (Applications > System Tools > Terminal). | 1) Open a terminal (Applications > System Tools > Terminal). | ||
− | |||
2) Type: | 2) Type: | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
ls /lib/modules | ls /lib/modules | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
3) This will list several kernel possibilities. | 3) This will list several kernel possibilities. | ||
Make note of the one you want, for example: `2.6.8.1-3-386` | Make note of the one you want, for example: `2.6.8.1-3-386` | ||
− | |||
4) Insert the floppy. | 4) Insert the floppy. | ||
− | |||
5) Type (edit after `vmlinuz-` to match the kernel you chose): | 5) Type (edit after `vmlinuz-` to match the kernel you chose): | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
mkboot /boot/vmlinuz-2.6.8.1-3-386 | mkboot /boot/vmlinuz-2.6.8.1-3-386 | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
6) Reboot and test the boot floppy. | 6) Reboot and test the boot floppy. | ||
− | |||
=== Troubleshooting === | === Troubleshooting === | ||
− | |||
Make sure the floppy is unmounted before attempting to make the boot disk (or between attempts if it fails). | Make sure the floppy is unmounted before attempting to make the boot disk (or between attempts if it fails). | ||
Running mkboot as root (or sudo) will attempt to make a lilo boot disk, however on my system this existed with a fatal error. | Running mkboot as root (or sudo) will attempt to make a lilo boot disk, however on my system this existed with a fatal error. | ||
− | + | === See also === | |
− | [ | + | * [http://www.gnu.org/software/ddrescue/ddrescue.html ddrescue]. |
+ | ---- | ||
+ | [[category:CategoryRescueAndCloning]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月19日 (日) 17:05的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
Note: This guide is broken, sorry... Ubuntu chose to make IDE support a kernel module rather than builtin, so using the existing kernel will not work. I'm not presently aware of a workaround that doesn't involve recompiling the kernel. If you know of a way to use initrd to overcome this limitation (and stay under 1.44MB), please edit.
目录
Creating an Ubuntu boot disk
Making a boot disk is a good precautionary tool. If you can't boot up, it becomes essential (bad kernel install, another OS wipes out grub, etc...) This is NOT a full recovery disk. For that, google for `tomsrtbt`.
Required items
You will need:
- A blank or unused floppy disk
Finding the kernel
1) Open a terminal (Applications > System Tools > Terminal). 2) Type:
ls /lib/modules
3) This will list several kernel possibilities. Make note of the one you want, for example: `2.6.8.1-3-386` 4) Insert the floppy. 5) Type (edit after `vmlinuz-` to match the kernel you chose):
mkboot /boot/vmlinuz-2.6.8.1-3-386
6) Reboot and test the boot floppy.
Troubleshooting
Make sure the floppy is unmounted before attempting to make the boot disk (or between attempts if it fails). Running mkboot as root (or sudo) will attempt to make a lilo boot disk, however on my system this existed with a fatal error.