LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 04-02-2023, 05:16 AM   #1
Jofto
Member
 
Registered: Dec 2022
Posts: 111

Rep: Reputation: 0
How to format a hard drive in Xfce?


Try to install Xfce onto a hard drive, Seagate Momentus 5400.4 which is connected to the PC vis USB port and has around 15,000 pictures on it. Xfce installer recognizes the drive. I want to remove the pictures and format it but cannot find the hard drive.
Thanks.
 
Old 04-02-2023, 06:23 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
You don't format it the way windoze formats it. You repartition it and make a new (blank) filesystem. Ext filesystems write superblocks throughout the new partitions.

If the intention is to wipe something like a FAT filesystem to prevent recovery you can
  • Use dd to put on zeroes or random numbers.
  • If you're a spy or super-paranoid, use shred on spinning rust drives to attempt to erase all traces of magnetic patterns that sophisticated forensic software could conceivably recover. This can take days.

Last edited by business_kid; 04-02-2023 at 06:26 AM.
 
Old 04-02-2023, 08:54 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,837

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
you cannot install xfce onto a hard drive. You can install an OS (like ubuntu) to a hard drive. xfce is not an OS, but a desktop environment.
So what OS is it exactly? In general during the install (of the OS) it will ask for a partition. You need to select your hdd, remove existing partitions (and probably it will offer a default partitioning scheme too). All the additional steps will be made by the installer.
 
Old 04-02-2023, 11:43 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,485

Rep: Reputation: Disabled
XFCE usually has Gparted under the System menu; use this to wipe &/or re partition your drive, if that is what you want.

You will overwrite the whole drive - so make sure you really want to overwrite your pictures!

To get XFCE on the disk, you will need to install a distro that uses it, or else add it via the distro's package manager.
 
Old 04-02-2023, 10:31 PM   #5
Jofto
Member
 
Registered: Dec 2022
Posts: 111

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pan64 View Post
you cannot install xfce onto a hard drive. You can install an OS (like ubuntu) to a hard drive. xfce is not an OS, but a desktop environment.
So what OS is it exactly? In general during the install (of the OS) it will ask for a partition. You need to select your hdd, remove existing partitions (and probably it will offer a default partitioning scheme too). All the additional steps will be made by the installer.
Thank you.

"you cannot install xfce onto a hard drive."
Maybe I do not understand the term "install" thoroughly, but I do have an Xfce installed onto a HDD, a Hitachi Deskstar P/N0A36918 500GB, and I am typing these words to you from this Xfce.

Please do not rake me wrong. I am NOT arguing with you. What I am saying is that I do not understand the Linux meaning of "install" and "desktop" and "OS" and many other terms.
 
Old 04-02-2023, 11:10 PM   #6
Jofto
Member
 
Registered: Dec 2022
Posts: 111

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fatmac View Post
XFCE usually has Gparted under the System menu; use this to wipe &/or re partition your drive, if that is what you want.

You will overwrite the whole drive - so make sure you really want to overwrite your pictures!

To get XFCE on the disk, you will need to install a distro that uses it, or else add it via the distro's package manager.
Thank you.

"XFCE usually has Gparted under the System menu;"
Yes, there is a "Gparted" in the system menu. Will try to use it.

"To get XFCE on the disk, you will need to install a distro that uses it, or else add it via the distro's package manager."
I am totally lost here. What confuses me is the terms saying Xfce being a desktop which can not be installed onto a HDD. Yet, my experience says it can. For a few months, I tried more than a dozen times to install Xfce onto a USB flash stick and all failed. About a week ago, I tried to install the same Xfce from the same USB live bootable flash stick onto a SATA hard drive, a Hitachi Deskstar P/N:0A36918 500GB, and the installation went through the process easily and smoothly, almost automatically by 7 or 8 steps in about 20 minutes. It was the easiest installation I had ever experienced. I, therefore, do not and can not understand why Xfce can not be installed onto a hard disk.
 
Old 04-03-2023, 12:24 AM   #7
Jofto
Member
 
Registered: Dec 2022
Posts: 111

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
You don't format it the way windoze formats it. You repartition it and make a new (blank) filesystem. Ext filesystems write superblocks throughout the new partitions.

If the intention is to wipe something like a FAT filesystem to prevent recovery you can
  • Use dd to put on zeroes or random numbers.
  • If you're a spy or super-paranoid, use shred on spinning rust drives to attempt to erase all traces of magnetic patterns that sophisticated forensic software could conceivably recover. This can take days.
Thank you.

