You are not logged in.
Pages: 1
Hello guys, I got an inquiry, that I'm already on bunsenlab, is there any quick way to install BL to an external disk without the need to leave the system in order to boot from with the installation media... 8.(
Offline
Yes
I have no time now for details, but you can:
- switch to multi-user target
- from the console use rsync to copy your root file system to the external drive.
- if you have separate /var, /boot, /home, etc.. copy these over as well
- from the current BL install chroot into the /boot or /root filesystem on external drive
- from the chroot run grub-install and update-grub
Offline
Yes
I have no time now for details, but you can:
- switch to multi-user target
- from the console use rsync to copy your root file system to the external drive.
- if you have separate /var, /boot, /home, etc.. copy these over as well
- from the current BL install chroot into the /boot or /root filesystem on external drive
- from the chroot run grub-install and update-grub
I want to install that default system from the squash file on the installation media, not my current system :8
maybe it's look like I need to mount the squash file first, then start from there?
Offline
No problem:
Mount the install ISO first to get access to the squash file.
Create a filesystem on the external disk and mount it on a mountpoint of your choice.
Run unsquashfs using the squash file as input and the mounted filesystem on the external disk as destination.
Chroot into the destination file system and run grub-install and update-grub.
Offline
No problem:
Mount the install ISO first to get access to the squash file.
Create a filesystem on the external disk and mount it on a mountpoint of your choice.
Run unsquashfs using the squash file as input and the mounted filesystem on the external disk as destination.
Chroot into the destination file system and run grub-install and update-grub.
So simple. Cool! still is that going to give me the same result of the traditional installation? I mean when I see the installation running, there is a stage when the installer start to remove the live scripts and other unneeded stuff.. etc..
Offline
Nope.
We are not running the installer.
Just copying files over.
Configuring the system will have to be done manually.
Cleaning up idem ditto.
Great fun
Offline
Nope.
We are not running the installer.
Just copying files over.
Configuring the system will have to be done manually.
Cleaning up idem ditto.
Great fun
If you mean I need to to done everything manually such as fstab timezone networking hosts hostname locales grub apt tasksel ... cleaning up
I would rather reboot, boot the installation media, and start the GUI installer, that is way faster to me than those tasks...
Offline
If you mean I need to to done everything manually such as fstab timezone networking hosts hostname locales grub apt tasksel ... cleaning up
Yes, that is what I mean. All those are normally set up by the installer, but in this case the installer does not get run.
I would rather reboot, boot the installation media, and start the GUI installer, that is way faster to me than those tasks... roll
Sensible choice.
Or copying your current installed system to external hard disk, as suggested first.
In the last case you will get all your settings for free.
Only thing that needs changing while you are in chroot is fstab entry for your root device. (The UUID must be the one for your hard disk filesystem.
Offline
If you mean I need to to done everything manually such as fstab timezone networking hosts hostname locales grub apt tasksel ... cleaning up
Yes, that is what I mean. All those are normally set up by the installer, but in this case the installer does not get run.
I would rather reboot, boot the installation media, and start the GUI installer, that is way faster to me than those tasks... roll
Sensible choice.
Or copying your current installed system to external hard disk, as suggested first.In the last case you will get all your settings for free.
Only thing that needs changing while you are in chroot is fstab entry for your root device. (The UUID must be the one for your hard disk filesystem.
I see but it wouldn't be a clean system, plus would take a lot of tasks to do when you copy an existing system to another storage, e.g. to exclude all these system's mount points and most tmp locations /dev/ /proc/ /sys/ /lost+found/ blah blah
plus to delete /etc/machine-id then edit fstab with UUID plus grub installation...
I wouldn't suggest that for any home user, I advice to install a fresh system and copy the old home over to that new system, unless of course that user did a lot of system-wide modifications here and there, like /etc or even /usr/share/ , that time his/her old home wouldn't be just sufficient to restore the system as it was before.. but at least he got his home to start over from
Offline
Use https://www.debian.org/releases/jessie/ … 03.html.en then reboot to the console and use https://github.com/BunsenLabs/bunsen-netinstall
Simples
EDIT: Actually, you can download and run the netinstall script from the chroot so no need to reboot
Last edited by Head_on_a_Stick (2016-05-27 18:57:45)
Offline
Use https://www.debian.org/releases/jessie/ … 03.html.en then reboot to the console and use https://github.com/BunsenLabs/bunsen-netinstall
Simples
EDIT: Actually, you can download and run the netinstall script from the chroot so no need to reboot
No way, forget about it ]:D
Offline
Pages: 1