Author Topic: Boot problem after / partition resize - ( Stupid mistake !!) [SOLVED]  (Read 5955 times)

Offline Tony

  • Hero Member
  • *****
  • Posts: 1737
  • Reasonable works, ...
Quote
I don't see where you mentioned how much physical RAM you have on that machine.
I have 512MB+256MB= 768MB RAM.
Now, ... the Graphics are run from an onboard chip, not a card, and that uses some of that RAM.
I have the Max allocation, of 60 MB's (set in Bios) for graphics, so really the RAM is 708 MB's.
(Stop laughing)  ;)
The Comp is not cutting edge, lol.
NEC
Intel Celeron 2.6Ghz CPU.

Quote
We need to know that, and whether you ever intend to use hibernation, to determine how large the swap partition should be.
I never use "hibernation", if what you refer is where the Computer goes into a low power state ? But that's because in Windows it generally screwed up the System. Power saving is a great idea, don't know how well it works in PCLinuxOS. (I use power saving only for the Monitor at moment.)

Quote
The first think I would make is the swap partition, followed by two partitions to be used as the / partitions of the two installations. 40 GB is not much room these days, so I would not recommend separate /home partitions.
O.K. makes sense !

I agree also to use the 500GB External drive as a the main permanent store, which I have done for a few years, running XP with MiniMe; and " /home/Me"  as a temporary storage area, for works in progress.

I was thinking of having MiniMe as a larger MAIN system. I'd be installing my major programmes on here, plus Audacity, want to do Sound Recording.

I've used pclinuxos LXDE 2011.06 only a few weeks, but found it a really "Fun" distro. I'm thinking of it as a PLAY system. (Damn, Firefox just crashed, ugh)
Best post fast.
Basically:
MiniMe:-  root 15 to 20GB's GB's ?
LXDE mini:-  root 6 GB's ?
Shared:- /home/me directory 10 GB's ?
Swap:- 4 GB's.
I'm no expert, and your ideas are valuable to me in this important 'setup' stage.

What do you think ?




*WIKI --PCLinuxOS  is great - remember to Donate ! -- *Software Updates

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11533
  • ----IOFLU----
Quote
I don't see where you mentioned how much physical RAM you have on that machine.
I have 512MB+256MB= 768MB RAM.
Now, ... the Graphics are run from an onboard chip, not a card, and that uses some of that RAM.
I have the Max allocation, of 60 MB's (set in Bios) for graphics, so really the RAM is 708 MB's.
(Stop laughing)  ;)
The Comp is not cutting edge, lol.
NEC
Intel Celeron 2.6Ghz CPU.

I'm not laughing. I had an Athlon 500 build with a total of 384 MB RAM, and loved it. When I built it people laughed at me for having so much RAM... they couldn't imagine what I'd use it all for. I ran that build for 5 years without any issues except distro/application bloat got so bad that application compiling and video processing became painfully slow. I rebuilt the system with an AMD64 3000+ CPU and 2 GB RAM and would still be using that build had not the video card fried and taken the MB with it.. Now I have a dual core AMD64 5200+ with 4 GB RAM in which I may, or may not, add a 4 core Phenom, and another 4 GB RAM ,if I feel the need at some point. That was my intention when I first did this build, but so far I'm quite happy with it as is.

Quote
Quote
We need to know that, and whether you ever intend to use hibernation, to determine how large the swap partition should be.
I never use "hibernation", if what you refer is where the Computer goes into a low power state ? But that's because in Windows it generally screwed up the System. Power saving is a great idea, don't know how well it works in PCLinuxOS. (I use power saving only for the Monitor at moment.)

Quote
The first think I would make is the swap partition, followed by two partitions to be used as the / partitions of the two installations. 40 GB is not much room these days, so I would not recommend separate /home partitions.
O.K. makes sense !

I agree also to use the 500GB External drive as a the main permanent store, which I have done for a few years, running XP with MiniMe; and " /home/Me"  as a temporary storage area, for works in progress.

I was thinking of having MiniMe as a larger MAIN system. I'd be installing my major programmes on here, plus Audacity, want to do Sound Recording.

I've used pclinuxos LXDE 2011.06 only a few weeks, but found it a really "Fun" distro. I'm thinking of it as a PLAY system. (Damn, Firefox just crashed, ugh)
Best post fast.
Basically:
MiniMe:-  root 15 to 20GB's GB's ?
LXDE mini:-  root 6 GB's ?
Shared:- /home/me directory 10 GB's ?
Swap:- 4 GB's.
I'm no expert, and your ideas are valuable to me in this important 'setup' stage.

What do you think ?


I think 1.5 GB for swap is more than adequate. (this from a guy with 14+ GB swap on his own machine... long story;D ;D

Having a shared /home partition could be fine, but if you wanted to remaster the LXDE installation I'd be concerned that a 6 GB / partition might be too small for the process. Neal would be the expert on that subject.

As an alternative you could do the KDE MiniMe installation and add the task-lxde to that installation so you could run either desktop from the same / partition. I currently can run either KDE or Xfce from this installation, and can run both at the same time if I wish, and switch between them with Ctrl+Alt+F7 and Ctrl+Alt+F8. On some installations the switching is done between Ctrl+Alt+F8 and Ctrl+Alt+F9. No one has adequately explained to me why that is, but it is.

If you want a separate /home partition it could then be on whatever space is left after the single / partition is created. I would think that 20 GB for that / partition would be adequate, if you aren't planning to pack it full of extra applications. The whole point of the mini installations is to just add the applications you actually use, and in this case all installed applications would be usable from either desktop, again being a more efficient use of the available disk space.

Your thoughts on this?
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Tony

  • Hero Member
  • *****
  • Posts: 1737
  • Reasonable works, ...
Good morning from Melbourne, Australia, OP  ;) interesting story of your Hardware. I'm hoping Santa may be generous this year, heck I have Pentium 2's, and a 486 lying around the house. Really should responsibly dispose of them this year.

Thanks for your reply. The concept of "MiniMe", was a safe environment in the past alongside WinXP. Familiar basic programmes, Firefox, Thunderbird, first to be installed/setup.
Quote
Having a shared /home partition could be fine, but if you wanted to remaster the LXDE installation I'd be concerned that a 6 GB / partition might be too small for the process. Neal would be the expert on that subject.
Right.
The suggestion;
"As an alternative you could do the KDE MiniMe installation and add the task-lxde to that installation so you could run either desktop from the same / partition. " Sounds great ! If you feel it will work of course, on my System...
" ...No one has adequately explained to me why that is, but it is.
I'm sure you wouldn't suggest if it wouldn't work on my System, sorry.
So, I can run each Installation singularly, yes ? They are not both running simultaneously, as I have only a little resources, RAM.

If you want a separate /home partition it could then be on whatever space is left after the single / partition is created. I would think that 20 GB for that / partition would be adequate, [YES] if you aren't planning to pack it full of extra applications.

Quote
The whole point of the mini installations is to just add the applications you actually use, and in this case all installed applications would be usable from either desktop, again being a more efficient use of the available disk space.
Do you mean, under the config you're suggesting, that an programme in 'pclos LXDE mini' would/could be run in 'MiniMe', and vice- versa ?
This is a big step, a learning committment. It does seem a bit daunting but once I get setup, I'll be going for it, have done a lot of organising of material, like pclinux Newsletter.pdf's, relevant info, on External HDD. I want to get into PCLinuxOS be a helpful member of the Forum, etc.
Learning to remaster a first high priority on the 'to do list'.
So, I'll need to Partition. What you suggest sounds excellent, again I have to thankyou old-polack for putting the time in to helping me, thankyou !

*As an alternative you could do the KDE MiniMe installation and add the task-lxde to that installation so you could run either desktop from the same / partition.[YES]
*If you want a separate /home partition it could then be on whatever space is left after the single / partition is created. I would think that 20 GB for that / partition would be adequate, if you aren't planning to pack it full of extra applications.
[YES]
*I think 1.5 GB for swap is more than adequate.[YES]
I never see much use of the Swap, RAM seems to be utilised very well, which is what I like  ;D
Heck, so that sounds like a plan ! (Of which I have no idea how to setup )  ;)
« Last Edit: July 19, 2011, 06:54:46 PM by francis »
*WIKI --PCLinuxOS  is great - remember to Donate ! -- *Software Updates

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows

So, I can run each Installation singularly, yes ? They are not both running simultaneously, as I have only a little resources, RAM.


Yes. What he's suggesting is installing both desktops to the same root partition. To choose one or the other, you simply log out (no reboot necessary) and choose KDE or LXDE from the login menu. If you had the RAM resources, you could do as old-polack does. After logging into one desktop, he switches to a virtual console, logs in, and starts another desktop session. So, in essence, he's running KDE and LXDE at the same time. He can switch between them by selecting whatever virtual console each session is running on.

You need not run them both at the same time.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Tony

  • Hero Member
  • *****
  • Posts: 1737
  • Reasonable works, ...
djohnston:
Quote
Yes. What he's suggesting is installing both desktops to the same root partition. To choose one or the other, you simply log out (no reboot necessary) and choose KDE or LXDE from the login menu.
Thanks djohnston, that would be pretty neat, to not have to reboot.
Plus, as I'm more familiar with "MiniMe" (KDE) been using around three years on and off, I'll be studying PCLinuxOS LXDE mini, going to and fro easily would be important.

Funny thing is 'LXDE' runs way quicker on my machine, the Graphics drivers seem to be much more suited, or the way the graphics are built into the System.
Just running from PCLinuxOS LXDE mini live CD at moment and does it with ease.
Plus, it has a mysterious quality about it.  :o
*WIKI --PCLinuxOS  is great - remember to Donate ! -- *Software Updates

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11533
  • ----IOFLU----
francis:

OK!  ;D

What's the worst that can happen? Repartition and try something else. It's all a learning experience. I'll run the process on this computer, and relay the commands back to you. I can do this because everything happens in memory right up to the point of writing to disk, which you will do, and I won't. (don't want to mess up my own layout)

Some of my readouts will be far different from yours, as my hard drive is 1 TB, but the process itself will be correct. Each command will be followed by the Enter key being pressed so I won't show that except when pressed to accept the default value.

We start by opening a root terminal. If you are logged in as root, any terminal will be a root terminal. If logged in as the normal user open a terminal then use su - <Enter> then the root password <Enter> to get a full root terminal. The prompt will be;

[root@localhost ~]#

To start the fdisk application, and the readout;

[root@fatman ~]# fdisk /dev/sda

Command (m for help):                 <-- This is the fdisk prompt. I will show the commands in blue.

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help):

Note that all the commands are just single letters. Very simple to use.  ;D

Command (m for help): o
Building a new DOS disklabel with disk identifier 0xef6a1d45.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4, default 1):                  <Enter>          <-- To accept the default
Using default value 1
First sector (2048-1953525167, default 2048):                       <Enter>
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-1953525167, default 1953525167): +1536M

Command (m for help): p

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xef6a1d45

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     3147775     1572864   83  Linux

Command (m for help):

If you look at the menu you will see what each command so far used means. We first used the o command to create a new empty DOS partition table. Then the n command to add a new partition. This will be the swap partition and the size was given as +1536 M because you can't use 1.5G, it doesn't take anything but whole numbers. Finally we used the p command to print the partition table as it is at this stage.

Note the Id shows as 83  Linux. The next commands will change that to 82 Linux swap / Solaris.

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 82
Changed system type of partition 1 to 82 (Linux swap / Solaris)

Command (m for help): p

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xef6a1d45

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     3147775     1572864   82  Linux swap / Solaris

Command (m for help):

Next we create the 20 GB partition to be used as the / partition, followed by the last partition, to be used as /home, in which we accept both the start default and end default. The sector size for mine will be huge because of the drive size. Yours will be more reasonable;D

Because we will be using only three partitions on the whole drive, we will make both as primary partitions, just as we did for the swap partition.

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4, default 2):                        <Enter>
Using default value 2
First sector (3147776-1953525167, default 3147776):                       <Enter>
Using default value 3147776
Last sector, +sectors or +size{K,M,G} (3147776-1953525167, default 1953525167): +20G

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4, default 3):                <Enter>
Using default value 3
First sector (45090816-1953525167, default 45090816):                       <Enter>
Using default value 45090816
Last sector, +sectors or +size{K,M,G} (45090816-1953525167, default 1953525167):             <Enter>
Using default value 1953525167

Command (m for help): p

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xef6a1d45

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     3147775     1572864   82  Linux swap / Solaris
/dev/sda2         3147776    45090815    20971520   83  Linux
/dev/sda3        45090816  1953525167   954217176   83  Linux

Command (m for help):

That should represent the partition table we want. All that is left is to give the w command to  write table to disk and exit. I can't show you the readout for that, because I will be using the q command to quit without saving changes

Command (m for help): w

You should be returned to your normal root prompt at this point. To check the written partition table use the fdisk -l command.

When you finish this part, post your results, then we can format and label each partition.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Tony

  • Hero Member
  • *****
  • Posts: 1737
  • Reasonable works, ...
Wow, that was working like clockwork, thanks for setting it up so well.
I made an error. Bummer !!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[root@localhost guest]# fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0xe2b47d2d.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): o
Building a new DOS disklabel with disk identifier 0xa8ef7bd6.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4, default 1):
Using default value 1
First sector (2048-80293247, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-80293247, default 80293247): +1536M

Command (m for help): p

Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa8ef7bd6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     3147775     1572864   83  Linux

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 82
Changed system type of partition 1 to 82 (Linux swap / Solaris)

Command (m for help): p

Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa8ef7bd6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     3147775     1572864   82  Linux swap / Solaris

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4, default 2):
Using default value 2
First sector (3147776-80293247, default 3147776): +20G
Quote
Partition number (1-4, default 2):                        <Enter>
Using default value 2
First sector (3147776-1953525167, default 3147776):                       <Enter>
Using default value 3147776
Last sector, +sectors or +size{K,M,G} (3147776-1953525167, default 1953525167): +20G
Last sector, +sectors or +size{K,M,G} (41943040-80293247, default 80293247): n               
Last sector, +sectors or +size{K,M,G} (41943040-80293247, default 80293247): exit
Last sector, +sectors or +size{K,M,G} (41943040-80293247, default 80293247): exit
Last sector, +sectors or +size{K,M,G} (41943040-80293247, default 80293247): exit
Last sector, +sectors or +size{K,M,G} (41943040-80293247, default 80293247): exit
Last sector, +sectors or +size{K,M,G} (41943040-80293247, default 80293247): q
Last sector, +sectors or +size{K,M,G} (41943040-80293247, default 80293247): q
Last sector, +sectors or +size{K,M,G} (41943040-80293247, default 80293247):


So I have to quit the LiveCd it seems, as can't exit, dammit !
Sorry, will have to quit, gotta get Son from school, ... so heck I don't know, have 10 mins, not enough time right ?
*WIKI --PCLinuxOS  is great - remember to Donate ! -- *Software Updates

Offline Tony

  • Hero Member
  • *****
  • Posts: 1737
  • Reasonable works, ...
He just txt'ed, I'll try again.
Have to reboot.
*WIKI --PCLinuxOS  is great - remember to Donate ! -- *Software Updates

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11533
  • ----IOFLU----
He just txt'ed, I'll try again.
Have to reboot.

Chit happens.  ;D ;D

Don't worry about it, nothing was harmed.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Tony

  • Hero Member
  • *****
  • Posts: 1737
  • Reasonable works, ...
Bit stressed here, lol.
I can try again now, sorry OP.
*WIKI --PCLinuxOS  is great - remember to Donate ! -- *Software Updates

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11533
  • ----IOFLU----
Bit stressed here, lol.
I can try again now, sorry OP.

Wasn't my computer you destroyed!  ;D ;D ;D ;D
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Tony

  • Hero Member
  • *****
  • Posts: 1737
  • Reasonable works, ...
Bit stressed here, lol.
I can try again now, sorry OP.

Wasn't my computer you destroyed!  ;D ;D ;D ;D
hehe, Yeah !
I think we have some good news  ;D

Just the last bit so you can see it all happened, and the Result.

p
Partition number (1-4, default 3):
Using default value 3
First sector (45090816-80293247, default 45090816):
Using default value 45090816
Last sector, +sectors or +size{K,M,G} (45090816-80293247, default 80293247):
Using default value 80293247

Command (m for help): p

Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x294e53ac

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     3147775     1572864   82  Linux swap / Solaris
/dev/sda2         3147776    45090815    20971520   83  Linux
/dev/sda3        45090816    80293247    17601216   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root@localhost guest]# fdisk -l

Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x294e53ac

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     3147775     1572864   82  Linux swap / Solaris
/dev/sda2         3147776    45090815    20971520   83  Linux
/dev/sda3        45090816    80293247    17601216   83  Linux
[root@localhost guest]#



*WIKI --PCLinuxOS  is great - remember to Donate ! -- *Software Updates

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11533
  • ----IOFLU----
francis:

Looks just like a partition table. ;D

While you're there;

[root@localhost guest]# mkswap -L swap40 /dev/sda1             <Enter>

[root@localhost guest]# mke2fs -t ext4 -L minime /dev/sda2                <Enter>

[root@localhost guest]# mke2fs -t ext4 -L home /dev/sda3                <Enter>

At which point all three partitions will be formatted with the proper filesysem for each, and each will have a label, which we can use later for your menu.lst and fstab entries.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Tony

  • Hero Member
  • *****
  • Posts: 1737
  • Reasonable works, ...
Thanks so much OP.
So once I've run those commands can we resume later, as I probably will have to go in the next 10 to 20 mins. (Kids)
Do I just shut down after running the three commands ? I'm using the Live CD.

I'm a bit shaky, everything happens at once it seems !

Running commands ...
*WIKI --PCLinuxOS  is great - remember to Donate ! -- *Software Updates

Offline Tony

  • Hero Member
  • *****
  • Posts: 1737
  • Reasonable works, ...
[root@localhost guest]# mkswap -L swap40 /dev/sda1
Setting up swapspace version 1, size = 1572860 KiB
LABEL=swap40, UUID=82bace0a-cdf3-4f26-a43f-73e31916122d
[root@localhost guest]# mke2fs -t ext4 -L minime /dev/sda2
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=minime
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1310720 inodes, 5242880 blocks
262144 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
160 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
   32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
   4096000

Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[root@localhost guest]# mke2fs -t ext4 -L home /dev/sda3
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=home
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1101600 inodes, 4400304 blocks
220015 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
135 block groups
32768 blocks per group, 32768 fragments per group
8160 inodes per group
Superblock backups stored on blocks:
   32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
   4096000

Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 35 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

[root@localhost guest]# fdisk -l

Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x294e53ac

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     3147775     1572864   82  Linux swap / Solaris
/dev/sda2         3147776    45090815    20971520   83  Linux
/dev/sda3        45090816    80293247    17601216   83  Linux
[root@localhost guest]#



Wow ! so glad to get that done. Phones ringing (of course), just don't want to BORK the SYSTEM, I believe the Partitions are done, YeeHaw !!

Quote
At which point all three partitions will be formatted with the proper filesysem for each, and each will have a label, which we can use later for your menu.lst and fstab entries.
So, I just shutdown, and we can continue the menu.lst and fstab entries later, when you are around ? ( I hate asking for help, there's a cheque in the mail  ;D )
Thanks OP, you're a Champion !
Sorry, feel I've put a lot of pressure on everyone !
« Last Edit: July 19, 2011, 10:04:33 PM by francis »
*WIKI --PCLinuxOS  is great - remember to Donate ! -- *Software Updates