Re: Avoid reboot by loading initramfs again

2014-10-20 Thread Scott Ferguson
On 20/10/14 23:52, shawn wilson wrote: > > On Oct 20, 2014 8:13 AM, "Jimmy Thrasibule" > wrote: >> >> DM> I think it depends on what you're trying to achieve and what > you're >> DM> trying to avoid. >> >> Well my first idea was to have a kind of management

Re: Avoid reboot by loading initramfs again

2014-10-20 Thread Jimmy Thrasibule
GD> Have you considered statically linking the kernel to all the required GD> modules and disabling hardware detection? Yes I do. And this is the kind of kernel I use for my servers but this will not help for what I'm looking to achieve here. -- To UNSUBSCRIBE, email to debian-user-requ...@list

Re: Avoid reboot by loading initramfs again

2014-10-20 Thread Gary Dale
On 20/10/14 09:36 AM, Jimmy Thrasibule wrote: SW> See Qubes SW> SW> Its what Amazon uses for AWS. Its based on Fedora but idk of a Debian based SW> distro with a similar focus My use case is more for a server environment so this is not what I'm looking for here. I really mean managing the machin

Re: Avoid reboot by loading initramfs again

2014-10-20 Thread shawn wilson
On Oct 20, 2014 8:13 AM, "Jimmy Thrasibule" wrote: > > DM> I think it depends on what you're trying to achieve and what you're > DM> trying to avoid. > > Well my first idea was to have a kind of management OS that I can load > in memory to do some stuff like disk partitioning, fsck, etc... >

Re: Avoid reboot by loading initramfs again

2014-10-20 Thread Jimmy Thrasibule
SW> See Qubes SW> SW> Its what Amazon uses for AWS. Its based on Fedora but idk of a Debian based SW> distro with a similar focus My use case is more for a server environment so this is not what I'm looking for here. I really mean managing the machine from a memory image without a livecd or anythi

Re: Avoid reboot by loading initramfs again

2014-10-20 Thread Jimmy Thrasibule
DM> I think it depends on what you're trying to achieve and what you're DM> trying to avoid. Well my first idea was to have a kind of management OS that I can load in memory to do some stuff like disk partitioning, fsck, etc... For example one idea I have in mind is BTRFS snapshots. I can ta

Re: Avoid reboot by loading initramfs again

2014-10-20 Thread Reco
Hi. On Mon, Oct 20, 2014 at 11:13:38AM +0100, Darac Marjal wrote: > The other alternative, for a "lighter" reboot is to drop to runlevel 1 > (or single-user.target, in systemd's parlance). This will stop all the > mutli-user services (X, httpd, sshd and so on) and bring you to a point > wher

Re: Avoid reboot by loading initramfs again

2014-10-20 Thread Joe
On Mon, 20 Oct 2014 11:13:38 +0100 Darac Marjal wrote: > On Sun, Oct 19, 2014 at 10:36:23PM +0200, Jimmy Thrasibule wrote: > > Hello, > > > > I wonder if one can avoid a complete reboot of the system just by > > halting the operating system but right after load the initramfs and > > restart from

Re: Avoid reboot by loading initramfs again

2014-10-20 Thread Darac Marjal
On Sun, Oct 19, 2014 at 10:36:23PM +0200, Jimmy Thrasibule wrote: > Hello, > > I wonder if one can avoid a complete reboot of the system just by > halting the operating system but right after load the initramfs and > restart from there? I don't think you can quite do what you're thinking, but the

Avoid reboot by loading initramfs again

2014-10-19 Thread Jimmy Thrasibule
Hello, I wonder if one can avoid a complete reboot of the system just by halting the operating system but right after load the initramfs and restart from there? Basically when we reboot, we only want to reset the operating system state but rarely to do all the hardware checks again. And for a ker