SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi guys I'm having a strange problem on my slack...
I moved my root partition from /dev/hda1 to /dev/hda4
I fixed lilo, fstab ecc...
I've tried to boot from the new one and everything appeared to seem fine but...
that was the first impression!!!
Infact have a look to the output:
root@cerberus:~# fdisk /dev/hda
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 623 5004216 83 Linux
/dev/hda2 624 3114 20008957+ 83 Linux
/dev/hda3 3115 3177 506047+ 82 Linux swap
/dev/hda4 3178 4864 13550827+ 83 Linux
As you can see fdisk can detect properly the disk size (40G) while
df -h gives me the same size as the original partition where / was installed
I've tried to boot from a live cd and output of df -h was correct...
I do not know how to fix the problem... I' ve tried to reboot,use resize2fs,rewriting the partition table with the same values,dancing around the pc with one leg launching spells but nothing changed...
To move the partition I used
tar cvzf slack10backup.tgz bin/ etc/ lib/ mnt/ opt/ root/ sys/ usr/ boot/ dev/ home/ ecc...
from a suselivecd...
Have a nice day, I' m really sorry for my english grammar and spelling mistakes but as you may guess I'm not english native speaker...
I cannot believe I have to reinstall all to fix the problem...
Maybe there is a file around /etc where slack recorded the values of the partition table during the installation process...but I do not find which one!
Moreover is very strange that the size is exactly the same as the original partition in which the /
I can not even google to find an answer because I do not know how to call this problem! Disk geometry? Disk size?Drunk partitions ? Any idea ?