"You repartition it and make a new (blank) filesystem."
I'll try to repartition the hard drive by Gparted. Have not trouched Gparted. Do not know what will come out.
 
Old 04-03-2023, 12:31 AM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
What is the full name of the installation iso you are using?

Last edited by colorpurple21859; 04-03-2023 at 12:32 AM.
 
Old 04-03-2023, 01:21 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,837

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by Jofto View Post
Thank you.

"you cannot install xfce onto a hard drive."
Maybe I do not understand the term "install" thoroughly, but I do have an Xfce installed onto a HDD, a Hitachi Deskstar P/N0A36918 500GB, and I am typing these words to you from this Xfce.

Please do not rake me wrong. I am NOT arguing with you. What I am saying is that I do not understand the Linux meaning of "install" and "desktop" and "OS" and many other terms.
I know, so start over again.
First of all when you want to use a computer you need to install an operating system on it (that is the OS). For example windows. Or another one, a linux based distro (like ubuntu, debian, mint, SuSE, RedHat, Slackware just to name a few).
Next you need to put some software into the OS. This is called installation too. For example you install facebook on your phone, or usually we install a browser (or something else). In a linux based environment you need to install a graphical engine which will draw the menu, windows and all the things on your monitor, without that you will have only the old console display. This is called Desktop Environment (or DE). You have a lot of choices, like KDE, Gnome or the one you want to use Xfce.

So what OS do you want to install?
 
Old 04-03-2023, 04:14 AM   #10
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,485

Rep: Reputation: Disabled
Quote:
Originally Posted by Jofto View Post
Thank you.

"XFCE usually has Gparted under the System menu;"
Yes, there is a "Gparted" in the system menu. Will try to use it.

"To get XFCE on the disk, you will need to install a distro that uses it, or else add it via the distro's package manager."
I am totally lost here. What confuses me is the terms saying Xfce being a desktop which can not be installed onto a HDD. Yet, my experience says it can. For a few months, I tried more than a dozen times to install Xfce onto a USB flash stick and all failed. About a week ago, I tried to install the same Xfce from the same USB live bootable flash stick onto a SATA hard drive, a Hitachi Deskstar P/N:0A36918 500GB, and the installation went through the process easily and smoothly, almost automatically by 7 or 8 steps in about 20 minutes. It was the easiest installation I had ever experienced. I, therefore, do not and can not understand why Xfce can not be installed onto a hard disk.
You're welcome.
Computing terms can be confusing at the start...

An O/S is the first software to be installed onto a computer, most often done by the manufacturer, & usually MS Windows - in Linux, this is called a 'distro', this is the O/S.

Often there will be different graphical environments, on different distros, (this is called 'choice', but can be confusing for a newbie).

You have successfully installed a 'distro' that is using the graphical environment called the XFCE desktop environment (DE), which has a number of useful programs installed alongside, & under the menu.

Hope these basic terms are of help in your understanding of using your computer with Linux.

~~~~~~~~~~~~~~~~
Here is how to use gparted - https://gparted.org/display-doc.php?name=help-manual

Last edited by fatmac; 04-03-2023 at 04:18 AM.
 
Old 04-03-2023, 05:34 AM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,571
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Nearly every distro has a default desktop environment and that is the one you get at first installation. But you don't have to stick with it if you don't like it. Most distros have other desktops in their repositories and you can install one of those alongside the default one.

That's because in Linux, the graphical desktop is almost completely independent of the underlying system, like a hat on a head. You can always take the hat off and put on another one, or go bareheaded if you prefer. Linux servers usually don't have any kind of desktop installed, because on a server, that's just a waste of resources.

Some distros which are angled at newbies come in different "editions" with different default desktops. So you have Ubuntu (Unity desktop), Kubuntu (KDE desktop) and Xubuntu (XFCE desktop). And likewise you have Mint/Cinnamon and Mint/Mate. But you can achieve the same thing on any distro just by installing the desktop you prefer separately, from the repo.
 
  


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
A full-featured XFCE desktop for net surfing with 2.6GB installed size, aka: How to install the Eric's XFCE LiveSlak on your hard drive Darth Vader Slackware 124 08-01-2018 07:55 PM
Format a hard drive to work on machine (dell 32-bit). Have installed new 1 TB drive geoffreywolfe Linux - Newbie 4 02-18-2015 11:29 PM
format hard drive and add to existing hard drive to extend the capacity in linux boby.kumar Linux - Newbie 1 04-10-2013 07:18 AM
I want to copy my hard drive to a larger hard drive and boot from the new drive. lpmorgan1 Ubuntu 8 09-07-2009 11:26 PM
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 07:34 AM.

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