root Partition FULL, need partitioning & mount point help

Here’s the situation root partition is full zero space. My current hard
disks are;
linux:~ # su -c ‘fdisk -l’

Disk /dev/sda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xae88ae88

Device Boot Start End Blocks Id System
/dev/sda1 1 262 2104483+ 82 Linux swap / Solaris
/dev/sda2 * 263 1187 7430062+ 83 Linux
/dev/sda3 1188 2434 10016527+ 83 Linux

Disk /dev/sdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x757c757c

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2433 19543041 7 HPFS/NTFS

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000266ec

Device Boot Start End Blocks Id System
/dev/sdc1 2 60801 488376000 83 Linux
linux:~ #

I did some research. Then went to swerdna’s web site and followed his
instructions for moving folders, i.e moved /home to sdc1 /oldhome. Then
I booted on the Live CD, went into repair, expert mode, and brought up
the partitioner (parted?). I deleted sda3 /home, and resized sda2 to the
free space. The problem is that in so doing the partitioner defaulted(?)
the mount point to none. I deleted the NTFS partition on sdc1 and
created a ext3 that I want to be /home, instead it appears to be
defaulted to /. I’ve left the machine with the partitioner running. What
does the Newbie do to change the mount points.

Larry

Larry G. Griffin wrote:
> Here’s the situation root partition is full zero space. My current hard
> disks are;
> linux:~ # su -c ‘fdisk -l’
>
> Disk /dev/sda: 20.0 GB, 20020396032 bytes
> 255 heads, 63 sectors/track, 2434 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xae88ae88
>
> Device Boot Start End Blocks Id System
> /dev/sda1 1 262 2104483+ 82 Linux swap /
> Solaris
> /dev/sda2 * 263 1187 7430062+ 83 Linux
> /dev/sda3 1188 2434 10016527+ 83 Linux
>
> Disk /dev/sdb: 20.0 GB, 20020396032 bytes
> 255 heads, 63 sectors/track, 2434 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x757c757c
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 1 2433 19543041 7 HPFS/NTFS
>
> Disk /dev/sdc: 500.1 GB, 500107862016 bytes
> 255 heads, 63 sectors/track, 60801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x000266ec
>
> Device Boot Start End Blocks Id System
> /dev/sdc1 2 60801 488376000 83 Linux
> linux:~ #
>
> I did some research. Then went to swerdna’s web site and followed his
> instructions for moving folders, i.e moved /home to sdc1 /oldhome. Then
> I booted on the Live CD, went into repair, expert mode, and brought up
> the partitioner (parted?). I deleted sda3 /home, and resized sda2 to the
> free space. The problem is that in so doing the partitioner defaulted(?)
> the mount point to none. I deleted the NTFS partition on sdc1 and
> created a ext3 that I want to be /home, instead it appears to be
> defaulted to /. I’ve left the machine with the partitioner running. What
> does the Newbie do to change the mount points.
>
> Larry

wow, is that machine still running…hope electricity is inexpensive
where you live (it is NOT here)…i got side tracked onto something
else…sorry–

ok, the partitioner does not care where you mount a new
partition…the mbr which points to the kernel in the root directory
(/) has not moved so it should boot right up problem is if you sign
in as you, it will create a new /home/[you] in accordance with the
pre-existing fstab, which was (and is, until modified by you as root)
thus:

linux:~ # cat /etc/fstab
/dev/disk/by-id/ata-ST320011A_3HT17QJ0-part1 swap swap
defaults 0 0
/dev/disk/by-id/ata-ST320011A_3HT17QJ0-part2 / ext3
acl,user_xattr 1 1
/dev/disk/by-id/ata-ST320011A_3HT17QJ0-part3 /home ext3
acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
/dev/disk/by-id/ata-WDC_WD5000AAKS-00D2B0_WD-WMASY6071261-part1
/Archives ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-WDC_WD200EB-00CSF0_WD-WMAAV1113810-part1 /Special
ntfs-3g
users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0

which means it would try to create a new /home/[you] on the third
partition of the SDA drive which now has only one partition…so, ERROR…

hmmmm…i’m kinda at a loss here…i wish you had posted in some other
forum where you had a chance of attracting someone who knows what
they are talking about…(64 bit place is obvious, now, not the best
place)…

i THINK what you need to do is go ahead and (with a perfect mental
image of what the system should look like when finished) shut down,
remove the CD/DVD from the hard drive and boot from the hard
drive…BE READY TO MOVE at the FIRST green screen (where you can
pick from a kernel, safe etc) and

  • type 3 and hit enter

  • you will get a Login: prompt

  • type root and enter

  • type in the root password [you will not see it as you type it]

  • when logged in (remember you are root) type yast and hit enter

  • select “System” on the left and “Partitioner” on the right

from there you are on your own (i’ve never used it, or used it so long
ago i forgot all about it)…so, you might wanna research what you
might see in the non-X, curses driven ‘yast’…it can and will do all
the stuff that YaST (aka: yast2) does for the GUI folks…so, you
SHOULD be able to see that the NTFS is gone and in its place a single
partition hard drive of ext3 ready for you to designate as /home…

i THINK that is all you have to do (it will rewrite your /etc/fstab
for you)…and, i THINK if you then reboot and sign in as you (regular
user) you will have what you want…

well, i think you will have a new /home/[you] AND a /home/oldhome on
that SDC…and, since you have not yet (i guess) collected any
personal files, photos, music or done any desktop configuration, etc
you can probably just delete /oldhome (if not save it a while and
later you can figure out how to move needed stuff from one to the other)…

if i’m right: congrats on your job well done…now, if i’m all wrong
then you know what to do (burn my house down)…

good luck (by the way, if you had asked i would have strongly
encouraged you to go with the 32 bit version…there are still more
‘rough spots’ and work-arounds that have to be done to get all the
stuff working in places that 32 “just works”…like wireless, java,
hmmmm, some graphic etc etc etc…AND, if you are not gonna drive a
HUGE data base, or edit GIG sized files, OR wanna process photos,
music, movie files of GIG size, AND have over 4 GIGs of RAM…then 64
is a waste of time…imHo…i loaded 64 in * 10.0 or 10.1 and
when i screwed it up beyond repair i reloaded 32…MUCH easier to
manage/use)

[caution: my patience today is not such that i can proof the above, so
engage brain…i know you will…but, i’m wrong and YOUR house burns
down then you know whose fault that will be, right? hint: it ain’t
gonna be me.]


duo
*

Duo,

Thanks for the response.

Last night I used the option to not mount in the partitioner and
finished. I crossed my fingers and rebooted. I was able to boot off the
hard disk. I only get the password prompt until I startx.

>> Larry
>
> wow, is that machine still running…hope electricity is inexpensive
> where you live (it is NOT here)…i got side tracked onto something
> else…sorry–
>
I’m in California’s central valley the temp in the summer is in excess
of 90 degrees, so the electrical bill is never as bad the summer.

> ok, the partitioner does not care where you mount a new
> partition…the mbr which points to the kernel in the root directory
> (/) has not moved so it should boot right up problem is if you sign
> in as you, it will create a new /home/[you] in accordance with the
> pre-existing fstab, which was (and is, until modified by you as root)
> thus:
>
> linux:~ # cat /etc/fstab
> /dev/disk/by-id/ata-ST320011A_3HT17QJ0-part1 swap swap
> defaults 0 0
> /dev/disk/by-id/ata-ST320011A_3HT17QJ0-part2 / ext3
> acl,user_xattr 1 1
> /dev/disk/by-id/ata-ST320011A_3HT17QJ0-part3 /home ext3
> acl,user_xattr 1 2
> proc /proc proc defaults 0 0
> sysfs /sys sysfs noauto 0 0
> debugfs /sys/kernel/debug debugfs noauto 0 0
> usbfs /proc/bus/usb usbfs noauto 0 0
> /dev/disk/by-id/ata-WDC_WD5000AAKS-00D2B0_WD-WMASY6071261-part1
> /Archives ext3 acl,user_xattr 1 2
> /dev/disk/by-id/ata-WDC_WD200EB-00CSF0_WD-WMAAV1113810-part1 /Special
> ntfs-3g
> users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
>
> which means it would try to create a new /home/[you] on the third
> partition of the SDA drive which now has only one partition…so, ERROR…
>
My main concern was that in finishing the partitioning that I might over
write something by having the wrong mount points and have to reinstall.
I was logging in as root off the Live CD, so this problem didn’t arise.

