Search the Community
Showing results for tags 'ext4'.
-
As far as I know it is not (easily) possible to move/resize mounted partitions and that an active system will have mounted partition(s), but I thought I'd ask in case there is a way. The situation is as follows: Company laptop setup Win11+Ubuntu dual boot, but more space was allocated to Windows than requested. The Windows side is completely locked down and I have no permissions there. Disk Management and other partition tools are thus not possible and live boots are also locked behind an admin password. I have full administrator access in Linux so I essentially can do what I want there (agreed upon and intended) and they shrunk the Windows partition for me at my request, but because of the "extend to the left" issues and such that's where the saga ended. Now I foolishly assumed stuff was setup with LVM like I had on my previous laptop and that extending it in Linux would not be an issue, so I said I could take it from there. It was not, so now I'm stuck with the following unfortunate partitioning: What I would like is to move everything to the left such that the unallocated 99.37 GB can be attached to /home. Googling around I saw some hints that it might be possible to move stuff over by creating a new LVM, for example, in the unallocated space and copying over the existing swap and root partitions (perhaps in a special way)? I can always go for the nuclear option and just ask them to reinstall everything with the correct partitioning, but if there is a simpler way that would be nice. My questions: Could I avoid the mess and simply "extend to the left, shrink, repeat for every partition" without much trouble? If 1 is not possible, what would be the best approach for this if any?
-
[im not sure if i post it correctly here and sometimes shouldnt on hard drive forums :'D ] just got idea cause i had old partition image with modded linux mint to do something with it. image was made on btrfs partition (which i made by a mistake ages ago) and the problem is - how to convert it PROPERLY to ext4 ? i already moved files on this partition to ext4 partition on external drive. what should i setup now? heard that on ARCH [not mint] is fstab file but doesnt exist on mint. os-prober in chroot doesnt work due to partition migration. what files i should edit to make it bootable? any commands (except of vim) ? should i install arch tools to complete move? note - its not system im using now. i just want to boot into it and im not on it currently links i was using to this moment : https://bbs.archlinux.org/viewtopic.php?id=185542 (only this one because google shutted up his mouth )
- 9 replies
-
- partitions
- ext4
-
(and 4 more)
Tagged with:
-
Here is a thing, I want to re-install an OS with a new SSD(M.2) on my NAS(ubuntu). But when I boot in to PE drive(Win PE) the partition initialization comes out, and I hit the inistialize button. I realize that there is still my old drive(SATA HDD) with Ext4 partition and it's not recognized by the disk manager in Win PE, so it's initialized. I close the initializing window immediately(within 2s), but I still lost my partition. I tried to use diskgenius to find the lost partition, but it turns out some kernel partition(about 20s kernel partition, I haven't click the apply button). I am confused, because there are just some videos and photos in the nas old drive. Is my sequence wrong? Should I do this with linux style software? And how to make it? I am so sorry for the phone-shot image, but the PE has no internet and I have no capture card :| Thanks a lot.
-
As the title states. I've been trying to setup Turnkey Linux as a basic NAS for a budget christmas gift. I bought a cheap Zotac ID84 on ebay with the intention of using FreeNAS (which i've been using for years on my personal NAS) but the NIC wasn't supported. I'm out of ideas, it's already christmas eve, and i'm already out $100 in trying. So here's what I have now: The root directory can be accessed by webDAV and SMB. Everything is installed and working, everything so far is plug and play. But for the life of me I cannot access the 1tb HDD I planned on using for the main pool. I have a logical volume set and the drive is recognized (No redundancy because only one sata port and my budget was $75).In my experience, I theoretically just need to create a mount point between the root and second drive but it's never that easy, is it. I go to make a directory but always get the same error. I'm clueless on where to go from here. If anyone knows how I can add other drives to the root directory please comment for my sanity, this is the worst experience i've had with Linux probably ever.
- 4 replies
-
- turnkey linux
- linux
-
(and 4 more)
Tagged with:
-
not sure if this should be here or under linux So does anyone know how to stop windows 10 20h2 update from automatically reading and adding linux partitions to " disk management ". or should i completely destroy my win10 installation and maybe look for something that they havent fully back-ended, if there is even such a possibility at this point? Im sure they thought they were being helpful, but without my express permission to have done this, or even notifying me in the first place that it was going to happen it shows a complete lack of care both legally and morally in what a computer owner WHOM owns his/her/they hardware might wish to do with it. other than just windows. How am I going to know if something is specifically working in a different OS, if windows could be backdooring the other OS to give it a leg up/ take control from behind the scenes (" fast start up" anyone) ? not to mention that fair and legal has now proven a breach of trust of which it no longer deserves any respect.
-
Hello guys, I'm running PBS 2.2-6 on my TrueNAS SCALE as a VM. I started out with a 6TB Volume for my PBS Storage and a 32GB Volume for my PBS Boot drive. The Storage started to fill up, so i increased the 6TB Volume to 11TB. After a Reboot PBS did recognize the change from 6 to 11TB, but the filesystem was still the same: How do I increase the filesystem to the full size of the disk, without losing any data? Thanks for reading! _____ UPDATE: I managed to get it to extend with sgdisk -e /dev/vdb sgdisk -d 1 /dev/vdb sgdisk -N 1 /dev/vdb apt install parted partprobe /dev/vdb resize2fs /dev/vdb1
-
Just as an idea, I'd like to see a more in detail Techquickie video on more file systems than the one they currently have. So ReFS, HFS / HFS+, ext / ext2 / ext3 & ext4. those are just a few of the more popular ones.
-
for my emby server I couldn't figure out how to make my two 1tb hard drives into one volume to use for my media server so I mounted them as /MediaServer/disk1 and /MediaServer/disk2 sinse then I have discovered btrfs but im not sure exactly how to use it I need help combining both the drives to just be /MediaServer/ with the data striped across the two without loosing any of the data on the drives I found a command to convert a drive to btrfs and the debian wiki shows how to add a second drive but im not sure how to do what I need https://askubuntu.com/questions/198000/how-can-i-convert-an-ext4-partition-to-btrfs-or-other-file-systems-without-los
-
hello, On a Linux Ubuntu OS I moved all my data from one partition to another drive. While the partition should be empty now I noticed my OS still thinks there is 17% usage. First I checked all the obvious reasons like hidden folders and access permissions, it is an EXT4 file system on a HDD: ls -la EXT4/ total 28 drwxr-xr-x 4 usr usr 4096 Aug 21 08:09 . drwxr-x---+ 3 root root 4096 Aug 28 07:47 .. drwx------ 2 usr usr 16384 Aug 3 2018 lost+found drwx------ 5 usr usr 4096 Aug 1 11:30 .Trash-1000 my trash is empty. The folder properties show there are 50 MB in use: before I moved and resized the partition it had been ~10 GB of used capacity. GParted states that 1.12 GiB of capacity is still in use. There are 2 partitions on that drive in total. I am pretty sure there isn't any "real" data on my partition and it is save to reformat, though I cannot make any sense of how the OS is handling this partition. Why does the OS still indicate there is capacity in use? I would expect the usage to be 28 kB due to 5 system folders + root and 0 files on it. If this is caused by fragmentation shouldn't that be abstracted away from the user?
-
I'm nearly finished setting up my Nextcloud server, but I have a slight problem. When I give permission to Nextcloud to access my local drive (4TB Seagate external drive), my Ubuntu user profile no longer has the ability to make changes to the drive, let alone access the content on the drive at all. This is the command I'm using to give Nextcloud full permissions on the mounted disk: sudo chown -R www-data:www-data /mnt/sdb1 ~ sudo chmod -R 0750 /mnt/sdb1 My friends suggested I use this command to give my Ubuntu profile (TalaFTW) access to the drive: sudo chown talaftw -v /mnt/sdb1 However, when I use the second command, the files within the drive still can't be accessed, or some will be and others won't. My question is: Is there any way to give both Nextcloud & my Ubuntu profile permission to do everything we need to do to basically be dual gods to the drive? Shared permissions that won't conflict with each other? I've asked other forums and none of them would give me a straight and simple to follow answer. Thank you very much in advance. Cheers
-
So, as most of us, I too have a system with both HDD and SSD, particularly 256GB crucial SSD (sdb) and 3TB WD Black HDD (sda). I'm running dual boot on my machine, there's both Linux and Windows installed on the SSD (sdb) and I dedicated mere 50GB for my Linux EXT4 partition. That means there isn't too much space to run all my Linux stuff off of the SSD and that I must find a way to install my Linux Steam Games on my HDD. I tried to do this the simple way. Go to Steam settings, move the library to the HDD. Error would come up: "New Steam library must be on a filesystem mounted with execute permissions". Now I think I know what the problem is. The HDD (sda) partition is formatted with NTFS filesystem, which is a Windows proprietary thingy. Linux won't give execute permissions to software written in NTFS, which means I can't run any binary/program/app off of that partition while in Linux. Am I correct so far? Solution 1: I know it should be possible to convert NTFS into FAT32. Will this work? Will Linux allow execute permissions if I convert the entire partition (sda) into FAT32? The thing is though, I have windows applications installed on this partition already, will those applications keep working in case I convert my entire partition into FAT32? Solution 2: It's one giant f**king drive, just defragment it, make another 250GB blank paritition, format is as EXT4 and put your Steam library there. The real question is, is that what you would do? Is this what we want to do? Is there really no other way than to break my drive into more partitions? EDIT: Solution 3: Is it maybe possible to give execute permissions to files written on NTFS filesystem? Thank you for your advices in advance. I hope I get to learn something new in this discussion, as well as any of you guys reading this.
-
Issue:It has been too long that I have witnessed my (comparably savvy considering) grandmother struggle with her Bell PVR. Problem: The 6131/6141 PVR works with external hard-drives, and you can swap them out, but the unit only makes use of up to .5 or 1.5 (can't recall) TB of data before it silently fails to record new shows. At around this point, my Gramma starts going through a list of recordings, deleting them one by one at 30 seconds a piece because of the UI and the processing time. (Something that would take 2 seconds total on something mouse driven and responsive...) I am totally game for a solution where I can buy them a new 5TB drive and exchange it for 2-3 2TB externals... Background Canada's TV (and Net and Radio and Phone) Regulator the CRTC (Stands for what I just said) never got around to making cable-cards a mandatory thing up here, and subscription cards disappeared from providers like Bell ages ago, so a nice HTPC is out of the question. I do not currently have access to the hardware to experiment. I'll probably necro this thread down the line if things move slowly. The grandparents are (critical) Bell loyalist retirees, so going cable might be out of the question. Since they live somewhere that isnt Toronto, over-the-Air HDTV is limited The PVR records in a common format which some program could nominally read, however it is encrypted. [angry bell employees pls leak keys kthx] Recommendations :blink: 1. Tell me who to talk to. This quest may not end on LTT, but I figured it was a good place to begin. Maybe some of you folks could point me to niche communities, linux buffs, PC DIY hackers, what-have-you, where I can get answers. 2. Devise a way to format the USB drive into multiple partitions, and then sym-link them or something, or use some kind of non-standard partition table which I can edit by script so that it switches which partition a host device sees first. I am uncertain if the the PVR can even handle drives with multiple partitions without encountering a glitch. 3. Build some kind of PC which can emulate an external hard drive and act as USB client, then with a flip of a switch or script, alternate which partition gets presented as the USB client. Google reveals that over the years some people have requested this USB client emulation technology, but it does not appear to exist cheaply. 4. Suggest better PVR solutions that work with Bell? 5. Rig up a 3rd reciever to a dumb-recording HTPC and somehow achieve scheduling functionality, remote operation, etc....Yeah, this one I thought up while writing this thread and I could research myself. whatever post anyways.
-
Hey guys Waiting on my pretty new drives to arrive to update my build in LTT 10TB+ but just wanting to see what others opinions are. My system has been upgraded with a few SAS expander cards with the plan of continuing software solutions Right now i'm using NTFS with a Win2k12 Software RAID5. I've also used EXT4 with mdadm, and had a play with FreeNAS/Fedora using ZFS in a raidz. I've been waiting on ReFS and Btrfs to mature for a next-gen file system so I don't have to worry as much about bitrot, but i've heard a few horror stories with them. Im wanting to find out I guess what the features and compatibilities are like for ReFS Storage Spaces and Btrfs Parity? Does anyone have any knowledge or experience in this area? Compatibility I need: Linux 2.6.32 kernel and newer (Read/Write/Create Directory) Windows 7 / 2008R2 Server and newer (Read/Write/Create Directory) Features I need: Folder/File Permissions Multidisk spanning with Parity Rebuild array from a failed disk Ability to add additional disks and grow the filesystem across a larger pool. Now I know that Storage Spaces can handled 1 & 2 drive Parity, but Im not sure on what features ReFS supports and if its supported on Linux? On the Btrfs side, the same questions, but im also concerned is Btrfs Raid still highly experimental? Would I better off forgoing these new Filesystems and going the traditional NTFS/EXT4 route?
-
I have created a multiboot USB drive using YUMI (multiboot installer). On it, I have a variety of different bootable tools, including Ubuntu with a persistent file, Windows Vista/7/8 40-in-1 multi installer (so basically it is like a boot disk but for every version of windows between vista and 8), and a whole load of linux-based and probably linux-based diagnostic & recovery tools (memtest86+ etc). FAT32 would be the obvious file system for this, mainly due to its compatibility, but the file size limit of ~4GiB makes it impossible because the windows installer has a file which is 7.9GiB, and so doesn't work when I try to put it on FAT32. I have installed it on an NTFS formatted drive now (including updating to the latest version of ubuntu), but now it just restarts when I tell ubuntu to boot as a live usb. Is this an issue with my installation of ubuntu, or does it dislike being installed on NTFS. If that is the case, what file system would you suggest? Note: other bootable tools seem to be functioning, and the windows installer works.