home bbs files messages ]

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

   alt.os.linux.mandriva      Somewhat decent but also getting bloated      29,919 messages   

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

   Message 29,420 of 29,919   
   Bit Twister to faeychild   
   Re: error after rescue hard drive   
   15 Nov 13 06:55:56   
   
   From: BitTwister@mouse-potato.com   
      
   On Fri, 15 Nov 2013 17:29:28 +1100, faeychild wrote:   
      
   > I have a second hard drive full of stuff mounted on   "/data"   
   >   
   > It started to fail with enormously long fsck checks.   
   >   
   > So I plugged a new drive into "sdc" and using disk drake I partitioned and   
   > mounted on  ''/tmp' then copied all the stuff across.   
      
   I would have used new or new_data as mount point instead of /tmp.   
      
      
   > boot up is slow because grub waits for "sda3 and sdb2 to appear.   
   >   
   > sdb2 does not exist on the new disk   
   >   
   > Fixing is beyond my experience. I wont edit fstab without knowing what I am   
   > doing.   
      
   Well it is pretty easy to fix your fstab if you are careful.   
      
   click up a terminal   
      
   su - root   
   run the command   
      
   blkid | sort -V   
      
   now all you have to do is make the UUID in fstab match the value seen   
   in blkid for each of your partitions while there you need to verify   
   file system type (ext3, ext4,...) for each of those partitions.   
      
   After you save your changes to fstab, check each by doing a mount. Example:   
    mount /tmp   
    mount /data   
      
   If they mount without errors/complaints your next boot should be ok.   
      
      
   Since I hate those UUIDs, I use labels instead.  :)   
      
   $ head /etc/fstab   
   LABEL=cauldron / ext4 acl,relatime 1 1   
   LABEL=spare /spare ext4 defaults 1 2   
   LABEL=accounts /accounts ext4 defaults 1 2   
   LABEL=local /local ext4 defaults 1 2   
   LABEL=mga3 /mga3 ext4 users,noauto,acl,relatime 1 2   
   LABEL=misc /misc ext4 defaults 1 2   
   none /proc proc users,noauto,defaults 0 0   
   LABEL=swap swap swap defaults 0 0   
   LABEL=mga4 /mga4 ext4 users,noauto,acl,relatime 1 2   
      
   --- 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