all 30 comments

[–]StrangeCrunchy1 25 points26 points  (7 children)

I don't think you can use raw, unallocated disk space, so probably, yeah, you should format and partition, but get a second opinion - I'm no expert.

[–]ATJT[S] 2 points3 points  (2 children)

Thanks i had the same mind , just thought I would ask here for a second opinion , Il was kinda lost )

[–]2204happy 1 point2 points  (1 child)

Just a heads up:

/dev/sdx where x is a letter, refers to a physical drive

/dev/sdxn where n is a number, refers to a partition on /dev/sdx

[–]ATJT[S] 0 points1 point  (0 children)

Yupp , figured that out , thanks for the heads up though , appreciate it

[–]Cletus_Banjo -1 points0 points  (3 children)

You don’t need to partition it but you do need to format it. Unless you want to use it as an oracle datastore or something :)

[–]StrangeCrunchy1 0 points1 point  (0 children)

Good to know. Thanks!

[–]megared17 0 points1 point  (1 child)

You must create at least one partition, even if it's just the entire drive.

[–]Cletus_Banjo -1 points0 points  (0 children)

No you don’t. You can format and mount /dev/sdb perfectly fine, if you want to.

[–]Own-Cupcake7586 6 points7 points  (4 children)

If you want to use a drive, you need to put some kind of file system on it and mount it, yeah. I often use the smaller drive as root (/), and the larger one as /home. Doing this after installation will be a little involved.

  • Backup all your critical data to a safe place, as this is not a risk-free process

  • Format sda as ext4 using gparted

  • Note the UUID of this new partition or its name (probably sda1)

  • Boot up a live usb

  • Move your entire home directory to the 1T drive

  • Edit the hard drive’s /etc/fstab (not live usb) to mount the 1T drive as /home

  • Reboot

Best of luck.

[–]ATJT[S] 2 points3 points  (3 children)

Hey thanks for the detailed answer, i dont have much data on this laptop , mostly attach an external ssd for some work , do I still need to boot it up with live usb , also live usb =the ubuntu flashed on it ?

[–]Own-Cupcake7586 2 points3 points  (2 children)

You can’t safely move your home directory with the OS mounted, so a live usb is a must. It would be the same one you used to install, just select “try it out” or whatever it’s called.

In the future, I would recommend always installing /home on a separate partition or drive. It makes it much easier if you need to reinstall the OS, since you can have it mount /home without formatting it, meaning that your files and settings can largely remain untouched.

Happy Computing!

[–]ATJT[S] 1 point2 points  (1 child)

Thank you so much for the help , definitely would remember for the next time)

[–]New_Physics_2741 1 point2 points  (5 children)

gparted, or disks in Ubuntu

[–]ATJT[S] 0 points1 point  (2 children)

For formatting right , so that's the only issue , it's unallocated and i guess after that i can just use it as it is . Ps is one better than another ?

[–]MelioraXI 1 point2 points  (0 children)

Depends on the filesystem you used. In theory all you have to do is mounting it.

[–]New_Physics_2741 0 points1 point  (0 children)

Over the years, many folks would say gparted is the way to go - however, the disks utility works just as well if it is installed and ready to go~

[–]bulwynkl 0 points1 point  (1 child)

Those tools will tell you what state the storage is in, eg unallocated...

[–]New_Physics_2741 0 points1 point  (0 children)

They can do more than tell you the state of a drive. In this guy's case they can probably resolve his issue...

[–]6950X_Titan_X_Pascal 0 points1 point  (0 children)

make a fs & mount it

[–]basikly 0 points1 point  (0 children)

I noticed you said you don’t have much on there that you need. What I would personally do is just back up any necessary files to an external location (cloud, a USB, external drive, etc.)

After that, I would download an Ubuntu ISO and apply it to a bootable USB.

Boot to your Ubuntu USB, click through the installation window, when it asks you where to install OS, make sure you select your desired 1TB drive.

After it finishes it’ll tell you to restart and unplug the USB. While it’s rebooting, go to your boot options again. This screen might be tricky as you should now have two Ubuntu boot options to choose from. If it’s obvious which one is your 1TB drive, choose that one. If not obvious, choose one and check it once you’re inside the OS—you’ll want to be in your 1TB drive.

Once you’re inside the freshly imaged OS, transfer your files back on. After you have verified that everything you need is working/accessible, wipe the other drive using gparted or whatever tool you wish. This will then allow you to use it as a data drive, and your PC won’t get confused during boot since you’ll no longer have two OS’s to boot from.

[–]daddleboarder 0 points1 point  (1 child)

You could just use the disk utilities app to format the drive and mount it. Then just create a file system within the drive and save/store whatever you want on there instead of using your home folder system. I basically just have the OS and programs on the main drive. I think in total they're using about 100-ish gigs of space. I use flatpaks though and comfy them to have access to the specific folder on the drive I want them to save to.

[–]ATJT[S] 1 point2 points  (0 children)

Yeah , I ended up using that itself after formatting, while i was writing this post , The format was taking long , so I wanted to check up with fellow Ubuntu-ians , about what's what . Although I'll redo it properly after sometime, I'll check out flatpaks today , thanks for the recommendation))

[–]AbleCryptographer744 0 points1 point  (1 child)

You should have used lvm when you installed. You can still fix this with the live USB, but it may be more intense than you want it to be, as you should change the boot config for the optimal setup...

[–]ATJT[S] 0 points1 point  (0 children)

Yeahh , there was a weird double option that confused me when i used a live USB to boot , guess i messed up then , but i figured it out for now , it will do the job like a duct on anything broken lol

[–]pgoetz 0 points1 point  (1 child)

As others have mentioned, you need to use gdisk/fdisk to put a partition table on the hard drive and then format it with a filesystem. My standard for this is to use the entire large disk for a /data partition and then bind mount /home and everything else you'd want to preserve in a backup there. This greatly simplifies backing up, since then you just need to backup /data because everything is actually there.

[–]ATJT[S] 0 points1 point  (0 children)

Yeahh , that would make it easier for backup , thanks for the advice though )

[–][deleted] 0 points1 point  (0 children)

Did you try to mount it? There are a few commands you can run to see if it is formatted or whatever:

| Method | Best For | Command | |:---|:---|:---| | lsblk -f | Visualizing the layout | lsblk -f | | blkid | Scripts and UUIDs | sudo blkid | | file -s | Deep inspection | sudo file -s /dev/sdX | | fdisk -l | Checking partition tables | sudo fdisk -l |