The installer doesn't recognize my partitions

Installer Issues via Installer -- Not for global upgrades or upgrading individual packages -- ONLY ISSUES WITH INSTALLATION OF THE OS -- Can't get Sabayon installed, than post here, otherwise use correct forums

Moderator: Moderators

The installer doesn't recognize my partitions

Postby Tave » Wed Oct 07, 2009 18:23

Hey guys, here's is the problem: It's a while I've been trying to install from the LiveDVD without success, and I've been having this very same issue with both version 4.2 and 5.0.

Here's a pic with some useful info:

Image

As you can see, I have 2 drives and both of them are connected to the VIA controller (in the manual is reported to be as the one integrated in the southbridge). My partitioning setup is as follows:

/dev/sda1 contains Slackware
/dev/sda2 is empty
/dev/sda3 is empty
/dev/sdb1 is the swap partition
/dev/sdb2 is a "storage" partition

I gave all of them the ext4 filesystem, except for the swap partition obviously.

Now, the first time I tried to install Sabayon (it was the 4.2 version) in /dev/sda2, I noticed something was wrong, because:
- the installer didn't recognize the first hard disk properly (with its partitions);
- the installer did recognize the second hard disk, but with some kind of free space after the "storage partition", which obviously doesn't exist (I think it is because of the not-recognized first hard disk);

I didn't take this seriously and I just installed everything right away (bootloader included).
I rebooted, but GRUB couldn't find the files on the Hard Disk.
Then I booted again the LiveDVD and checked the situation with fdisk, and I noticed that the partition table of the first disk was damaged and all the data on it was lost. Thank god I made a backup of all my personal files on a USB drive.
Anyway, I had to try again. After at least other 4 full installations, in which I'm sure I correctly rebuilt the partition table of my disks each time (I even tried the auto-partitioning tool of the installer, but it gave the same result), I started googling the strange /dev/mapper/pdc_* naming of the hard drives that the Sabayon installer gave me, but I wasn't able to find out much.

The only thing I suspected is that it had something to do with the Promise controller on the mobo (that anyway I don't use, so it would hardly make sense).

So when Sabayon 5.0 came out I decided to give it a try again. I backed up everything, disabled the damned Promise controller on the BIOS (the MOBO is an Asus K8V SE Deluxe), booted into the LiveDVD, and it installed everything without gaving me errors, but when I rebooted: boom! Corrupted partition table on the first drive and all data on /dev/sda1 lost.

I also tried to:
- install on /dev/sdb2 instead of /dev/sda2
- update the installer (I was desperate)
- swap the disk order in the bios
- go through the text installation
- call my mom (lol)
but nothing could solve the problem. All the times, I get this strange naming scheme of the hard drives, the data on the first disk gets corrupted, the installer creates a non-existing partition after /dev/sdb1 (a /dev/sdb2 that I noticed only with fdisk) and in the end I just can't make Sabayon work.
Plus, the fact that I had this same issue on both 4.2 version and 5.0 version makes me think that it could be a problem related with the installer itself, because fdisk launched from the LiveDVD can see /dev/sda1 /dev/sda2 and /dev/sda3 correctly and I never had a problem when I installed Ubuntu or Slackware. Even when I installed Gentoo from a stage3 (a nearly-traumatic experience for a newbie, lol) the system booted fine.

Thanks in advance.

PS: go easy on my grammar. I know it's not perfect, but english is not my primary language since I'm from Italy ^^
Tave
Baby Hen
 
Posts: 3
Joined: Wed Oct 07, 2009 17:22

Re: The installer doesn't recognize my partitions

Postby Richlion » Thu Oct 08, 2009 13:12

Hi,

I am not a hard drive guru. However I think SL installation is a bit confused when there are more disks connected. Do you really need both disks connected during the installation? Are you installing everything on one disk?

I had a similar problem - 3 drives in my computer connected (2 Sata and 1 IDE) and my USB stick plugged in. The installer would come up with odd messages, I had problems partitioning, so I opened my box, unplugged the power cords from the drives I didn't need and the installation was perfect.

Regards,
Richard
Richlion
Technological Hen
 
Posts: 393
Joined: Sun Nov 11, 2007 2:19
Location: Manchester

Re: The installer doesn't recognize my partitions

Postby Tave » Thu Oct 08, 2009 18:06

Richlion wrote:Hi,

I am not a hard drive guru. However I think SL installation is a bit confused when there are more disks connected. Do you really need both disks connected during the installation? Are you installing everything on one disk?

I had a similar problem - 3 drives in my computer connected (2 Sata and 1 IDE) and my USB stick plugged in. The installer would come up with odd messages, I had problems partitioning, so I opened my box, unplugged the power cords from the drives I didn't need and the installation was perfect.

Regards,
Richard


I actually do need both of my hard drives connected, because the swap partition is on the first partition of the second drive, while the root partition is the second one in the first drive. Plus, I really don't want to open the box if it's not absolutely necessary.

Anyway, I'm starting to think it could be a problem related with Anaconda, because I tried to install Fedora and it gave me the same strange naming scheme.
Tave
Baby Hen
 
Posts: 3
Joined: Wed Oct 07, 2009 17:22

Re: The installer doesn't recognize my partitions

Postby Fitzcarraldo » Thu Oct 08, 2009 18:51

If I understand you correctly, you're actually trying to do the partitioning using Anaconda? If that is the case, have you tried partitioning first using e.g. GParted and then running the installer and just installing to the existing partitions? Or have I misunderstood what you're trying to do?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: The installer doesn't recognize my partitions

Postby Tave » Fri Oct 09, 2009 13:54

Fitzcarraldo wrote:If I understand you correctly, you're actually trying to do the partitioning using Anaconda? If that is the case, have you tried partitioning first using e.g. GParted and then running the installer and just installing to the existing partitions? Or have I misunderstood what you're trying to do?


I'm not trying to do the partitioning with Anaconda, because I have already created all the partitions with fdisk while installing Slackware. The problem is that no matter what kind of partitioning scheme I use, the first drive and its partitions are not recognized. I even tried to boot the LiveDVD with the additional parameter "nodmraid", but it still didn't work.
Tave
Baby Hen
 
Posts: 3
Joined: Wed Oct 07, 2009 17:22


Return to Installer Issues - Calamares **Not for Package Manager Stuff**

Who is online

Users browsing this forum: No registered users and 1 guest