> hmmmm…i’m kinda at a loss here…i wish you had posted in some other
> forum where you had a chance of attracting someone who knows what
> they are talking about…(64 bit place is obvious, now, not the best
> place)…
>
I’m still trying to get a handle on all this new stuff. I’ve got no idea
what is particular to 64 bit and not.

> i THINK what you need to do is go ahead and (with a perfect mental
> image of what the system should look like when finished) shut down,
> remove the CD/DVD from the hard drive and boot from the hard
> drive…BE READY TO MOVE at the FIRST green screen (where you can
> pick from a kernel, safe etc) and
>
> - type 3 and hit enter
>
> - you will get a Login: prompt
>
> - type root and enter
>
> - type in the root password [you will not see it as you type it]
>
> - when logged in (remember you are root) type yast and hit enter
>
> - select “System” on the left and “Partitioner” on the right
>
I’m not sure I quite understand the above. I’ve been going to the repair
option. I would like to bypass that, so if I type 3 while the green
screen is coming up I’ll get the prompt?

> from there you are on your own (i’ve never used it, or used it so long
> ago i forgot all about it)…so, you might wanna research what you
> might see in the non-X, curses driven ‘yast’…it can and will do all
> the stuff that YaST (aka: yast2) does for the GUI folks…so, you
> SHOULD be able to see that the NTFS is gone and in its place a single
> partition hard drive of ext3 ready for you to designate as /home…
>
The NTFS partition was deleted. Another ext3 partition created in it’s
place and formated. I’m getting an error though that NTFS signature is
not found, more on that later.

> i THINK that is all you have to do (it will rewrite your /etc/fstab
> for you)…and, i THINK if you then reboot and sign in as you (regular
> user) you will have what you want…
I don’t think the fstab was rewrote, because I’m getting several errors.
the NTFS signature, and the other is when I try ‘cp /Archives/oldhome/.
/home’ there is a message “cp omitting directory /Archives/oldhome”.
That leaves some guessing. I’m thinking I’m going to have rewrite fstab
to fix them, and to automatically mount the new partition.

>
> well, i think you will have a new /home/[you] AND a /home/oldhome on
> that SDC…and, since you have not yet (i guess) collected any
> personal files, photos, music or done any desktop configuration, etc
> you can probably just delete /oldhome (if not save it a while and
> later you can figure out how to move needed stuff from one to the other)…
I did lose /home some where, so I need to solve the problem above.
>
> if i’m right: congrats on your job well done…now, if i’m all wrong
> then you know what to do (burn my house down)…
>
Don’t get the matches yet.

> good luck (by the way, if you had asked i would have strongly
> encouraged you to go with the 32 bit version…there are still more
> ‘rough spots’ and work-arounds that have to be done to get all the
> stuff working in places that 32 “just works”…like wireless, java,
> hmmmm, some graphic etc etc etc…AND, if you are not gonna drive a
> HUGE data base, or edit GIG sized files, OR wanna process photos,
> music, movie files of GIG size, AND have over 4 GIGs of RAM…then 64
> is a waste of time…imHo…i loaded 64 in * 10.0 or 10.1 and
> when i screwed it up beyond repair i reloaded 32…MUCH easier to
> manage/use)
>
I’m having fun, reminds me of working with CP/M. I am thinking of photos
editing, one of my other hobbies, and music. I only have 2 gigs of ram,
more later.

