Great now we can move all of our existing data across to the new home directory. In my case I'm going to mount it at /home as I've already moved the original /home directory out of the way. Great, now all we need to do is mount our fresh filesystem. This filesystem will be automatically checked every 24 mounts orġ80 days, whichever comes first. ![]() Writing superblocks and filesystem accounting information: done Last cylinder, +cylinders or +size (1-2610, default 2610):Ĭalling ioctl() to re-read partition table. Here's the options we need to partition the new disk: Command (m for help): n To fix this we need to first partition the new drive. Sector size (logical / optimal IO): 512 bytes / 512 bytesĭisk /dev/sdb: 21.5 GB, 21474836480 bytesĢ55 heads, 63 sectors/track, 2610 cylindersĭisk /dev/sdb doesn't contain a valid partition table To check this run from the terminal: # fdisk -lĢ55 heads, 63 sectors/track, 1044 cylinders Once rebooted you should see you have an unpartitioned hard-drive ready to go. If this is confusing then just run: mv /home /home.bck If you're wondering what the curly braces are this is just shorthand for saying mv /home /home.bck the shell expands that syntax into the full version when running it. To do that as root I've renamed /home to /home.bck In my case I've run out of space in my home directory so I'm going to move my home partition to the new drive. Partitioning and formatting the new driveĪll of the following commands are carried out as root Use the drop down on the right to select the new disk you created
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |