Author Topic: [SOLVED] need help-installing pclos on hd  (Read 1622 times)

Offline dynosis

  • Jr. Member
  • **
  • Posts: 22
[SOLVED] need help-installing pclos on hd
« on: October 30, 2011, 10:53:03 AM »
i want to install pclinuxos on my hd which has another distro on first partition. and win xp on 1st disk, win7 on 2 hd, so on 3rd disk is where i am wanting to do the install.

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x133f133e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   488375999   244187968+   7  HPFS/NTFS/exFAT

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 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: 0x01940193

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              64   156296384    78148160+   7  HPFS/NTFS/exFAT

Disk /dev/sdc: 40.1 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders, total 78242976 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: 0x00066ba3

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        2048    39180287    19589120   93  Amoeba
/dev/sdc2        39182283    43085823     1951770+   f  W95 Ext'd (LBA)
/dev/sdc5        39182336    43085823     1951744   82  Linux swap / Solaris
dynosis@dynosis-MS-6712:~$

i am using grub2 to boot into all my os's.
i am asking for help before i mess up my setup. help would be much appreciated.

i would like to know the setup i need to install pclinuxos on 3rd disk after another distro

thanks
« Last Edit: December 07, 2011, 02:23:42 AM by Texstar »

Offline marcin82

  • Full Member
  • ***
  • Posts: 128
  • Jest wirek - jest impreza ;]
Re: need help-installing pclos on hd
« Reply #1 on: October 30, 2011, 11:20:36 AM »
Quote
which has another distro on first partition.
What distro?
marcin'82

Offline dynosis

  • Jr. Member
  • **
  • Posts: 22
Re: need help-installing pclos on hd
« Reply #2 on: October 30, 2011, 11:26:44 AM »
sorry. ok  my mistake
3rd disk i have ubuntu on first partition , i want to install pclinuxos on the rest of unallocated space of 3rd  disk.
on 3rd disk i have /, extended and swap. i want to know what to know how to partition unallocated space?

Offline marcin82

  • Full Member
  • ***
  • Posts: 128
  • Jest wirek - jest impreza ;]
Re: need help-installing pclos on hd
« Reply #3 on: October 30, 2011, 11:37:13 AM »
Run any Linux livecd with GParted application. Take screenshot when GParted is running, at the right top in GParted switch to /dev/sdc. Paste on http://postimage.org, here paste link "thumbnail for forum".
« Last Edit: October 30, 2011, 11:45:11 AM by marcin82 »
marcin'82

Offline dynosis

  • Jr. Member
  • **
  • Posts: 22
Re: need help-installing pclos on hd
« Reply #4 on: October 30, 2011, 11:44:17 AM »


Help, please
« Last Edit: October 30, 2011, 12:09:18 PM by dynosis »

Offline marcin82

  • Full Member
  • ***
  • Posts: 128
  • Jest wirek - jest impreza ;]
Re: need help-installing pclos on hd
« Reply #5 on: October 30, 2011, 12:24:27 PM »
On the unallocated area => Right Mouse Button => New => Logical => Ext4. And as follows:
1. 10 GB for " / " (system);
2. The rest of area (GB) for "/home" (user's directory).
3. Swap may be the same, which already exists.
=========
PCLinuxOS will install his own Grub (0.97) => Install it on the MBR of /dev/sdc (default, but you must check it out in installation process). Now I have very important question: Where did you install Grub 2 from *buntu? (/dev/sda, /dev/sdb, or /dev/sdc) AND which one of your disks (sda, sdb, sdc) is the first boot device in BIOS? If Grub2 is installed on MBR /dev/sdc you should to recover it from chroot and livecd after PCLinuxOS' installation.
======
If your computer boot from /dev/sda, after installation of PCLinuxOS, you simply add its menuentry to file:
Code: [Select]
/etc/grub.d/40_customIt look like this:
Code: [Select]
menuentry "PCLinuxOS 2011" {
set root=(hdX,X)
linux /boot/vmlinuz
initrd /boot/initrd.img
}
X,X - number of disk and partition - Grub2 counts HDD from "zero" and partitions from "one".
Save changes and run (as root):
Code: [Select]
update-grub
« Last Edit: October 30, 2011, 12:28:27 PM by marcin82 »
marcin'82

Offline dynosis

  • Jr. Member
  • **
  • Posts: 22
Re: need help-installing pclos on hd
« Reply #6 on: October 30, 2011, 12:33:31 PM »
thank you. i will try it now , i will update you later. i hope i do it right!

again thank you

Offline dynosis

  • Jr. Member
  • **
  • Posts: 22
Re: need help-installing pclos on hd
« Reply #7 on: October 30, 2011, 01:12:20 PM »
i installed PCLOS as per above. Now i cannot boot into PCLOS. grub2 is installed on sdc, the 1st line boots to ubuntu and the last line says win7.

please help, i am a noob when it comes to command line entries, forget about understanding booting process.
your help is much appreciated.

Offline marcin82

  • Full Member
  • ***
  • Posts: 128
  • Jest wirek - jest impreza ;]