> [caution: my patience today is not such that i can proof the above, so
> engage brain…i know you will…but, i’m wrong and YOUR house burns
> down then you know whose fault that will be, right? hint: it ain’t
> gonna be me.]
>
You did just fine. No attitude is most important. I’ve spent a few years
dealing with the public at a computer store and even more on the Help Desk.

btw if you know of a tutorial on clean out unwanted programs and tuning
SUSE, I’d like to know.

Larry
*

> Last night I used the option to not mount in the partitioner and
> finished. I crossed my fingers and rebooted. I was able to boot off the
> hard disk. I only get the password prompt until I startx.

ok, and you issue that startx as a regular (non-root) user, right?
and, does the GUI pop up then?

well, no matter, it SHOULD boot all the way to a GUI…WAIT!
which CD/DVD do you have?
did you, during the install process select a SERVER install, or did
you select KDE3, or KDE4 or Gnome??

then, did you wicker the different install patterns (that is, you can
get to a screen where you can pick and chooose various
packages…LOTS of various packages if you downloaded the DVD…

IF, you selected SERVER or changed the default to NOT include a
windowing system (X) or window manager (KDE, Gnome, etc) then the boot
script generated may not try to get alll the way to a KDE (as mine does)

the GOOD thing about open source is you are FREE to make lots of
decisions…the bad news is i have NO idea which decisions you made,
unless you tell…

<snip>

> My main concern was that in finishing the partitioning that I might over
> write something by having the wrong mount points and have to reinstall.
> I was logging in as root off the Live CD, so this problem didn’t arise.

see, the partitioner parted won’t deal with what goes where…that is,
it will not overwrite /etc/fstab which is all about what goes where…

> I’m still trying to get a handle on all this new stuff. I’ve got no idea
> what is particular to 64 bit and not.

i can’t fill in that knowledge blank…but, i’d say that what you
going on so far is not 64 specific (maybe…the inability to auto boot
to a GUI might be, i don’t know yet…

>
>> i THINK what you need to do is go ahead and (with a perfect mental
>> image of what the system should look like when finished) shut down,
>> remove the CD/DVD from the hard drive and boot from the hard
>> drive…BE READY TO MOVE at the FIRST green screen (where you can
>> pick from a kernel, safe etc) and
>>
>> - type 3 and hit enter
>>
>> - you will get a Login: prompt
>>
>> - type root and enter
>>
>> - type in the root password [you will not see it as you type it]
>>
>> - when logged in (remember you are root) type yast and hit enter
>>
>> - select “System” on the left and “Partitioner” on the right

> I’m not sure I quite understand the above. I’ve been going to the repair
> option. I would like to bypass that, so if I type 3 while the green
> screen is coming up I’ll get the prompt?

well, when that very first screen comes up (on all SUSE i’m aware of)
if you just type 3 you get to a text prompt asking for a sign in, and
the system is in run level 3…

i don’t think the repair give you just a text prompt, does it??

> The NTFS partition was deleted. Another ext3 partition created in it’s
> place and formated. I’m getting an error though that NTFS signature is
> not found, more on that later.

that is because the thing you were afraid might be over written was
NOT…but, it needs to be…and, that is what i tried to guide you to
do from the command prompt, running yast…

i GUESS if you are getting to a text prompt by using “repair system”
you can log in there as root, and run yast…when you FINISH that, if
you paid attention, it SHOULD overwrite /etc/fstab FOR YOU
automatically, and the next time it boots it won’t be looking for that
now gone NTFS…

we will, however need to find out where all the different /home
landed, so will need to run those several magic df/etc which i gave
you earlier…i’ll let you find them, and patch them back to here,
eventually…

>
>> i THINK that is all you have to do (it will rewrite your /etc/fstab
>> for you)…and, i THINK if you then reboot and sign in as you (regular
>> user) you will have what you want…
> I don’t think the fstab was rewrote, because I’m getting several errors.
> the NTFS signature, and the other is when I try ‘cp /Archives/oldhome/.
> /home’ there is a message “cp omitting directory /Archives/oldhome”.
> That leaves some guessing. I’m thinking I’m going to have rewrite fstab
> to fix them, and to automatically mount the new partition.

EXACTLY, yast from a run level 3 text prompt can/will do that (or YaST
in a gui logged in as a regular user will too…but i’m not sure we
have that ability yet—hmmmm, if you on the first screen select “Safe
Mode” or something like that, do you get booted to a GUI? if so you
can do that and then click on YaST, give your root pass and access the
partitioner that way…)

<snip> I’m having fun, reminds me of working with CP/M. I am thinking
of photos
> editing, one of my other hobbies, and music. I only have 2 gigs of ram,
> more later.

then if we (YOU!) get to the place you are tired of futzing with it
broken (as it is, but fixin’t is fun and educational) then i’d suggest
a reinstall, and make it 32…

> btw if you know of a tutorial on clean out unwanted programs and tuning
> SUSE, I’d like to know.

clean out unwanted programs with YaST (find’em, click to uninstall,
click ok, finished!)

tuning is a different matter…except for KDE4 it is pretty darn good
out of the box…ordered with slowest first i’d list KDE4, KDE3,
Gnome, Xfce and then there are some windows managers MADE for
speed…lots of them…

most other ‘tuning’ you might have done with Redmondware is just not
worth the effort–most of the stuff is already done…

you will see if we ever get you running…

by the way, i don’t know what you elected to install, but i do NOT
recommend KDE4 for a new user, or anyone other than an enemy…

why they picked that as the default install was IMHO most stupid.
(except, it was a great strategy to get lots of folks running the bugs
out)


duo

duo wrote:
>> Last night I used the option to not mount in the partitioner and
>> finished. I crossed my fingers and rebooted. I was able to boot off the
>> hard disk. I only get the password prompt until I startx.
>
> ok, and you issue that startx as a regular (non-root) user, right?
> and, does the GUI pop up then?
>
> well, no matter, it SHOULD boot all the way to a GUI…WAIT!
> which CD/DVD do you have?
> did you, during the install process select a SERVER install, or did
> you select KDE3, or KDE4 or Gnome??
>
> then, did you wicker the different install patterns (that is, you can
> get to a screen where you can pick and chooose various
> packages…LOTS of various packages if you downloaded the DVD…
>
> IF, you selected SERVER or changed the default to NOT include a
> windowing system (X) or window manager (KDE, Gnome, etc) then the boot
> script generated may not try to get alll the way to a KDE (as mine does)
>
> the GOOD thing about open source is you are FREE to make lots of
> decisions…the bad news is i have NO idea which decisions you made,
> unless you tell…
>
> <snip>
>
>> My main concern was that in finishing the partitioning that I might over
>> write something by having the wrong mount points and have to reinstall.
>> I was logging in as root off the Live CD, so this problem didn’t arise.
>
> see, the partitioner parted won’t deal with what goes where…that is,
> it will not overwrite /etc/fstab which is all about what goes where…
>
>
>
>> I’m still trying to get a handle on all this new stuff. I’ve got no idea
>> what is particular to 64 bit and not.
>
> i can’t fill in that knowledge blank…but, i’d say that what you
> going on so far is not 64 specific (maybe…the inability to auto boot
> to a GUI might be, i don’t know yet…
>
>>> i THINK what you need to do is go ahead and (with a perfect mental
>>> image of what the system should look like when finished) shut down,
>>> remove the CD/DVD from the hard drive and boot from the hard
>>> drive…BE READY TO MOVE at the FIRST green screen (where you can
>>> pick from a kernel, safe etc) and
>>>
>>> - type 3 and hit enter
>>>
>>> - you will get a Login: prompt
>>>
>>> - type root and enter
>>>
>>> - type in the root password [you will not see it as you type it]
>>>
>>> - when logged in (remember you are root) type yast and hit enter
>>>
>>> - select “System” on the left and “Partitioner” on the right
>
>
>> I’m not sure I quite understand the above. I’ve been going to the repair
>> option. I would like to bypass that, so if I type 3 while the green
>> screen is coming up I’ll get the prompt?
>
> well, when that very first screen comes up (on all SUSE i’m aware of)
> if you just type 3 you get to a text prompt asking for a sign in, and
> the system is in run level 3…
>
> i don’t think the repair give you just a text prompt, does it??
>
>
>
>> The NTFS partition was deleted. Another ext3 partition created in it’s
>> place and formated. I’m getting an error though that NTFS signature is
>> not found, more on that later.
>
> that is because the thing you were afraid might be over written was
> NOT…but, it needs to be…and, that is what i tried to guide you to
> do from the command prompt, running yast…
>
> i GUESS if you are getting to a text prompt by using “repair system”
> you can log in there as root, and run yast…when you FINISH that, if
> you paid attention, it SHOULD overwrite /etc/fstab FOR YOU
> automatically, and the next time it boots it won’t be looking for that
> now gone NTFS…
>
> we will, however need to find out where all the different /home
> landed, so will need to run those several magic df/etc which i gave
> you earlier…i’ll let you find them, and patch them back to here,
> eventually…
>
>
>>> i THINK that is all you have to do (it will rewrite your /etc/fstab
>>> for you)…and, i THINK if you then reboot and sign in as you (regular
>>> user) you will have what you want…
>> I don’t think the fstab was rewrote, because I’m getting several errors.
>> the NTFS signature, and the other is when I try ‘cp /Archives/oldhome/.
>> /home’ there is a message “cp omitting directory /Archives/oldhome”.
>> That leaves some guessing. I’m thinking I’m going to have rewrite fstab
>> to fix them, and to automatically mount the new partition.
>
> EXACTLY, yast from a run level 3 text prompt can/will do that (or YaST
> in a gui logged in as a regular user will too…but i’m not sure we
> have that ability yet—hmmmm, if you on the first screen select “Safe
> Mode” or something like that, do you get booted to a GUI? if so you
> can do that and then click on YaST, give your root pass and access the
> partitioner that way…)
>
>
> <snip> I’m having fun, reminds me of working with CP/M. I am thinking
> of photos
>> editing, one of my other hobbies, and music. I only have 2 gigs of ram,
>> more later.
>
> then if we (YOU!) get to the place you are tired of futzing with it
> broken (as it is, but fixin’t is fun and educational) then i’d suggest
> a reinstall, and make it 32…
>
It looks like I’m going to take your advice. Last night I had cleaned up
all the partitions and there was still one error. I was get an eror from
the boot splash screen and console being set to 0. I booted on the Live
CD, when into repair and let it work. When it was done I ran fdisk -l
and all the drive designations had been reversed, not good, IMO it
shouldn’t have happened. I’m going to install 10.3 32 bit.

>
>> btw if you know of a tutorial on clean out unwanted programs and tuning
>> SUSE, I’d like to know.
>
> clean out unwanted programs with YaST (find’em, click to uninstall,
> click ok, finished!)
>
> tuning is a different matter…except for KDE4 it is pretty darn good
> out of the box…ordered with slowest first i’d list KDE4, KDE3,
> Gnome, Xfce and then there are some windows managers MADE for
> speed…lots of them…
>
> most other ‘tuning’ you might have done with Redmondware is just not
> worth the effort–most of the stuff is already done…
>
> you will see if we ever get you running…
>
> by the way, i don’t know what you elected to install, but i do NOT
> recommend KDE4 for a new user, or anyone other than an enemy…
>
> why they picked that as the default install was IMHO most stupid.
> (except, it was a great strategy to get lots of folks running the bugs
> out)
>