home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.ubuntu      I preferred Xubuntu, seemed a bit faster      134,474 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 134,433 of 134,474   
   Paul to Lothar Leidner   
   Re: Ubuntu home Verzeichnis in Partition   
   03 Dec 25 15:47:22   
   
   From: nospam@needed.invalid   
      
   On Wed, 12/3/2025 10:41 AM, Lothar Leidner wrote:   
   >   
   > System: Dual Boot Windows 11 / Ubuntu 2204 LTS, installed on the same SSD.   
   >   
   > To create more space, I wanted to move the Ubuntu /home directory to its   
   > own partition on a second hard disk drive (HDD). I followed the Ubuntu   
   > Handbook   
   > https://ubuntuhandbook.org/index.php/2024/08/separate-home-ubuntu/   
   > #more-47038, copied the original directory to /home_backup, and modified /   
   > etc/fstab.   
   >   
   > The result: Ubuntu no longer boots.   
   >   
   > Now I wanted to undo everything, created a boot stick with live Ubuntu   
   > 24.04.3, was able to boot with it and access the hard drives, but only in   
   > read-only mode. My plan was to copy the backup home directory /home_backup   
   > back to /home and comment out the inserted line in /etc/fstab. Then, I   
   > thought, everything should work again as it did originally.   
   > My question: how can I access the partitions in write mode (from Live   
   > Ubuntu) and thus implement these changes? Moving the /home directory would   
   > be put on hold for the time being.   
   >   
   > Any help appreciated   
   > Lothar Leidner   
   >   
      
   There is a remount option to change from ro to rw.   
      
   https://unix.stackexchange.com/questions/507109/how-to-remount-a   
   device-in-read-write-mode-which-is-already-mounted-read-only   
      
       sudo mount -o remount,rw /Mountedpartition   
      
   But as the next message below that suggests, a partition   
   would not go "ro" purely by chance. It implies the   
   partition failed an fsck and you should check dmesg for "hints"   
   while the live session is booted. The dmesg may note the problem   
   with the initial probe of the filesystem in question.   
      
       sudo dmesg   
      
   I don't think the "simple" recipe to undo the changes is   
   broken, but something has happened which has to be resolved   
   first.   
      
   *******   
      
   When I do stuff like this, I just image the disk and make   
   a safety backup before I start. I have about 3TB of safety   
   backups on the 8TB drive right now.   
      
      Paul   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca