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:')
Idea
:idea:
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
Knx. 3.2 Partition Naming
Rickenbacherus !
entschuldigen sie bitte.
chada
Re: Knx. 3.2 Partition Naming
Quote:
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 :)
Knx. 3.2: partition renaming
Following the kind suggestions of messrs. Cormier & Rickenbacherus:
1.a: Type mount, enter. Report:
/dev/hda6 on / type ext3 (rw.errors=remount -ro)
/cev/root.old on /initrd type ext2 (rw)
none on /proc type proc (rw)
devpts on /dev/pts type devpts (rw.gid=5, mode=620)
usbdevfs on /proc/bus/usb type usbdevs (rw)
--------------------------------------------------------
normal?
----------
1.b: Type cfdisk/dev/hda, enter. Report:
My original partition schedule (as described above), appeared.
------------
2. I'm getting to this (slow learner). I understand you to mean that if I want the "mounts" to conform with my partition schedule, I must first edit etc/fstab, right? Is emacs my newbie weapon of choice here?
---------------
3. Did
cd/usr, enter, ls, enter. Report:
x1186 bin doc etc games include info lib local man sbin share src.
That tells me nothing about the partition, but tells me that directory /usr is not empty- right?
More later
Tia
chada
Knx. 3.2: partition naming
Thank you, Stephen and Rock, for your advice. Simple is good. So following directions, I shall try to add a /home to the boot, root, and swap partitions already working....and report later.
chada
Knx. 3.2: partition naming
Now I have been back in cfdisk and reworked my partition schedule. Now, Win 2k is on hda1, and logicals hda5,6 & 8 are boot,root,& swap. And #7 is for home. Cfdisk refused to let me assign "extended" filesystem designation to #7. I druther ext3.
Now: following Stephen's answer to my question #4:
I booted the Kpx CD. The KDE desktop showed all my partitions except #8 (swap). Is that normal ?
In console, typed: "sudo mount /dev/hda7 /mnt/hda7
Reply: "mount: you must specify the filesystem type"
Good ! But...please...how do I tell it "ext3" ?
Tia,
Chada
Knx. 3.2: partition naming
Having read Stephen's (April 10- 8.50 PM) :
Still fearful of breaking something: to the question- have I created the filesystem on hda7 ? Cfdisk shows under FS Type for hda7: "Linux" . Therefore, the answer is yes, correct ?
Then next: type your line which starts "sudo tunefs.."
Right ?
Next: type line starting: "sudo mount -t ext3.."
Right ? Then I think I can follow remaining advice.
Tia
Chada
Knx. 3.2: partition naming
After Stephen's post: Apr.11/12:45AM:
My dummheit's keeping you awake. Sorry !
With Knx. CD booted, in console, typed: "sudo mount -t ext3 /dev/hda7 /mnt/hda7" Reply:
"mount: wrong fs type, bad option, bad superblock on /dev/hda7, or too many mounted file systems"
Then typed: "sudo mkfs /dev/hda7". Reply began: "mke2fs 1.32 (09-Nov-2002)", and then rolled out another 17 lines. Now I think for sure the filesystem is created on hda7.
Next, wishing to convert filesystemto ext3, typed: "sudo tunefs -j /dev/hda7". Reply:
"sudo: tunefs: command not found"
What next, o kind and patient one ?
Chada
Re: Knx. 3.2: partition naming
Quote:
Originally Posted by chada
Then typed: "sudo mkfs /dev/hda7". Reply began: "mke2fs 1.32 (09-Nov-2002)", and then rolled out another 17 lines. Now I think for sure the filesystem is created on hda7.
Next, wishing to convert filesystemto ext3, typed: "sudo tunefs -j /dev/hda7". Reply:
"sudo: tunefs: command not found"
What next, o kind and patient one ?
Chada
The file system is created (ext2) so if you want to you could move the /home now and do the tunefs after you re-boot.
Knx. 3.2: partition naming
Thanks, Rock, for your advice (April 11, 5.47PM)
Booted Knx. CD; in console typed:
"sudo tune2fs -j /dev/hda7". Reply was about 4 lines which said nothing about ext3, so I swore for a while.
I then exited the CD, then booted the HDrive, opened cfdisk, and the filetype showing for hda7 was ext3 !
Jubilation ! That's for sure, right ?
-----------------------------------------
Think tomorrow, following Stephen's advice already given, I can get /home to move to hda7.
Thanks again,
Chada
Knx. 3.2: partition naming
Thought we were in the home stretch, but.....
From what I can see, hda7 is in order: created and mounted.
If cfdisk shows ext3 against hda7, can I take that as proven? Is there another way to check?
Following Stephen's answer to my question #4, to move /home to hda7, assuming that hda7 is all in order, I booted the CD and in console,
typed: "sudo mount /dev/hda7 /mnt/hda7". Reply:
there was no comment; a new prompt came up; took that to mean "hda7 is mounted arready!"
Then typed:"cd /mnt/hda7/home". Reply: "No such file or directory"
Stuck again....suggestion please ?
Chada
Knx. 3.2: partition naming
Further to Stephen's of April 12th, 6:45 pm
---------------------------------------------------
I am pleased, really PLEASED (!) to report that I followed this perfect little guide with full success.
Only one small glitch now remains. During Knx. original install, I set up swap in hda11. And it still appears so in fstab, even though I have now rewritten my partition schedule in cfdisk: Win2k, boot, root, home & swap (hda1,5,6,7 &8).
How do I correct this, please ?
Chada
Knx. 3.2 partition renaming
In my last, please re3ad the number 8 in place of the smiley.
chada
Knx. 3.2: partition naming
Stephen's last advice (16 Apr. 4:10 AM) worked 4 me.
So ! Now everything (partitions, directory locations, & fstab) is in order.
I have many setup chores yet to do, but this process has given me a lot of confidence that I may actually make it to the finish line
For a lot of patience and careful, clear advice, to Stephen, the Rickenbacherus, & RockMumbles: thanks a lot !
Heil Knopper !
Chada