Differences between revisions 92 and 94 (spanning 2 versions)
Revision 92 as of 2013-08-13 14:12:15
Size: 4148
Editor: ?GuangYue
Comment:
Revision 94 as of 2014-05-19 09:44:45
Size: 3727
Editor: ?MaximDunaevsky
Comment: Added link to russian translation
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[pt_BR/DebianInstaller/SataRaid|Português Brasileiro]]-~ ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[pt_BR/DebianInstaller/SataRaid|Português Brasileiro]] - [[ru/DebianInstaller/SataRaid|Русский]]-~
Line 13: Line 13:
{{{#!wiki debian
The recent(2013 Aug) upgrade of debian squeeze and the new install of wheezy on fake raid system may not success. It is like the installation process according to this article is all good, but you cannot boot the system after the installation. The error message is like "dmraid-45 not found ..."

The problem/bug is fixed in the bug reports: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699437

All you need to do is uncomment line in the /etc/defaults/grub file: "GRUB_DISABLE_LINUX_UUID=true", before you run update-grub, grub-install, etc.
}}}
Line 25: Line 17:
 1. Boot from a Debian installation media.  1. Boot from a [[http://www.debian.org/releases/stable/debian-installer/|Debian installation media]].
Line 35: Line 27:
 1. Complete the installation. Using the [[http://www.debian.org/releases/stable/debian-installer/|Debian 7.0 "Wheezy" installer]], GRUB installation succeeds. Some report that GRUB installation fails, but that is OK. GRUB needs to be reinstalled either way. If GRUB installation fails, select "continue without bootloader" to complete the Debian installation.  1. Complete the installation. The installation of GRUB may fail, but that is OK; GRUB needs to be reinstalled either way. If GRUB installation fails, select "continue without bootloader" to complete the Debian installation.
Line 53: Line 45:
 1. Modify /etc/default/grub (e.g. {{{nano /etc/default/grub}}}) and uncomment GRUB_DISABLE_LINUX_UUID=true (DebianBug:699437). Save the file and exit the editor.
Line 55: Line 49:
 1. Type `grub-install /dev/mapper/` and press tab and tab again, you will get the names of the fake raid partitions. Complete `grub-install /dev/mapper/` with the name of your whole fake disk. For example `grub-install /dev/mapper/isw-jggdha7s-SYS` (Note that there is no number at the end of the name). You may have something like `/dev/mapper/isw-jggdha7s-SYS` and `/dev/mapper/isw-jggdha7s-SYS1`, or `/dev/mapper/isw-jggdha7s-Volume` and `/dev/mapper/isw-jggdha7s-Volume1`. Choose the one without the partition number and press enter. Everything should install now without an error.  1. Type `grub-install /dev/mapper/` and press tab and tab again, you will get the names of the fake raid partitions.
  1.
Complete `grub-install /dev/mapper/` with the name of your whole fake disk.

 
For example `grub-install /dev/mapper/isw-jggdha7s-SYS` (Note that there is no number at the end of the name). You may have something like `/dev/mapper/isw-jggdha7s-SYS` and `/dev/mapper/isw-jggdha7s-SYS1`, or `/dev/mapper/isw-jggdha7s-Volume` and `/dev/mapper/isw-jggdha7s-Volume1`. Choose the one without the partition number and press enter.
  1.
Everything should install now without an error.

Translation(s): English - Português Brasileiro - Русский


This page describes how to install Debian using the Serial ATA RAID (aka fake RAID, BIOS RAID) feature provided by your SATA disk controller. These are controllers that advertise RAID functions but are not supported by a hardware chip for parity.

Not to be confused with the Linux kernel's software RAID feature (Multidisk Device). This is the preferable and more reliable method to establish software RAID arrays.

See the Debian installation guide for more information.

Use the following method only if you want to have a dual-boot system with Debian and the other operating system on the same Serial ATA RAID:

  1. Set up your fake RAID in the BIOS (see owners manual).
  2. Boot from a Debian installation media.

  3. Move the cursor to the Install boot menu entry (do not hit Enter yet):

    1. Press Tab to edit the kernel boot line.

    2. Add dmraid=true to the end of the line.

    3. Press Enter.

  4. Install Debian as usual, until you get to the disk partitioner. You will see your fake RAID as one disk with a confusing long name. Use it as if it were a single disk and configure your partitions any way you want, including LVM and friends.
  5. Complete the installation. The installation of GRUB may fail, but that is OK; GRUB needs to be reinstalled either way. If GRUB installation fails, select "continue without bootloader" to complete the Debian installation.
  6. Reboot as instructed by Debian Installer.
  7. Boot using the Debian installation media again.
  8. In the boot menu, go to Advanced Options, and move the cursor to "Rescue system" (do not hit Enter yet):

    1. Press Tab to edit the kernel boot line.

    2. Add "dmraid=true" without quotes to the end of the line.
    3. Press Enter.

  9. You will be presented with screens similar to the installation screens. Go through with them until you are asked to choose a root filesystem to mount and use.
  10. Choose the first /dev/dm-? (? is a number). You will get a command prompt.
  11. (Optional) Type bash into the prompt, for easier command line editing and command history.

  12. Modify /etc/default/grub (e.g. nano /etc/default/grub) and uncomment GRUB_DISABLE_LINUX_UUID=true (699437). Save the file and exit the editor.

  13. Type update-grub and press enter. This is very important, because otherwise the GRUB boot menu later wont be able to display your freshly installed kernel!

  14. Type grub-install /dev/mapper/ and press tab and tab again, you will get the names of the fake raid partitions.

    1. Complete grub-install /dev/mapper/ with the name of your whole fake disk.

      For example grub-install /dev/mapper/isw-jggdha7s-SYS (Note that there is no number at the end of the name). You may have something like /dev/mapper/isw-jggdha7s-SYS and /dev/mapper/isw-jggdha7s-SYS1, or /dev/mapper/isw-jggdha7s-Volume and /dev/mapper/isw-jggdha7s-Volume1. Choose the one without the partition number and press enter.

    2. Everything should install now without an error.
  15. Type exit (twice if you did step 11). Now you should be back in the rescue system menu. Choose the Reboot system option. Now boot off your fake RAID and see GRUB starting your new Debian installation.


CategoryPermalink