Re: 个人操作使用记录
发表于 : 2016-12-20 20:28
硬盘启动drbl-clonezilla-live ,下载zip解压到一个单独分区的根目录,将live文件夹重命名为live-hd,下载地址: http://clonezilla.org/downloads.php 以下是sda7,可以在系统监视器-文件系统里查看,
sudo gedit /boot/grub/grub.cfg 在最后添加下列(改这个文件临时用一下,update-grub会自动删除),参考: http://clonezilla.org/livehd.php
menuentry "Clonezilla" {
set root=(hd0,msdos7)
linux /live-hd/vmlinuz boot=live union=overlay username=user config components quiet noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" keyboard-layouts= ocs_live_batch="no" locales= vga=788 ip=frommedia nosplash live-media-path=/live-hd bootfrom=/dev/sda7 toram=filesystem.squashfs
initrd /live-hd/initrd.img
}
如果下载的iso文件,系统安装在/sda3,并且iso文件放在了/live-hd/文件夹里,则如下
menuentry "Clonezilla live" {
set root='hd0,msdos3'
set isofile="/live-hd/drbl-live-xfce-2.4.7-7-amd64.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live union=overlay username=user config components quiet noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" keyboard-layouts= ocs_live_batch="no" locales= vga=788 ip=frommedia nosplash toram=filesystem.squashfs findiso=$isofile
initrd (loop)/live/initrd.img
}
sudo gedit /boot/grub/grub.cfg 在最后添加下列(改这个文件临时用一下,update-grub会自动删除),参考: http://clonezilla.org/livehd.php
menuentry "Clonezilla" {
set root=(hd0,msdos7)
linux /live-hd/vmlinuz boot=live union=overlay username=user config components quiet noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" keyboard-layouts= ocs_live_batch="no" locales= vga=788 ip=frommedia nosplash live-media-path=/live-hd bootfrom=/dev/sda7 toram=filesystem.squashfs
initrd /live-hd/initrd.img
}
如果下载的iso文件,系统安装在/sda3,并且iso文件放在了/live-hd/文件夹里,则如下
menuentry "Clonezilla live" {
set root='hd0,msdos3'
set isofile="/live-hd/drbl-live-xfce-2.4.7-7-amd64.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live union=overlay username=user config components quiet noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" keyboard-layouts= ocs_live_batch="no" locales= vga=788 ip=frommedia nosplash toram=filesystem.squashfs findiso=$isofile
initrd (loop)/live/initrd.img
}