Re: need help-installing pclos on hd
« Reply #8 on: October 30, 2011, 01:20:28 PM »
Does *buntu start properly? Does Grub2 work properly? Run *buntu and show result of command:
Code: [Select]
sudo fdisk -lWrite, on which of partition of /dev/sdc did you install PCLinuxOS?
« Last Edit: October 30, 2011, 01:26:08 PM by marcin82 »
marcin'82

Offline dynosis

  • Jr. Member
  • **
  • Posts: 22
Re: need help-installing pclos on hd
« Reply #9 on: October 30, 2011, 01:32:21 PM »
   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        2048    39180287    19589120   93  Amoeba
/dev/sdc2        39182283    78236549    19527133+   f  W95 Ext'd (LBA)
/dev/sdc5        39182336    43085823     1951744   82  Linux swap / Solaris
/dev/sdc6        43086393    63553139    10233373+  83  Linux
/dev/sdc7        63553203    67633649     2040223+  82  Linux swap / Solaris
/dev/sdc8        67633713    78236549     5301418+  83  Linux

i presume its on sdc1.
yes ubuntu booted fine and grub bootloader was unchanged, liked i never installed PCLOS.
p.s. when i go in ter and type grub it says grub not installed?? why

Offline marcin82

  • Full Member
  • ***
  • Posts: 128
  • Jest wirek - jest impreza ;]
Re: need help-installing pclos on hd
« Reply #10 on: October 30, 2011, 01:41:06 PM »
What is "Amoeba"? :D Is PCLinuxOS on /dev/sdc6?
Run *buntu and edit following file (I wrote about that in previous posts):
Code: [Select]
sudo gedit/etc/grub.d/40_customAdd the following menuentry:
Code: [Select]
menuentry "PCLinuxOS 2011" {
set root=(hd2,6)
linux /boot/vmlinuz
initrd /boot/initrd.img
}

File must look like this [my file from Debian]:
Quote
marcin@debian:~$ cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "PCLinuxOS 2011" {
set root=(hdX,X)
linux /boot/vmlinuz
initrd /boot/initrd.img

Save changes and run:
Code: [Select]
sudo update-grub
Feedback if you can run PCLinuxOS?
« Last Edit: October 30, 2011, 01:53:39 PM by marcin82 »
marcin'82

Offline dynosis

  • Jr. Member
  • **
  • Posts: 22
Re: need help-installing pclos on hd
« Reply #11 on: October 30, 2011, 02:03:03 PM »
dynosis@dynosis-MS-6712:~$ sudo gedit/etc/grub.d/40_custom
[sudo] password for dynosis:
sudo: gedit/etc/grub.d/40_custom: command not found
dynosis@dynosis-MS-6712:~$

amoeba = another distro    (ubuntu)


i am going something wrong?
« Last Edit: October 30, 2011, 02:06:58 PM by dynosis »

Offline marcin82

  • Full Member
  • ***
  • Posts: 128
  • Jest wirek - jest impreza ;]
Re: need help-installing pclos on hd
« Reply #12 on: October 30, 2011, 02:06:43 PM »
Sorry, my fault:
Code: [Select]
sudo gedit /etc/grub.d/40_custom
marcin'82

Offline dynosis

  • Jr. Member
  • **
  • Posts: 22
Re: need help-installing pclos on hd
« Reply #13 on: October 30, 2011, 02:25:56 PM »
THANK YOU SO MUCH.
it works very well.
Now, i am stuck at login. i write root then root again and it brings me to a
#
thats where i am stuck at. what to do to get in??

Offline marcin82

  • Full Member
  • ***
  • Posts: 128
  • Jest wirek - jest impreza ;]
Re: need help-installing pclos on hd
« Reply #14 on: October 30, 2011, 02:31:06 PM »
Log into PCLinuxOS by using username and password. You've setup your user during installation.
marcin'82