Click to See Complete Forum and Search --> : Slackware from scratch
JohnT
07-08-2004, 06:42 PM
My Slack HD broke :( ...Ok so I installed another drive to replace it and booted up my Slack cd for a re-install......now the cd drive has gone haywire:rolleyes: ......so what I did was download Zipslack to a Fat32 partition and unzipped and mounteed it. Voila!! Slack 10.0, but thats not what I wanted, so I formatted and partioned my new(sic) HD as reiserfs. The new drive is partitoned into 3 logical drives....swap, /, /root. I like to keep /root on a separate partition. Copied all directories over from Zipslack to the new drive. Edited /etc/fstab to mount all three and the removables, plus /proc....everything mounted great and I have a working 10.0.....with one exception. My /root directory contains the directory root, which is my /root partition.(/root/root) I tried removing the /root directory thinking m/b the root partition would mount itself as /root, but it complains at boot and reverts to mounting the /home directory...which is not my /root partition. Other than that it works...I'd like to get this sorted out before I upgrade the whole distro. Any ideas?
boot a rescue (Live) CD and then sort it out from there.
JohnT
07-08-2004, 07:34 PM
Originally posted by Hayl
boot a rescue (Live) CD and then sort it out from there. Ok so I installed another drive to replace it and booted up my Slack cd for a re-install......now the cd drive has gone haywire Not an option...m/b i can try a rescue floppy;) ...I''ll make one and see.
<edit> BTW..I have no problem booting and using the OS, just the fact that there exists...../root/root. How do I sort that out to mount that partition in my root folder without showing as /root/root and /root only. My fstab has as the mount point, as I have used in all my installs...../dev/hda7 /root.
JohnT
07-08-2004, 08:09 PM
No go.....I removed /root to see if fstab would mount the partition as /root......but since there was no mount point it refused to mount the partition. My "/" partition mounts fine and everything is OK there, its just that it should open the other partition in /root without going another level deeper. I'm overlooking something here.:confused:
MMYoung
07-08-2004, 08:18 PM
Maybe I'm confused but I thought that the "/" was the "root" partition? I always configure a /, /home, and /swap. The root directory is always on the "/" partition. :confused: >scratches head<
MMYoung
JohnT
07-08-2004, 08:39 PM
I always configure a /, /home, and /swap. The root directory is always on the "/" partition.
And I always configure a /, /root, and /swap
There is "/ " (root) then there is the sub-directory /root . In this sub-directory "/root" I want my /hda7 to show, but I don't want it to show as "/root/root".
It has to have a mount point in fstab. In a normal cd install I have always designated /hda7 as /root and have had no problems. It should be a transparent mount instead of another level deep.
MMYoung
07-08-2004, 08:52 PM
I get it now. Just took a while to sink in through my thick skull.:)
Sorry,
MMYoung
pezplaya
07-08-2004, 09:15 PM
weird problem...
can we see your fstab and output of
ls -al /
ls -al /root
JohnT
07-09-2004, 12:22 AM
It's done.....fstab is the same. Downloaded bare.i and install1.img and install2.img and ran ncurses setup. Setup partitions, same as they were, no formatting and rebooted.Go figure...:D