342 |
SystemRescueCD boot parameters |
SystemRescueCD boot parameters |
343 |
**************************************** |
**************************************** |
344 |
[[ info.png ]] |
[[ info.png ]] |
345 |
The following info applies to SystemRescueCD v. 1.3.5. In case |
The following info applies to SystemRescueCD v. 1.5.4. In case |
346 |
you need to get info for a more recent version of SystemRescueCD |
you need to get info for a more recent version of SystemRescueCD |
347 |
please see the page "Sysresccd-manual-en Booting the CD-ROM {{ |
please see the page "Sysresccd-manual-en Booting the CD-ROM {{ |
348 |
http://www.sysresccd.org/Sysresccd-manual-en_Booting_the_CD-ROM }}" |
http://www.sysresccd.org/Sysresccd-manual-en_Booting_the_CD-ROM }}" |
357 |
|
|
358 |
Available kernels (boot images): |
Available kernels (boot images): |
359 |
|
|
360 |
* rescuecd This is the default choice for 32bits systems, with Framebuffer |
* rescuecd Default for 32bit systems, with Framebuffer disabled, best choice. |
361 |
disabled, best choice. |
* rescue64 Default 64 bit kernel. Use it if you want to chroot to a 64bit |
362 |
* altker32 This is an alternative kernel for 32bits systems. Boot with |
linux system installed on your hard disk, or if you have to run 64 bits |
363 |
this kernel in case you have problems with rescuecd. altker32 was named |
programs. This kernel is able to boot with 32bit programs, and it requires |
364 |
vmlinuz2 in versions prior to SystemRescueCd-1.0.0. |
a processor with 64bit instructions (amd64 / em64t). |
365 |
* rescue64 This is the default 64 bits kernel. Use it if you want to chroot |
* altker32 an alternative kernel for 32bit systems. Boot with this kernel |
366 |
to a 64bits linux system installed on your hard disk, or if you have to run |
if you have problems with rescuecd |
367 |
64 bits programs. This kernel is able to boot SystemRescueCd from the cdrom |
* altker64 an alternative kernel for 64bit systems. Boot with this kernel |
368 |
with 32bits programs, and it required a processor with 64bits instructions |
in case you have problems with rescue64. |
|
(amd64 / em64t). |
|
|
* altker64 This is an alternative kernel for 64bits systems. Boot with |
|
|
this kernel in case you have problems with rescue64. Only available from |
|
|
SystemRescueCd-1.0.0 and newer. |
|
369 |
|
|
370 |
The boot parameters you can use are: |
The boot parameters you can use are: |
371 |
|
|
372 |
General boot options |
General boot options |
373 |
|
Press <TAB> to add additional options. |
|
* setkmap=xx: if you don't want to be asked for the keymap, you can |
|
|
choose which keymap to load automatically. Replace xx with your keymap |
|
|
(for example: setkmap=de for german keyboards) |
|
|
* docache: this option is very useful if you need to insert another disc |
|
|
in the CD drive after booting. The CD-ROM will be fully loaded into memory, |
|
|
and you will be able to remove the disc from the drive. The docache option |
|
|
requires 400MB of memory if you want to cache everything (including the |
|
|
bootdisks and isolinux directories). You can add the lowmem option if you |
|
|
have less that 400MB of memory of to prevent these directories to be copied |
|
|
into memory. |
|
|
* root=xxx: the root=<device> option {{ |
|
|
http://www.sysresccd.org/news/2008/06/05/use-systemrescuecd-to-boot-a-linux-os-from-the-hard-disk/ |
|
|
}} lets you boot an existing linux system. For example, if you have a |
|
|
linux gentoo installed on /dev/sda6, you can type rescuecd root=/dev/sda6 |
|
|
and Gentoo Linux will be started instead of the system that is on |
|
|
the CD-ROM. Keep in mind that you must use a 64bits kernel if your |
|
|
system is made of 64bits programs. For instance, you can boot a 64bits |
|
|
linux system installed on /dev/sda6 with rescue64 root=/dev/sda6. From |
|
|
SystemRescueCd-1.0.4, this option works with LVM disks, so you can write |
|
|
something like rescuecd root=/dev/VolGroup00/LogVol00. SystemRescueCd-1.0.4 |
|
|
and newer versions also supports root=auto, that will scan all the block |
|
|
devices of the computer to find a linux system. The first linux system found |
|
|
on the disks will be started. So with root=auto let you start the system |
|
|
installed from the CD-ROM in case you have problem with your boot loader or |
|
|
with your kernel for instance. You can have more details about that option. |
|
|
* initscript=service:action: This options allows you to automatically |
|
|
start/stop a service at boot time. For instance if you need the |
|
|
samba service to be started, you can boot with the following option: |
|
|
initscript=samba:start. This does the same thing as /etc/init.d/samba |
|
|
start. You can use this option several times with different services. All |
|
|
the action that are supported by an initscript can be used. This option |
|
|
is available with SystemRescueCd-1.0.2 and newer. |
|
|
* backstore=xxx: SystemRescueCd-1.1.x |
|
|
comes with support for the backing-stores {{ |
|
|
http://www.sysresccd.org/news/2008/06/29/creating-a-backing-store-to-keep-your-modifications-in-sysresccd/ |
|
|
}}. Basically, a backing-store is a loopback filesystem which saves all |
|
|
the changes you can make in SystemRescueCd when you use it. In other words |
|
|
it allows you to save all the files which changes in SystemRescueCd while |
|
|
you use it, so that you keep these changes the next time you boot it. By |
|
|
default, sysresccd automatically scan all your removable devices (eg: usb |
|
|
sticks) at boot time and uses the first backing-store it finds if there is |
|
|
one. A backing-store is not mandatory and it the scan fails it will just |
|
|
store the files which change in memory. To disable the disks scan at boot |
|
|
time you can specify backstore=off on the boot command line. If you want |
|
|
to save your backing-store file on an harddisk, you will have to boot |
|
|
with backstore=alldev so that it scans all devices not just removable |
|
|
devices. The default place for backing-stores file is any file named |
|
|
sysrcd.bs located at the root of a disk which is often an USB key. You can |
|
|
change the path by using an option such as backstore=/sysrcd/mybackstore.bs |
|
|
and then sysresccd will try to find a file named mybackstore.bs located |
|
|
in /sysrcd in any block-device (partition, USB-stick, ...). You can find |
|
|
more information about on the page about backing-stores. |
|
|
|
|
|
Hardware, drivers and troubleshooting options |
|
374 |
|
|
375 |
|
* docache: causes the CD-ROM will be fully loaded into memory. A slower |
376 |
|
start but once complete, programs start faster and the CD drive will be |
377 |
|
released allowing normal access to other CDs. This requires 400MB of memory |
378 |
|
to cache everything (including the bootdisks and isolinux directories). Add |
379 |
|
lowmem if you have less that 400MB of memory of to prevent these directories |
380 |
|
to be copied. |
381 |
|
|
382 |
|
During boot you will be prompted for the keyboard configuration, avoid |
383 |
|
this by using |
384 |
|
|
385 |
|
* setkmap=kk: which defines the keymap to load where kk (example: setkmap=de |
386 |
|
for German keyboards) |
387 |
|
* root=/dev/xdnp: the root=<device> option boots an existing linux |
388 |
|
system. For example, if you have linux Gentoo installed on /dev/sda6, |
389 |
|
use rescuecd root=/dev/sda6 to start it. Keep in mind that you must use a |
390 |
|
64bit kernel if your system is made of 64bit programs. This option works |
391 |
|
with LVM volumes. Use rescuecd root=/dev/VolGroup00/LogVol00. Support |
392 |
|
is also provided for root=auto, which scans all the block devices tfor |
393 |
|
a linux system. The first linux system found will be started. So with |
394 |
|
root=auto let you start the system installed from the CD-ROM in case |
395 |
|
you have problem with your boot loader or kernel. It's also possible |
396 |
|
to specify a partition using its filesystem label or filesystem |
397 |
|
uuid. If the label of the partition where linux is installed is |
398 |
|
mylinux, then boot it using rescuecd root=LABEL=mylinux. Similarly |
399 |
|
root=UUID=b3d3bec5-997a-413e-8449-0d0ec41ccba7. See more details. |
400 |
|
* initscript=service:action: This options allows start/stop a service |
401 |
|
at boot time. For instance if you need the samba service to be started, |
402 |
|
you can boot with: initscript=samba:start. This does the same thing as |
403 |
|
/etc/init.d/samba start. Use this option multiple times for different |
404 |
|
services. All the actions that are supported by an initscript can be used. |
405 |
|
* backstore=xxx: SystemRescueCd comes with support for the backing-stores. A |
406 |
|
backing-store saves all the changes you can make. so that you keep these |
407 |
|
changes the next time you boot it. By default, sysresccd automatically |
408 |
|
scan removable devices (eg: USB sticks) at boot time and uses the first |
409 |
|
backing-store it finds. A backing-store is not mandatory and it the |
410 |
|
scan fails it will store the files which change in memory. To disable |
411 |
|
the disks scan at boot time specify backstore=off on the boot command |
412 |
|
line. If you want to save your backing-store file on an harddisk, boot with |
413 |
|
backstore=alldev to scan all devices (not just removable devices). The |
414 |
|
default location for backing-stores file is any file named sysrcd.bs |
415 |
|
located at the root of a disk which is often an USB stick. Change the path |
416 |
|
by using backstore=/sysrcd/mybackstore.bs. See backing-stores. |
417 |
|
* isoloop=xxx: Grub2 (currently in development: grub-1.98) provides a new |
418 |
|
feature to boot from an ISO image which is stored from the hard disk. If you |
419 |
|
put a copy of systemrescuecd-x86-x.y.z.iso on a partition that Grub2 can read |
420 |
|
then you can boot SystemRescueCd directly from the ISO image stored on your |
421 |
|
hard drive. This is very convenient if you frequently update SystemRescueCd |
422 |
|
and you want to boot it directly from Grub2. Grub2 knows what an ISO image |
423 |
|
is and it will load the kernel image (rescuecd/rescue64) and the initramfs |
424 |
|
(initram.igz) from the ISO into memory. It will then do its normal job and |
425 |
|
execute the kernel. The SystemRescueCd init script must then be aware that |
426 |
|
its sysrcd.dat file is in an ISO and not directly on the partition. For that |
427 |
|
reason, this isoloop=xxx boot option is required so you must use it in your |
428 |
|
grub.cfg. This option is only supported in SystemRescueCd-1.4.0 and more |
429 |
|
recent. This option specifies the path of the ISO image in the partition that |
430 |
|
grub considers as its root partition. It's important to understand that the |
431 |
|
path of the ISO image may be different from the path on your linux system. If |
432 |
|
you have a separate boot partition mounted on /boot and if you copy this |
433 |
|
ISO image to /boot/sysrcd/systemrescuecd-x86-x.y.z.iso then the option has |
434 |
|
to be isoloop=/sysrcd/systemrescuecd-x86-x.y.z.iso. This is because the |
435 |
|
boot partition is what Grub2 will consider as its root partition during |
436 |
|
the boot process. Please read the section about isoloop for more details. |
437 |
|
|
438 |
|
Hardware, drivers and troubleshooting options |
439 |
|
* dodebug: Enables verbose messages in linuxrc |
440 |
|
|
441 |
|
* doload=xxx: loads needed modules, multiple occurrences are permitted |
442 |
|
(example: doload=3c59x) |
443 |
|
* noload=xxx: prevents loading modules, multiple occurrences are permitted |
444 |
|
(example: noload=3c59x). Use this option if you have a problem when the |
445 |
|
system loads a particular module. |
446 |
* nonet: this will disable the network auto detection at startup |
* nonet: this will disable the network auto detection at startup |
447 |
|
|
448 |
* scandelay=x: pauses x seconds during the startup to allow slow devices |
* scandelay=x: pauses x seconds during the startup to allow slow devices |
449 |
to initialize. This is required when you boot an usb device. A delay of |
to initialize. This is required when you boot an USB device. A delay of |
450 |
only few seconds should be enough. |
only few seconds should be enough. |
451 |
|
|
452 |
* doxdetect: Since version 0.3.5 the auto-configuration is done in X.Org |
* doxdetect: Since version 0.3.5 the auto-configuration is done in X.Org |
453 |
itself, and then mkxf86config is disabled by default. This option forces |
itself, mkxf86config is disabled by default. This option forces the system to |
454 |
the system to run the mkxf86config startup script to run the hardware |
run the mkxf86config startup script and to run the hardware auto-detection |
455 |
auto-detection from this script. Use this option if you have problems with |
from this script. Use this option if you have problems with the graphical |
456 |
the graphical environment configuration. This option replaces the option |
environment configuration. This option replaces the option noxdetect that |
457 |
noxdetect that was useful in previous versions. |
was useful in previous versions. |
458 |
* nodetect: prevents the generic hardware auto-detection. Use this option |
* nodetect: prevents generic hardware auto-detection. Use this option if |
459 |
if you have problems with the hardware auto-detection. |
you have problems with the hardware auto-detection. |
460 |
* doload=xxx: forces to load one/several modules at startup (example: |
|
461 |
doload=3c59x) |
* dostartx: load the X.Org graphical environment. |
462 |
* noload=xxx: prevents the system to load one/several modules at startup |
* forcevesa: Forces X.Org to use the safe VESA driver instead of the best |
463 |
(example: noload=3c59x). Use this option if you have a problem when the |
video driver detected for your video card. Use this option if you cannot |
464 |
system loads a particular module at boot time. |
get the graphical environment working with the default options. |
465 |
* dostartx: This option will force the system to load the X.Org graphical |
* forcevesa=xxx: The startx command will load the Xvesa server instead |
466 |
environment at boot time. You won't have to type startx by hand to get it. |
of Xorg, and use the screen resolution given as parameter (eg: 1024x768, |
467 |
* forcevesa: Forces X.Org to work with the safe vesa driver instead of |
1280x1024x32). |
468 |
the best video driver detected for your video card. Use this option if |
|
|
you cannot get the graphical environment working with the default options. |
|
|
* forcevesa=xxx: The startx command will load the Xvesa server instead of |
|
|
Xorg, and Xvesa will use the screen resolution given as parameter (eg: |
|
|
1024x768, 1280x1024x32). The forcevesa option can take a parameter from |
|
|
SystemRescueCd-1.0.0 and more recent. |
|
469 |
* all-generic-ide: In case of problems related to your hard disk, try to |
* all-generic-ide: In case of problems related to your hard disk, try to |
470 |
enable this option (eg rescuecd all-generic-ide) |
enable this option (eg rescuecd all-generic-ide) |
471 |
* acpi-off / noapic / irqpool: use these options if you have any problem |
* nodmraid: Disable dmraid, for some motherboards with built-in RAID |
472 |
when the kernel boots: if it hangs on a driver or if it crashes, ... |
controller. |
473 |
* dodebug: Enables verbose messages in the linuxrc script. |
* nomdadm: Disable mdadm, for software RAID. |
474 |
* lowmem: Prevents non critical things to be loaded into memory (like the |
|
475 |
sshd and nfsd services) |
* acpi-off / noapic / irqpool: use these options if you have problem when |
476 |
|
the kernel boots: if it hangs on a driver or if it crashes, ... |
477 |
|
|
478 |
|
* lowmem: For systems with smaller memory, some daemons are not started |
479 |
|
including sshd and nfsd. |
480 |
|
|
481 |
* skipmount=/dev/xxx: The system mounts all the storage devices at boot |
* skipmount=/dev/xxx: The system mounts all the storage devices at boot |
482 |
time to find the sysrcd.dat file. You may not want it to mount a device, |
time to find the sysrcd.dat file. If your hard disk is broken it should |
483 |
for instance if your hard disk is broken because it would crash the |
be mounted. Boot with skipmount=/dev/sda1 skipmount=/dev/sda2 to ignore |
484 |
system. You can just boot with skipmount=/dev/sda1 skipmount=/dev/sda2 if |
these two partitions. |
485 |
you want SystemRescueCd to ignore these two partitions. This boot option |
|
486 |
requires SystemRescueCd-1.0.1 or more recent. |
Network configuration and remote access |
487 |
* nodmraid: Disable dmraid, which is the program that drives RAID disks |
* dodhcp: to request a DHCP server provide network attributes including |
488 |
based on cheap RAID controller built-in motherboards. |
an IP address, gateway... . otherwise, |
489 |
* nomdadm: Disable mdadm, which is the program that drives software RAID. |
* ethx=ipaddr/cidr: Sets the static IP address of all the ethernet |
490 |
|
interfaces on the system. The /cidr extension is optional. For instance, |
491 |
Network auto-configuration and remote access |
if you use option ethx=192.168.0.1 on a machine with two ethernet adapters, |
492 |
|
both eth0 and eth1 will be configured with 192.168.0.1. You can use the |
493 |
* dodhcp: Use dodhcp if you have a DHCP server on your network and you |
format ethx=10.0.0.1/24 (using the cidr notation) if you don't use the |
494 |
want the system to get a dynamic IP address at boot time. |
default netmask. |
495 |
* ethx=ipaddr/cidr: Sets the static IP address of all the ethernet interfaces |
* eth0=ipaddr/cidr: This option is similar to ethx=ipaddr/cidr but it |
496 |
found on the system. The /cidr extension is optional. For instance, if |
configures only one interface at a time. To configure the network on a |
497 |
you use option ethx=192.168.0.1 on a machine with two ethernet adapters, |
server that has two interfaces, use: eth0=192.168.10.1/24 eth1=192.168.20.1. |
|
both eth0 and eth1 will be configured with 192.168.0.1. You can also write |
|
|
something like ethx=10.0.0.1/24 (using the cidr notation) if you don't |
|
|
use the default netmask. |
|
|
* eth0=ipaddr/cidr: This option is similar to |
|
|
ethx=ipaddr/cidr but it configures only one interface |
|
|
at a time. Of course, you can use the eth0=ipaddr/cidr option {{ |
|
|
http://www.sysresccd.org/news/2008/04/13/new-boot-options-for-advanced-ethernet-ip-configuration/ |
|
|
}} it for all the ethernet interfaces, not just eth0. For instance if you |
|
|
want to configure the network on a server that has two interfaces, you can |
|
|
write something like this: eth0=192.168.10.1/24 eth1=192.168.20.1. This |
|
|
option requires SystemRescueCd-1.0.2 or newer. |
|
498 |
* dns=ipaddr: Sets the static IP address of the DNS nameserver you want |
* dns=ipaddr: Sets the static IP address of the DNS nameserver you want |
499 |
to use to resolve the names. For instance dns=192.168.0.254 means that |
to use to resolve the names. For instance dns=192.168.0.254 means that |
500 |
you want to use 192.168.0.254 as the DNS server. |
you want to use 192.168.0.254 as the DNS server. |
508 |
* rootpass=123456: Sets the root password of the system running on the |
* rootpass=123456: Sets the root password of the system running on the |
509 |
livecd to 1234. That way you can connect from the network and ssh on the |
livecd to 1234. That way you can connect from the network and ssh on the |
510 |
livecd and give 123456 password as the root password. |
livecd and give 123456 password as the root password. |
511 |
* vncserver=x:123456: The vncserver boot option {{ |
* vncserver=x:123456: The vncserver boot option has been introduced in |
512 |
http://www.sysresccd.org/news/2008/04/12/use-systemrescuecd-remotely-with-vnc-server/ |
SystemRescueCd-1.0.2. This options forces the system to configure the |
513 |
}} has been introduced in SystemRescueCd-1.0.2. This options forces the |
VNC-server and to start it automatically at boot time. You have to replace |
514 |
system to configure the VNC-server and to start it automatically at boot |
x with the number of displays you want, and 123456 with your password The |
515 |
time. You have to replace x with the number of displays you want, and 123456 |
password must be between 5 and 8 characters, else the boot option will be |
516 |
with your password The password must be between 5 and 8 characters, else the |
ignored. In other words the vncserver=2:MyPaSsWd option will give you access |
517 |
boot option will be ignored. In other words the vncserver=2:MyPaSsWd option |
to two displays (display=1 on tcp/5901 and display=2 on tcp/5902). Display |
518 |
will give you access to two displays (display=1 on tcp/5901 and display=2 |
0 is reserved for X.Org since SystemRescueCd-1.1.0. |
519 |
on tcp/5902). Display 0 is reserved for X.Org since SystemRescueCd-1.1.0. |
* nameif=xxx: You can can specify what interface name to give to a |
520 |
* nameif=xxx: You can can specify what interface name to give {{ |
particular interface using the mac address. You need SystemRescueCd-1.1.0 |
521 |
http://www.sysresccd.org/news/2008/06/28/option-to-define-the-name-of-a-network-interface-using-the-mac-address/ |
or newer to do that. Here is how you can specify which interface |
522 |
}} to a particular interface using the mac address. You need |
is using which mac address on a machine with two network interfaces: |
523 |
SystemRescueCd-1.1.0 or newer to do that. Here is how you can specify |
nameif=eth0!00:0C:29:57:D0:6E,eth1!00:0C:29:57:D0:64. Be careful, you have |
524 |
which interface is using which mac address on a machine with two network |
to respect the separator (comma between the interfaces and exclamation |
525 |
interfaces: nameif=eth0!00:0C:29:57:D0:6E,eth1!00:0C:29:57:D0:64. Be |
marks between the name and the mac address). |
526 |
careful, you have to respect the separator (comma between the interfaces |
|
527 |
and exclamation marks between the name and the mac address). |
Network boot using PXE |
528 |
|
SystemRescueCd provides several options for booting from the network |
529 |
|
using PXE. |
530 |
|
These options can be combined with other network boot options such as ethx |
531 |
|
(cf previous section). See PXE network booting to get a global overview |
532 |
|
of SystemRescueCd and PXE and Manage remote servers using PXE. |
533 |
|
The second stage downloads the kernel + initramfs using DHCP/TFTP. |
534 |
|
The third stage of the PXE boot process acquires the root files system. |
535 |
|
Several protocols are available. |
536 |
|
|
537 |
|
* netboot=tftp://ip/path/sysrcd.dat: from a TFTP server. The filesystem |
538 |
|
is loaded into memory. As a consequence computers with less than 400MB of |
539 |
|
memory won't be able to boot this way. The system will continue to work |
540 |
|
if the network is disconnected after the boot process. |
541 |
|
* netboot=http://ip:port/path/sysrcd.dat: from a Web server. The file system |
542 |
|
is loaded into memory. Computers with smaller memory won't be able to boot |
543 |
|
this way. The the system continues to work if the network is disconnected |
544 |
|
after the boot process. |
545 |
|
* netboot=nfs://ip:/path: mount an NFSv3 directory. The NFS url must be |
546 |
|
the path of the directory that contains sysrcd.dat. Only NFSv3 can be used, |
547 |
|
NFSv4 is not supported. NFS it allows computers with smaller memory to boot |
548 |
|
SystemRescueCd from the network. After the boot process, the connection |
549 |
|
is required or you will loose the access to the root file system. |
550 |
|
* netboot=nbd://ip:port: connect to an NBD server configured with sysrcd.dat |
551 |
|
on ip:port. NBD is easier to configure than NFS (only one TCP port involved) |
552 |
|
and it allows computers with smaller memort to boot SystemRescueCd from |
553 |
|
the network. After the boot process, the connection is required the access |
554 |
|
to the root system. |
555 |
|
|
556 |
Options provided by the autorun |
For information on activating speakup, see the speakup info page. |
557 |
|
|
558 |
|
Options provided for autorun |
559 |
* ar_source=xxx: place where the autorun are stored. It may |
* ar_source=xxx: place where the autorun are stored. It may |
560 |
be the root directory of a partition (/dev/sda1), an nfs |
be the root directory of a partition (/dev/sda1), an nfs |
561 |
share (nfs://192.168.1.1:/path/to/scripts), a samba share |
share (nfs://192.168.1.1:/path/to/scripts), a samba share |
562 |
(smb://192.168.1.1/path/to/scripts), or an http directory |
(smb://192.168.1.1/path/to/scripts), or an http directory |
563 |
(http://192.168.1.1/path/to/scripts). |
(http://192.168.1.1/path/to/scripts). |
564 |
* autoruns=[0-9]: comma separated list of the autorun script that have to |
* autoruns=[0-9]: comma separated list of the autorun scrip to be run. For |
565 |
be run. For instance if you use autoruns=0,2,7 then the following autorun |
example autoruns=0,2,7 the autorun sc autorun0, autorun2, autorun7 are |
566 |
scripts will be executed: autorun0, autorun2, autorun7. Use autoruns=no |
run. Use autoruns=no to disable all the autorun scripts with a number. |
|
to disable all the autorun scripts with a number. |
|
567 |
* ar_ignorefail: continue to execute the scripts chain even if a script |
* ar_ignorefail: continue to execute the scripts chain even if a script |
568 |
failed (returned a non-zero status) |
failed (returned a non-zero status) |
569 |
* ar_nodel: do not delete the temporary copy of the autorun scripts located |
* ar_nodel: do not delete the temporary copy of the autorun scripts located |
576 |
Clonezilla Live boot parameters |
Clonezilla Live boot parameters |
577 |
**************************************** |
**************************************** |
578 |
[[ info.png ]] |
[[ info.png ]] |
579 |
The following info applies to Clonezilla Live v. 1.2.3-27 |
The following info applies to Clonezilla Live v. 1.2.5-17 |
580 |
In case you need to get info for a more recent version of Clonezilla Live |
In case you need to get info for a more recent version of Clonezilla Live |
581 |
please see the page "The boot parameters for Clonezilla live {{ |
please see the page "The boot parameters for Clonezilla live {{ |
582 |
http://www.clonezilla.org/clonezilla-live/doc/fine-print.php?path=./99_Misc/00_live-initramfs-manual.doc#00_live-initramfs-manual.doc |
http://www.clonezilla.org/clonezilla-live/doc/fine-print.php?path=./99_Misc/00_live-initramfs-manual.doc#00_live-initramfs-manual.doc |
598 |
http://www.clonezilla.org/clonezilla-live/doc/fine-print.php?path=./99_Misc/00_live-initramfs-manual.doc#00_live-initramfs-manual.doc |
http://www.clonezilla.org/clonezilla-live/doc/fine-print.php?path=./99_Misc/00_live-initramfs-manual.doc#00_live-initramfs-manual.doc |
599 |
}}. |
}}. |
600 |
|
|
601 |
Clonezilla live is based on Debian live {{ http://wiki.debian.org/DebianLive/ |
Clonezilla live is based on Debian live with clonezilla installed. Therefore |
602 |
}} with clonezilla installed. Therefore there are 2 kinds of boot parameters: |
there are 2 kinds of boot parameters: |
603 |
|
|
604 |
* Boot parameters from live-initramfs. You can refer to this manual of |
* Boot parameters from live-initramfs. You can refer to this manual of |
605 |
live-initramfs. |
live-initramfs. |
610 |
ocs-live-restore or any command you write. Use the Absolute path in |
ocs-live-restore or any command you write. Use the Absolute path in |
611 |
Clonezilla live. |
Clonezilla live. |
612 |
e.g. ocs_live_run="ocs-live-general" |
e.g. ocs_live_run="ocs-live-general" |
613 |
|
//NOTE// You might have to use "sudo" command inside your own script, |
614 |
|
or you can assign it like: ocs_live_run="sudo bash /my-clonezilla" |
615 |
* ocs_live_extra_param will be used only when ocs_live_run=ocs-live-restore |
* ocs_live_extra_param will be used only when ocs_live_run=ocs-live-restore |
616 |
(not for ocs-live-general or any other), then it will be passed to |
(not for ocs-live-general or any other), then it will be passed to |
617 |
ocs-sr. Therefore these parameters are actually those of ocs-sr. |
ocs-sr. Therefore these parameters are actually those of ocs-sr. |
643 |
only. (It was also on /dev/ttyS0 before, but since Clonezilla live >= |
only. (It was also on /dev/ttyS0 before, but since Clonezilla live >= |
644 |
1.2.3-22 no more this due to a problem). If you want to use ttyS0, for |
1.2.3-22 no more this due to a problem). If you want to use ttyS0, for |
645 |
example, add live-getty and console=ttyS0,38400n81 in the boot parameter. |
example, add live-getty and console=ttyS0,38400n81 in the boot parameter. |
646 |
|
//NOTE// |
647 |
|
* This parameter was added in Clonezilla live 1.2.3-22 or later. |
648 |
|
* If "live-getty console=$tty,38400n81" are assigned in the boot parameters, |
649 |
|
ocs_live_run_tty will honor $tty, even other value is assigned to |
650 |
|
ocs_live_run_tty in boot parameter. |
651 |
|
* It's recommended to assign ocs_lang and ocs_live_keymap in the boot |
652 |
|
parameters too. |
653 |
|
* ip, this option allows you to specify the network parameters for |
654 |
|
network card. In Clonezilla live a patched live-initramfs is used, which |
655 |
|
is different from the original live-initramfs so that you can assign |
656 |
|
DNS server, too. Its format is: ip=ethernet port,IP address, netmask, |
657 |
|
gateway, DNS. E.g. If you want to assing eth0 with IP address 10.0.100.1, |
658 |
|
netmask 255.255.255.0, gateway 10.0.100.254, DNS server 8.8.8.8, you can |
659 |
|
assign the following in the boot parameter: |
660 |
|
ip=eth0,10.0.100.1,255.255.255.0,10.0.100.254,8.8.8.8 |
661 |
|
If more than one network card, you can use ":" to separate them, e.g.: |
662 |
|
ip=eth0,10.0.100.1,255.255.255.0,10.0.100.254,8.8.8.8:eth1,192.168.120.1,255.255.255.0,192.168.120.254,, |
663 |
* Besides, "live-netdev" (yes, not ocs_live_netdev) can be used when |
* Besides, "live-netdev" (yes, not ocs_live_netdev) can be used when |
664 |
using PXE booting, you can force to assign the network device to get |
using PXE booting, you can force to assign the network device to get |
665 |
filesystem.squashfs. This is useful when there are two or more NICs are |
filesystem.squashfs. This is useful when there are two or more NICs are |
798 |
You probably do not want to install this package onto a non-live system, |
You probably do not want to install this package onto a non-live system, |
799 |
although it will do no harm. |
although it will do no harm. |
800 |
|
|
801 |
live-initramfs is a fork of link:http://packages.ubuntu.com/casper/[casper]. |
live-initramfs is a fork of casper. |
802 |
casper was originally written by Tollef Fog Heen <tfheen@canonical.com> |
casper was originally written by Tollef Fog Heen |
803 |
and Matt Zimmerman <mdz@canonical.com>. |
<tfheen@canonical.com&gt; |
804 |
|
and Matt Zimmerman <mdz@canonical.com&gt;. |
805 |
|
|
806 |
Boot options |
Boot options |
807 |
------------ |
------------ |
847 |
compared to the value found in md5sum.txt found in the root directory of the |
compared to the value found in md5sum.txt found in the root directory of the |
848 |
live media. |
live media. |
849 |
|
|
850 |
ip=**[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF] |
ip=**[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]: |
851 |
[,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]]***:: |
[DEVICE]:[AUTOCONF] |
852 |
|
[,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]: |
853 |
|
[DEVICE]:[AUTOCONF]]***:: |
854 |
|
|
855 |
Let you specify the name(s) and the options of the interface(s) that |
Let you specify the name(s) and the options of the interface(s) that |
856 |
should be |
should be |
870 |
{keyb|kbd-chooser/method}=**KEYBOARD**, |
{keyb|kbd-chooser/method}=**KEYBOARD**, |
871 |
{klayout|console-setup/layoutcode}=**LAYOUT**, |
{klayout|console-setup/layoutcode}=**LAYOUT**, |
872 |
{kvariant|console-setup/variantcode}=**VARIANT**, |
{kvariant|console-setup/variantcode}=**VARIANT**, |
873 |
{kmodel|console-setup/modelcode}=**CODE**, koptions=**OPTIONS**:: |
{kmodel|console-setup/modelcode}= |
874 |
|
**CODE**, koptions=**OPTIONS**:: |
875 |
|
|
876 |
Configure the running keyboard as specified, if this one misses |
Configure the running keyboard as specified, if this one misses |
877 |
live-initramfs |
live-initramfs |
1114 |
this file, any images in the "/live" directory are loaded in alphanumeric |
this file, any images in the "/live" directory are loaded in alphanumeric |
1115 |
order. |
order. |
1116 |
|
|
1117 |
/etc/live-persistence.binds |
/etc/live-persistence.binds |
1118 |
|
|
1119 |
This optional file (which resides in the rootfs system, not in the live |
This optional file (which resides in the rootfs system, not in the live |
1120 |
media) |
media) |
1137 |
---- |
---- |
1138 |
|
|
1139 |
Report bugs against live-initramfs |
Report bugs against live-initramfs |
1140 |
link:http://packages.qa.debian.org/live-initramfs[http://packages.qa.debian.org/live-initramfs]. |
http://packages.qa.debian.org/live-initramfs. |
1141 |
|
|
1142 |
Homepage |
Homepage |
1143 |
-------- |
-------- |
1144 |
|
|
1145 |
More information about the Debian Live project can be found at |
More information about the Debian Live project can be found at |
1146 |
link:http://debian-live.alioth.debian.org/[http://debian-live.alioth.debian.org/] |
http://debian-live.alioth.debian.org/ and |
1147 |
and |
http://wiki.debian.org/DebianLive/. |
|
link:http://wiki.debian.org/DebianLive/[http://wiki.debian.org/DebianLive/]. |
|
1148 |
|
|
1149 |
Authors |
Authors |
1150 |
------- |
------- |
1151 |
|
|
1152 |
live-initramfs is maintained by Daniel Baumann <daniel@debian.org> |
live-initramfs is maintained by Daniel Baumann <daniel@debian.org&gt; |
1153 |
for the Debian project. |
for the Debian project. |
1154 |
|
|
1155 |
live-initramfs is a fork of link:http://packages.ubuntu.com/casper/[casper]. |
live-initramfs is a fork of casper. |
1156 |
casper was originally written by Tollef Fog Heen <tfheen@canonical.com> |
casper was originally written by Tollef Fog Heen |
1157 |
and Matt Zimmerman <mdz@canonical.com>. |
<tfheen@canonical.com&gt; |
1158 |
|
and Matt Zimmerman <mdz@canonical.com&gt;. |
1159 |
|
|
1160 |
|
|
1161 |
|
|