Using and Mounting a Secondary Internal HD

605 views
Skip to first unread message

nickg...@gmail.com

unread,
Jul 9, 2017, 10:05:18 PM7/9/17
to qubes-users
Hello Everyone,

I'm working on getting a second m.2 internal SSD set up and partitioned for Qubes. I already have it formatted by fdisk /dev/sdb. Created a new extended partition.

I added the /dev/sdb to fstab as an ext5. I'm getting wrong fs type error. One fix I found was installing nfs-tools. But you can't seem to get that installed on Dom0.

What is the default extension created in fdisk on qubes? I've tried ext, ext [1-5]. Parted -l only shows extended (whereas primary it shows ext4).


What do I need to do to allow the creation and migration of Qubes VM's to the new disk?

I'll be researching and working it on my end. But if any of you guys out there have an answer, or can point me in the right direction it would be greatly appreciated.

P R

unread,
Jul 10, 2017, 2:31:52 AM7/10/17
to nickg...@gmail.com, qubes-users
Hello ,

I am also using 2 internal drives.
One for Qubes and one for windows.
I have just installed Qubes to the 2nd drive and set it up as default boot drive in the BIOS.
If I need to boot into Windows I just hit F12 when starting, which brings me to the boot menu.

If I understand you right, you want to use a 2nd drive as additional (!) storage for Qubes, right?

I think what you want is to setup the partition as a LUKAS partition (to have encryption) and then create a filesystem (extX) on top.

Maybe also setup LVM.

Another option could be to extend the LVM (if you are using LVM in Qubes) with a 2nd drive (your M2 SSD).

In case you do not want to enter 2 credentials for LUKS you could maybe store the decryption key on dom0.

Then adding the 2nd drive to LVM, create an own Volumegroup and migrate the VMs.

- Philipp


--
You received this message because you are subscribed to the Google Groups "qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users...@googlegroups.com.
To post to this group, send email to qubes...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/172791d1-44b3-434b-8f2b-37d4a9dff604%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nick Geary

unread,
Jul 11, 2017, 2:30:01 PM7/11/17
to qubes-users, nickg...@gmail.com
I'm not planning to use it for dual boot. Would like to have the additional space to create larger VM's stored on the second drive.

To be able to clone decent sized Ubuntu & Windows templates.

So far I've attempted to format the disk through fdisk as an extended partition. Then used mkfs.ext3 to format the drive. But when it comes to putting ext3 type into fstab. it returns as an unrecognized type.

I then took a crack at these instructions:

https://www.qubes-os.org/doc/custom-install/#manual-encryption-configuration-r31

The most efficient way honestly, might be backing up all the VM's to an external disk, wiping the OS, and installing with both drives formatted together on initial installation. (would need to buy the drive)

It will be good experience to get it configured manually. But to pick up where I left off required decryption and opening of the luks volume by command line.

What is the best method for extending the LVM within Qubes?

So

1) Lukas partition
2) mkfs.ext3
3) fstab & crypttab

-N

Andrew David Wong

unread,
Jul 11, 2017, 9:43:01 PM7/11/17
to Nick Geary, qubes-users, nickg...@gmail.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
https://www.qubes-os.org/doc/secondary-storage/

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJZZX6YAAoJENtN07w5UDAwMi0P/3JSk/9YPDyQUTMyzn+91jZh
9sKNi1PrALf0jHvuJhVqfBydr5/3SjwjEJg4HKzB2kH5SvDutQOqawkvZEHglvGL
QfFkdMwo++QAjf640OfDCsxEddCtRmg5yxg7L6B5JA1Qrcmcjd3WeuJlub60u7D5
xktazTWlQmc+kTwnjxVAsDX1VFUTTkPDvDmdVID5F3vaScGT9Ord4hFKc1vaYzm1
iKTuqCUl0fixnlc3jsDf7ernoZqLF01aj41mjY5NJ+7B04Z06+yPcRwj9nglUQfp
zSRtn3rhRU5gLFzgIDVW7zKp/UORxuudunzjtX8V4X98QPlAeqYkJpgeKo8HhOHQ
Kj/0yf3RcEgQnwTk/FsdSaFCP82gI56lmOOa4VDjzO+J5bktEntQRaQKHY8xGxGC
7QgpzUr1p01iYufBUocrkq+YG2XP8o9gw9xMUaQ8AMC5US3dZK7kz3+ctLe2V1oP
K3y3X+wGYR3ccE7+HU2rl1dLj2FQ2FU9OhAFpi5i9EWlX2ZquD2wC2HRftBiO2Hr
CUEK+J60ttLnVXpcD6XNb2zcIHmTeT8+Egu7hjQdpmwQXz/At1mrWa9owG+6dhnl
+ao+54bZJ22aEFYMpflE4vaVwZF+AT0r3WpldyJflEmYTjdfRV4nq0erb82Rj9R6
X5pChb4C+ntuHB55FmdF
=f66q
-----END PGP SIGNATURE-----

P R

unread,
Jul 12, 2017, 2:16:59 PM7/12/17
to Nick Geary, nickg...@gmail.com, qubes-users
Hello,


Am 11.07.2017 8:30 nachm. schrieb "Nick Geary" <ngea...@gmail.com>:

What is the best method for extending the LVM within Qubes?

So

1) Lukas partition
2) mkfs.ext3
3) fstab & crypttab

Can't just add the 2nd drive to the LVM as additional physical Volume and then extend the Logical Volume?

Or just use Symlinks.

- PhR
Reply all
Reply to author
Forward
0 new messages