[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to create /home BTRFS subvolume on a second disk during installation?



Erick Delgado <edelgado81@gmail.com> wrote:
> > El jul. 26, 2023, a la(s) 17:07, debian-user@howorth.org.uk
> > escribió:
> > 
> > On Wed, 26 Jul 2023 16:27:54 -0400
> > Erick Delgado <edelgado81@gmail.com> wrote:
> >   
> >> Unfortunately I am unable to provide the output by text since I am
> >> only able to login via tty2. I can take a photo of it and send it.
> >> Will that be okay?  
> > 
> > Please keep the conversation on list.
> > And please don't top post.
> > 
> > I'd assumed you knew pretty much what you were doing, since you're
> > trying a somewhat unusual installation for Debian. You can post a
> > photo somewhere if you need to and post a link to the mailing list.
> >   
> >>> El jul. 26, 2023, a la(s) 16:04, debian-user@howorth.org.uk
> >>> escribió:
> >>> 
> >>> Erick Delgado <edelgado81@gmail.com> wrote:    
> >>>> Dear Debian users and developers,
> >>>> I would like to know if it’s possible to create the /home BTRFS
> >>>> subvolume on a second disk (nvme, etc.) during expert
> >>>> installation? If so, how? The reason I ask is because I was
> >>>> following this YouTube video (https://youtu.be/MoWApyUb5w8) and
> >>>> I have tried to do the partition table first (/ on first disk
> >>>> and the /home on the second disk, both BTRFS), then Ctrl + Alt +
> >>>> F2 to the Debian installer shell to create some BTRFS subvolumes
> >>>> on the first disk similar as in the video. The subvolumes for
> >>>> the first disk that I created were @ (for /root), @cache, @log,
> >>>> and @tmp.    
> >>> 
> >>> Err I haven't looked at the video but I think the @ subvolume
> >>> should be for / (i.e. the root directory) rather than for /root
> >>> (i.e. root's home directory). The latter is just a normal
> >>> directory in the former.   
> >>>> After I finish, I proceed to do
> >>>> a minimal installation of Debian. Once I reboot after the
> >>>> complete installation and login through terminal I get a message
> >>>> that HOME is not found and sets HOME=/ (which is very odd since
> >>>> the partition was done). I tried to install the minimal KDE
> >>>> Plasma and tried to login to see what occurs. But can’t login to
> >>>> the desktop because it takes me right back to the login screen.
> >>>> Can someone please help me on this?
> >>>> 
> >>>> Thank you for your time and help.    
> >>> 
> >>> Maybe after you boot you could run e.g. df -hT and post the output
> >>> here.   
> >   
> My sincere apologies. I did not notice that the conversation was not
> on the list. Here is a photo link of my df -hT as requested >
> https://drive.google.com/file/d/1xaJ8kyPGMYY32H2cG_pipuwYjXYQQxhn/view?usp=drivesdk
> 
> Thank you for your time and help.

OK, thanks.
Please don't send me a second copy of the mail; I'm subscribed to the
list.

Your image shows that you have three persistent partitions:
/dev/nvme2n1p1 - /boot/efi - vfat
/dev/nvme2n1p3 - /         - btrfs
/dev/nvme1n1p1 - /home     - btrfs

So that all looks like it's been created exactly as you wished.
The partitioning is not your problem.

I'm sorry but I don't know what might produce messages about HOME not
being found, or the reasons for that. Maybe somebody else can help?
And I never use KDE :(

PS BTW, if your computer has network access then using that to copy
files to another machine that has email might save you having to take
photos and post images.


Reply to: