PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 07:26:57 PM


Login with username, password and session length


Pages: [1] 2   Go Down
  Print  
Author Topic: [SOLVED] need help-installing pclos on hd  (Read 970 times)
dynosis
Jr. Member
**
Offline Offline

Posts: 17


« on: October 30, 2011, 11: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
Logged
marcin82
Full Member
***
Offline Offline

Posts: 112


Metal is forever! // Yoda Królem Polski!


« Reply #1 on: October 30, 2011, 12:20:36 PM »

Quote
which has another distro on first partition.
What distro?
Logged

marcin82
dynosis
Jr. Member
**
Offline Offline

Posts: 17


« Reply #2 on: October 30, 2011, 12:26:44 PM »

sorry. ok  my mistake
3rd disk i have another distro 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?
Logged
marcin82
Full Member
***
Offline Offline

Posts: 112


Metal is forever! // Yoda Królem Polski!


« Reply #3 on: October 30, 2011, 12:37:13 PM »

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".
Logged

marcin82
dynosis
Jr. Member
**
Offline Offline

Posts: 17


« Reply #4 on: October 30, 2011, 12:44:17 PM »



Help, please
Logged
marcin82
Full Member
***
Offline Offline

Posts: 112


Metal is forever! // Yoda Królem Polski!


« Reply #5 on: October 30, 2011, 01: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:
/etc/grub.d/40_custom
It look like this:
Code:
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:
update-grub
Logged

marcin82
dynosis
Jr. Member
**
Offline Offline

Posts: 17


« Reply #6 on: October 30, 2011, 01:33:31 PM »

thank you. i will try it now , i will update you later. i hope i do it right!

again thank you
Logged
dynosis
Jr. Member
**
Offline Offline

Posts: 17


« Reply #7 on: October 30, 2011, 02: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 another distro 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.
Logged
marcin82
Full Member
***
Offline Offline

Posts: 112


Metal is forever! // Yoda Królem Polski!


« Reply #8 on: October 30, 2011, 02:20:28 PM »

Does *buntu start properly? Does Grub2 work properly? Run *buntu and show result of command:
Code:
sudo fdisk -l
Write, on which of partition of /dev/sdc did you install PCLinuxOS?
Logged

marcin82
dynosis
Jr. Member
**
Offline Offline

Posts: 17


« Reply #9 on: October 30, 2011, 02: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 another distro 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
Logged
marcin82
Full Member
***
Offline Offline

Posts: 112


Metal is forever! // Yoda Królem Polski!


« Reply #10 on: October 30, 2011, 02:41:06 PM »

What is "Amoeba"? Cheesy Is PCLinuxOS on /dev/sdc6?
Run *buntu and edit following file (I wrote about that in previous posts):
Code:
sudo gedit/etc/grub.d/40_custom
Add the following menuentry:
Code:
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:
sudo update-grub

Feedback if you can run PCLinuxOS?
Logged

marcin82
dynosis
Jr. Member
**
Offline Offline

Posts: 17


« Reply #11 on: October 30, 2011, 03: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    (another distro)


i am going something wrong?
Logged
marcin82
Full Member
***
Offline Offline

Posts: 112


Metal is forever! // Yoda Królem Polski!


« Reply #12 on: October 30, 2011, 03:06:43 PM »

Sorry, my fault:
Code:
sudo gedit /etc/grub.d/40_custom
Logged

marcin82
dynosis
Jr. Member
**
Offline Offline

Posts: 17


« Reply #13 on: October 30, 2011, 03: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??
Logged
marcin82
Full Member
***
Offline Offline

Posts: 112


Metal is forever! // Yoda Królem Polski!


« Reply #14 on: October 30, 2011, 03:31:06 PM »

Log into PCLinuxOS by using username and password. You've setup your user during installation.
Logged

marcin82
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM