LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-13-2018, 05:53 PM   #1
taumeister
Member
 
Registered: Nov 2017
Location: Germany / Bonn
Distribution: Deepin Linux, Debian
Posts: 65

Rep: Reputation: 1
Debian install via debootstrap on zfs root on USB


Hey, guys,
I have a problem with my existing port of Debian running on a USB stick and driving my QNAP, to ZFS Filesystem.
So I want to run my Debian server via ZFS root.
Basically I have no problems with it and have already done some installations of this kind.

If I install Debian on ZFS (root) on an internal hard disk, there are no problems.
I have no problems with Archlinux on USB with ZFS (root),
only with Debian on USB with ZFS (root) the pools are not included at startup.
I guess it's the order of the devices at boot time, in this case USB.
In Archlinux ( or Manjaro) I can use mkinitcpio.conf to set when the blockdevice should also be available (hooks: block, keyboard....etc).
How can I do this on Debian?
Or isn't that my problem?
Basically I follow these instructions:
https://github.com/zfsonlinux/zfs/wi...ch-Root-on-ZFS

If anyone has done something like this before or has a tip, I would be very grateful.

If you need more information to understand, just please ask.
greetings
thomas
 
Old 07-17-2018, 08:18 AM   #2
taumeister
Member
 
Registered: Nov 2017
Location: Germany / Bonn
Distribution: Deepin Linux, Debian
Posts: 65

Original Poster
Rep: Reputation: 1
The entry has been read 133 times and nobody seems to have an idea.
hmm..
Have I made myself unclear or misleading?
Should I explain more about installation or partitioning?

The aim was to install Debian on ZFS Root on a USB stick.
I did this installation several times in a virtual machine and documented it.

It works both installing Debian on a USB stick and installing Debian zfs root on a VM, BUT not
Debian based on ZFS root on USB.

I suspected that the USB drivers were not loaded early enough to find the pool.
But adding the modules in /etc/modules has not changed anything

If I run the command
'zpool import pool -N' and then enter exit,
the system boots just as it should, but not by itself.




Maybe it'll be a little clearer now? I hope =


Thanks for your help in advance
 
Old 07-30-2018, 02:08 AM   #3
taumeister
Member
 
Registered: Nov 2017
Location: Germany / Bonn
Distribution: Deepin Linux, Debian
Posts: 65

Original Poster
Rep: Reputation: 1
Hey, guys,

I solved it with the help of the Debian forum and my own research.
There was only a timeout to enter in /etc/default/grub to load the USB drivers.

https://debianforum.de/forum/viewtop...80111#p1180111
https://www.thomas-krenn.com/de/wiki...von_LVM_Volume
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW-TO: Install Debian using debootstrap. replica9000 Debian 68 12-21-2023 07:54 AM
Portable script to Install Ubuntu/Debian with debootstrap ? Xeratul Debian 0 01-02-2016 01:45 PM
Debian PPC Install errors (debootstrap, error 1) kdepa Debian 3 03-29-2007 06:27 AM
Debian install error /usr/lib/debootstrap/pkgdetails GT_Onizuka Debian 0 11-01-2005 01:11 AM
There have a error with debootstrap install debian cbz789 Debian 2 04-22-2005 06:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration