Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't mount extended partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Sat Nov 24, 2012 5:33 pm    Post subject: Can't mount extended partition Reply with quote

I'm trying to install Gentoo on a Acer Aspire One D257 https://support.acer.com/la/en/acerpanam/netbook/2011/Acer/Aspire/AspireOneAOD257/AspireOneAOD257nv.shtml
I downloaded the x86 version, and burned the ISO into a usb pen.

When booting, the GRUB has different options and I select "gentoo". It asks me for the video mode, and I select the 9th option. It asks me for the keyboard layout, and I select mine. But after this, the installation stops when trying to mount /dev/sda4, my extended partition.

Here is my partition table:
/dev/sda1 Windows 7 recovery
/dev/sda2 Another Linux distro
/dev/sda3 Another Linux distro
/dev/sda4 Extended partition
------------/dev/sda5 Here I've like to put Gentoo
------------/dev/sda6 Shared storage space for the three
------------/dev/sda7 Swap
Code:

leonixyz@machine:~$ sudo fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 testine, 63 settori/tracce, 30401 cilindri, totale 488397168 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Identificativo disco: 0x310c2da4

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    27265023    13631488   27  Hidden NTFS WinRE
/dev/sda2   *    27265024    46796799     9765888   83  Linux
/dev/sda3        46796800    76093439    14648320   83  Linux
/dev/sda4        76095486   488394751   206149633    5  Esteso
Partition 4 does not start on physical sector boundary.
/dev/sda5        76095488    95625215     9764864   83  Linux
/dev/sda6        95627264   484491263   194432000   83  Linux
/dev/sda7       484493312   488394751     1950720   82  Linux swap / Solaris
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43560
Location: 56N 3W

PostPosted: Sat Nov 24, 2012 6:01 pm    Post subject: Reply with quote

leonixyz,

Welcome to Gentoo.

You cannot mount an extended partition as it doesn't really exist.
Its a software trick to reserve space on the hard drive for logical partitions, so they won't be overwritten.

Another way to look at it is that the extended partition is a container for logical partitions.

Notice the start locations in your fdisk -l output.
Code:
/dev/sda4        76095486   488394751   206149633    5  Esteso
/dev/sda5        76095488    95625215     9764864   83  Linux
The first logical partition and the extended partition start at the same place.

Tell grub that your Gentoo root is on /dev/sda5
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Sat Nov 24, 2012 6:32 pm    Post subject: Reply with quote

NeddySeagoon, I thinking it is not a GRUB-related problem. As far as I understood system not installed yet:

Quote:
...the installation stops when trying to mount /dev/sda4...


Looks like installation in automated or semi-automated mode, and installation script failed to mount partition for unknown reason.

leonixyz, is your installation was finished and you can't to boot into installed system or you can't install system due mount error?
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Sat Nov 24, 2012 6:39 pm    Post subject: Reply with quote

I tried to pass the "root=/dev/sda5" parameter to the bootloader (I was wrong, it isn't grub but unetbootin) but nothing changes... all partitions are mounted automatically by the installation program.

I'm trying to install Gentoo. No installation was made...
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Sat Nov 24, 2012 6:43 pm    Post subject: Reply with quote

creaker wrote:
...or you can't install system due mount error?


You are right,... I can't begin the installation!

I'm running the minimal installation ISO from this link http://distfiles.gentoo.org/releases/x86/autobuilds/current-iso/ (the first file: install-x86-minimal-20120710.iso)
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Sat Nov 24, 2012 6:47 pm    Post subject: Reply with quote

if you booting Unetbootin media, don't pass any options to bootloader. Select in BIOS your USB stick as first boot device and just boot from stick.
After booting you can start your installation process.
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76

PostPosted: Sat Nov 24, 2012 6:58 pm    Post subject: Reply with quote

It is so!
look at this picture: https://www.dropbox.com/s/19fvso586kutgtz/2012-11-24%2020.17.09.jpg
I can just start the installation process, but at the beginning, right after choosing the video mode and the keyboard layout, it stops and I can not proceed.
It stops while (automatically) trying to mount the partitions...
/dev/sda1 get mounted
/dev/sda2 get mounted
/dev/sda3 get mounted
while trying to mount /dev/sda4 the process get blocked, and I can not terminate it with CTRL+C, I have to brutally power off the machine
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43560
Location: 56N 3W

PostPosted: Sat Nov 24, 2012 8:17 pm    Post subject: Reply with quote

leonixyz,

Start from SystemRescueCD. You can put that onto a USB stick.
Its Gentoo based and needs no extra steps before you can follow the handbook.

I'm using it now to pick up the pieces of my raid5 after loosing one drive too many :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Sat Nov 24, 2012 8:19 pm    Post subject: Reply with quote

leonixyz wrote:
It is so!
look at this picture: https://www.dropbox.com/s/19fvso586kutgtz/2012-11-24%2020.17.09.jpg
I can just start the installation process


it isn't an installation, it is just unsuccessful attempt to boot into liveUSB environment.
If this live iso doesn't works, you can take ANY other liveCD/liveUSB. No matter is it gentoo or some other distro liveCD.
Moreover, if you have any x86 linux installed on your PC, you can boot any of them in single mode and install Gentoo.
Just boot into terminal any possible way and follow gentoo wiki.

Last time I've installed Gentoo I installed it from my Arch Linux system without any kind of liveCD/DVD/USB.
It is very handy. Jump into terminal (Alt+Ctrl+F1) and start you installation. If you need to read wiki, jump back into existing GUI (Alt+Ctrl+F7).
Back to top
View user's profile Send private message
ligang
n00b
n00b


Joined: 08 Oct 2007
Posts: 21

PostPosted: Sat Dec 15, 2012 3:16 pm    Post subject: Reply with quote

hi, I also got into the problem with the same minimal cd.

Is it a bug of minimal installtion or a wrong way to create usb pen?
thanks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43560
Location: 56N 3W

PostPosted: Sat Dec 15, 2012 3:29 pm    Post subject: Reply with quote

ligang,

Do not use the minimalCD. Get System Rescue CD. Its not so minimal, which has the advantage you can read the handbook, get onto RC and install all at the same time. System Rescue CR is provided with a script to install it to a USB stick.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum