https://github.com/ipxe/sanbootable
SAN bootability package
https://github.com/ipxe/sanbootable
boot cloud iscsi linux san
Last synced: about 1 year ago
JSON representation
SAN bootability package
- Host: GitHub
- URL: https://github.com/ipxe/sanbootable
- Owner: ipxe
- License: gpl-2.0
- Created: 2021-04-01T16:39:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T00:47:58.000Z (over 3 years ago)
- Last Synced: 2025-03-24T20:17:51.181Z (over 1 year ago)
- Topics: boot, cloud, iscsi, linux, san
- Language: M4
- Homepage:
- Size: 25.4 KB
- Stars: 5
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SAN bootability package
## Overview
Most Linux distributions now support the ability to install directly
to an iSCSI (or FCoE, or other SAN protocol) target disk. You can use
the Linux distribution's own installer in conjunction with a
bootloader such as [iPXE][ipxe] to install the operating system onto
the iSCSI disk. When you do this, the installer will automatically
configure the installed operating system to be able to boot from an
iSCSI target disk.
If you originally installed the operating system to a local disk
(rather than to an iSCSI target disk), then the installer will not set
up the configuration required to support booting via iSCSI. You can
take an image of the local disk containing the installed operating
system and copy it to an iSCSI target disk, but the operating system
will not be able to boot successfully because it will be missing some
required configuration.
The `sanbootable` package solves this problem by providing the
configuration required to allow a Linux operating system to boot from
either a local disk or an iSCSI target.
## Installation
### RHEL/CentOS/Fedora
Download and install the latest version of
[`sanbootable.rpm`][sanbootable.rpm]:
```
sudo yum install https://github.com/ipxe/sanbootable/releases/latest/download/sanbootable.rpm
```
### Ubuntu/Debian
Download and install the latest version of
[`sanbootable.deb`][sanbootable.deb]:
```
curl -OL https://github.com/ipxe/sanbootable/releases/latest/download/sanbootable.deb
sudo apt install -y ./sanbootable.deb
```
## Usage
After installing the `sanbootable` package, you can freely transfer
your disk image from a local disk to an iSCSI target disk or vice
versa.
The `sanbootable` code will detect at boot time whether the operating
system is being booted from a local disk or from an iSCSI target, and
will automatically adjust the system configuration as needed.
[ipxe]: https://ipxe.org
[sanbootable.rpm]: https://github.com/ipxe/sanbootable/releases/latest/download/sanbootable.rpm
[sanbootable.deb]: https://github.com/ipxe/sanbootable/releases/latest/download/sanbootable.deb