problem with installation

Non release banter
dacq
Black ninja
Black ninja
Posts: 31
Joined: 13 Dec 2013, 19:00
Distribution: 2.1
Location: uk

problem with installation

Post#1 by dacq » 27 Sep 2014, 12:17

I have a SATA drive (sda) & installed a Linux operating system on my second SATA drive, sdb5. Booting to that operating system I then used Unetbootin to do a frugal installation of Porteus. When I tried to boot to Porteus it gave an error saying there was no hd(1,4) partition.

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: problem with installation

Post#2 by francois » 27 Sep 2014, 13:30

Which bootloader (grub legacy, grub2 ...) did you used for the booting of these two hdd? What is the output of fdisk -l in command line? When you are on another os installation, do you see the /porteus folder? What other os do you have on these hdd?

Installing porteus on hdd should be really simple:
1) format a partition with ext4
2) mloop the porteus iso
3) copy the /boot and /porteus folder on the partition
4) provide a menu entry the actual bootloader (which was in your case?)
or
5) install a new bootloader (personally I prefer grub legacy or grub2, but it seems that syslinux and other could also do the job) depending on the nature of the already installed os. For example, if you have ubuntu and debian and windows, grub2 would be more simple to install as grub2 will recognize them all out of the box.
Prendre son temps, profiter de celui qui passe.

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: problem with installation

Post#3 by Ed_P » 27 Sep 2014, 13:45

It sounds like Unetbootin doesn't support Porteus. Have you tried Easy2boot? It supports Porteus.
Ed

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: problem with installation

Post#4 by francois » 27 Sep 2014, 13:53

@Ed:
What is the interest to add persistance to porteus which works with persistence already?
Prendre son temps, profiter de celui qui passe.

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: problem with installation

Post#5 by Ed_P » 27 Sep 2014, 13:59

@Francois

?
Ed

dacq
Black ninja
Black ninja
Posts: 31
Joined: 13 Dec 2013, 19:00
Distribution: 2.1
Location: uk

Re: problem with installation

Post#6 by dacq » 27 Sep 2014, 20:38

I have already used Unetbootin to successfully do a frugal installation of Porteus on the first drive (inside Mandriva Linux). Grub1 is used.

The Porteus folder is there but fdisk -l gives an error message.

dacq
Black ninja
Black ninja
Posts: 31
Joined: 13 Dec 2013, 19:00
Distribution: 2.1
Location: uk

Re: problem with installation

Post#7 by dacq » 27 Sep 2014, 20:40

(Mandriva Linux) is on both drives.

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: problem with installation

Post#8 by francois » 27 Sep 2014, 21:23

Please provide the full output of fdisk -l.
Thanks.
Prendre son temps, profiter de celui qui passe.

dacq
Black ninja
Black ninja
Posts: 31
Joined: 13 Dec 2013, 19:00
Distribution: 2.1
Location: uk

Re: problem with installation

Post#9 by dacq » 27 Sep 2014, 22:31

As I said "fdisk -l" only gives an error message.

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: problem with installation

Post#10 by Slaxmax » 27 Sep 2014, 22:45

dacq wrote:As I said "fdisk -l" only gives an error message.
Only root can execute fdisk (password toor)

Code: Select all

guest@porteus:/mnt/sda2$ su
Password: 
root@porteus:/mnt/sda2# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: problem with installation

Post#11 by Ed_P » 27 Sep 2014, 22:50

dacq, can you tell us what the error message says?

Slaxmax, I don't find that to be the case.

Code: Select all

guest@porteus:~$ fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x2bd2c32a
 :
 :
etc 
Ed

dacq
Black ninja
Black ninja
Posts: 31
Joined: 13 Dec 2013, 19:00
Distribution: 2.1
Location: uk

Re: problem with installation

Post#12 by dacq » 27 Sep 2014, 23:10

Slaxmax was right. I had to use root in Mandriva.

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00082699

Device Boot Start End Blocks Id System
/dev/sda1 * 1 226 1815313+ 82 Linux swap / Solaris
/dev/sda2 227 19457 154472977 5 Extended
/dev/sda5 227 1259 8297541 83 Linux
/dev/sda6 2425 4848 19470748+ 83 Linux
/dev/sda7 4849 19457 117346761 83 Linux
/dev/sda8 1260 2424 9357831 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 239 1919736 82 Linux swap / Solaris
/dev/sdb2 240 38913 310648905 5 Extended
/dev/sdb5 240 38913 310648873+ 83 Linux

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: problem with installation

Post#13 by brokenman » 28 Sep 2014, 00:58

When I was playing with the same SATA setup (back in the day) I ran into a similar problem. With the ATA interface 28 bits are used for the sector number interface between the operating system, BIOS and the hard disk. This means a hard disk can have a maximum of 2^28 or 268,435,456 sectors of 512 bytes. This puts the ATA interface maximum at 128 GiB or approximately 137.4 GB.

Check if your BIOS has this limitation.
How do i become super user?
Wear your underpants on the outside and put on a cape.

dacq
Black ninja
Black ninja
Posts: 31
Joined: 13 Dec 2013, 19:00
Distribution: 2.1
Location: uk

Re: problem with installation

Post#14 by dacq » 28 Sep 2014, 08:48

There is something else I should mention. When I installed Porteus on the second SATA it gave me a question, something like "Do I want to overwrite vmlinuz?" Yes to all, Yes or No? Normally I never get this question. I chose 'Yes to all' & I could not boot into Porteus or Mandriva.

I then attempted to install Porteus again and got the same question. This time I tried to close the question box by clicking on the X in the top right corner. It was then that I got the "no hd(1,4) partition" error when I tried to boot.

dacq
Black ninja
Black ninja
Posts: 31
Joined: 13 Dec 2013, 19:00
Distribution: 2.1
Location: uk

Re: problem with installation

Post#15 by dacq » 28 Sep 2014, 08:51

My BIOS has no problems with drives above 137Gb.

I used Unetbootin when I successfully installed Porteus on the first SATA drive.

Post Reply