-
Junior Member
registered user
Knx. 3.2: partition naming
This newby actually completed the basic installation to hard drive several days ago, thanks to David McNab's (nz) fine clear HOWTO. While cfdisk gave no trouble (hda1 stayed with win2k, I also configured seven more (logical) drives, hda5 to hda11). It appears that I only got names on boot, root, and swap. I never saw an opportunity in setup to name the other 4 (usr, var, home, temp), so I guess setup ignored them.
Q. (1) How does one now check partition setup?
(2) Can one name these partitions now ?
(3) How to check a partition"s contents ?
(4) If, say usr partition is empty, how does one move usr directory into it without wrecking system?
tia, chada
Heil Knopper !javascript:emoticon('
')
Idea
-
Senior Member
registered user
Knoppix dumps everything into one partition.
#1- Open a console window type mount then enter to see the mounts in use on your system.
#2- You have to edit the /etc/fstab and put entries in for the "names"(mounts).
#3 - In a console window cd /usr then enter then ls and enter will show you the contents if you are thinking the /usr or /home are empty they are not the partitions you made were not used during install they are in the / partition.
#4- To move the directories you should boot from the CD mount the partitions you want your /usr /home to be on ie.
sudo mount /dev/hda? /mnt/hda? - the partition you want to move the directory too.
also mount the HD / partition and change to the HD / directory you want move ie.
cd /mnt/hda?/home - the /home you want to move.
cp -Rp * /mnt/hda?/ -copy to the mount of where you want to move /home too.
Edit the HD / fstab to mount the new /home ie.
/dev/hda? /home auto rw,auto,user,exec 0 0 - the new home mount
repeat the proccess for others. although you really should only need a seperate /home to keep your personal settings and files.
reboot and your new mounts should be available.
You could do all this without booting from the cd but I would not recommend it.
-
Senior Member
registered user
Oh yeah- chada in order to see your partitions as root do:
cfdisk /dev/hda (or /dev/hdb, /dev/hdc etc.)
-
Junior Member
registered user
Knx. 3.2 Partition Naming
Super amswers from Messrs Cormier & Rickenbahcerus. Thanks very much. I must be very grateful, for this is my 4th try to get this balky form to send my message !
Now for a long pause to digest your answers.
Chada
-
Junior Member
registered user
Knx. 3.2 Partition Naming
Rickenbacherus !
entschuldigen sie bitte.
chada
-
Senior Member
registered user
Re: Knx. 3.2 Partition Naming
![Quote](images/misc/quote_icon.png)
Originally Posted by
chada
Rickenbacherus !
entschuldigen sie bitte.
chada
Is that German? Sorry no sprechen ze deutche (I can't spell in German either-heh heh
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
rickenbacherus
lmao - Really a very nice how-to though, both times!
Thanks, I cleaned it up did some reformating and put in the wiki here.
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
Stephen
![Quote](images/misc/quote_icon.png)
Originally Posted by
rickenbacherus
lmao - Really a very nice how-to though, both times!
Thanks, I cleaned it up did some reformating and put in the wiki
here.
Nice ![Smile](images/smilies/icon_smile.gif)
I'll make the commands you need to type [b]bold[b], like in the rest of the wikis. And I think we should change the editor to something more newbie friendly... vi (and Emacs) take some time to master. Not really something you would want to do when you opened your fstab, I guess...
Just a shame that pico/nano are not on Knoppix. Anyone know another small and simple editor?
[edit]Shouldn't you explain how to remove the old /home after yo find out the new one is fully functional?[/edit]
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
Henk Poley
Just a shame that pico/nano are not on Knoppix. Anyone know another small and simple editor?
While it may not be small I think Midnight Commander is not only easy to learn but is commonly included with most distros and you can install .debs from it. All the commands are available via a pull down menu. Just hit F9. All the 'F' key functions are also listed on the bottom of the editor window.
Just my 2 cents.
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
Henk Poley
I'll make the commands you need to type [b]bold[b], like in the rest of the wikis.
That would be great.
And I think we should change the editor to something more newbie friendly... vi (and Emacs) take some time to master. Not really something you would want to do when you opened your fstab, I guess...
Just a shame that pico/nano are not on Knoppix. Anyone know another small and simple editor?
I couldn't agree more but from what I read on the Knoppix mailing list extra space is rather limited on the ISO.
Being a HD install the person could always install their favorite editor although how would a newbie know what their favorite editor was???
Shouldn't you explain how to remove the old /home after you find out the new one is fully functional?
Your right I will add to the wiki but with the size of new HD who's gonna miss a couple mb.
Similar Threads
-
By marshalx in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 12-09-2004, 09:38 AM
-
By Quite in forum General Support
Replies: 5
Last Post: 09-23-2004, 01:36 AM
-
By Quite in forum General Support
Replies: 12
Last Post: 08-22-2004, 10:40 PM
-
By rrfish72 in forum General Support
Replies: 12
Last Post: 08-05-2004, 07:09 AM
-
By rossnixon in forum General Support
Replies: 10
Last Post: 02-08-2004, 01:32 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5](/store/img/g/TIMAAOSw969gDuvf/s-l225/HITACHI-HUS724040ALA640-4TB-7200RPM-64MB-SATA-6-0G.jpg)
HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS
$52.00
![Western Digital 4TB Internal 7.2KRPM 3.5](/store/img/g/QHQAAOSwCPxl~ZwC/s-l225/Western-Digital-4TB-Internal-7-2KRPM-3-5-WD4000FYY.jpg)
Western Digital 4TB Internal 7.2KRPM 3.5" (WD4000FYYZ) SATA Hard Drive ZERO HOUR
$69.99
![Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5](/store/img/g/xy8AAOSwuMhl8Y7x/s-l225/Seagate-ST8000NM0055-8TB-7200RPM-256MB-SATA-6-0-Gb.jpg)
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$34.47
![Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5](/store/img/g/3GsAAOSwVO1mEBDA/s-l225/Western-Digital-WD4000FYYZ-RE-4TB-7200-RPM-64MB-Ca.jpg)
Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive
$24.20
![HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5](/store/img/g/buwAAOSwDghlwalj/s-l225/HGST-Ultrastar-DC-HC520-12TB-SATA-6Gb-256MB-3-5-En.jpg)
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$74.99
![CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD picture](/store/img/g/qqcAAOSw~xVgcyGX/s-l225/CISCO-A03-D1TBSATA-1TB-7-2K-6G-2-5INCH-SATA-HDD.jpg)
CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD
$9.00
![Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5](/store/img/g/de0AAOSwcJJlDe~2/s-l225/Seagate-ST12000NM0127-12TB-SATA-6Gb-s-256MB-7200RP.jpg)
Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive
$99.99
![WD Ultrastar DC HC530 14TB SATA 6G 3.5](/store/img/g/gggAAOSwwB5mL~fg/s-l225/WD-Ultrastar-DC-HC530-14TB-SATA-6G-3-5-7200RPM-Ent.jpg)
WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604
$110.00
![Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5](/store/img/g/tFMAAOSwjDVmceFV/s-l225/Seagate-ST1000VM002-1TB-64MB-SATA6Gb-s-3-5-Low-Pow.jpg)
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
![Western Digital Gold Enterprise 4TB,7200 RPM Internal Hard Disk Drive WD4002FYYZ picture](/store/img/g/uDIAAOSwY95lQDIU/s-l225/Western-Digital-Gold-Enterprise-4TB-7200-RPM-Inter.jpg)
Western Digital Gold Enterprise 4TB,7200 RPM Internal Hard Disk Drive WD4002FYYZ
$39.95