| View previous topic :: View next topic |
| Author |
Message |
haleh Tux's lil' helper


Joined: 06 Jul 2012 Posts: 127
|
Posted: Fri Jul 13, 2012 2:57 pm Post subject: |
|
|
| Code: | #mount /dev/sda4 /mnt/gentoo/boot
mount:unknown filesystem 'ext2'
#qlist -I -C x11-base/
-bash:qlist command not found |
|
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Fri Jul 13, 2012 3:17 pm Post subject: |
|
|
| haleh wrote: | | Code: | #mount /dev/sda4 /mnt/gentoo/boot
mount:unknown filesystem 'ext2'
#qlist -I -C x11-base/
-bash:qlist command not found |
|
The mount:unknown filesystem 'ext2' is a problem Did you enable ex2 in the kernel
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
│ │ <*> Second extended fs support │ │
│ │ [ ] Ext2 extended attributes │ │
│ │ [ ] Ext2 execute in place support │ │
│ │ <*> Ext3 journalling file system support │ │
│ │ [ ] Default to 'data=ordered' in ext3 │ │
│ │ [*] Ext3 extended attributes │ │
│ │ [*] Ext3 POSIX Access Control Lists │ │
│ │ [*] Ext3 Security Labels │ │
│ │ <*> The Extended 4 (ext4) filesystem │ │
│ │ [*] Ext4 extended attributes │ │
│ │
Check it and make sure they're built-in i.e. with the '*' not 'm' _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
haleh Tux's lil' helper


Joined: 06 Jul 2012 Posts: 127
|
Posted: Fri Jul 13, 2012 3:26 pm Post subject: |
|
|
bill,
│ │ [ ] Ext2 extended attributes │ │
│ │ [ ] Ext2 execute in place support │ │
my kernel doesn't have these two options !!!! How it can be possible ?? |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Fri Jul 13, 2012 3:52 pm Post subject: |
|
|
haleh,
I think I'm getting confused here as I'm working on by boot problem.
What live cd are you using Actually since you're not booting native it shouldn't have anything to do with the kernel settings at this point
However, sda4 has to mount to get the kernel there. It mounted yesterday
Enter this and paste back mount|grep sda
| Code: | mount /dev/sda6 /mnt/gentoo
mount /dev/sda4 /mnt/gentoo/boot
|
make sure you have /mnt/gentoo and /mnt/gentoo/boot under /mnt _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
haleh Tux's lil' helper


Joined: 06 Jul 2012 Posts: 127
|
Posted: Fri Jul 13, 2012 4:36 pm Post subject: |
|
|
Bill,
Thanks for your effort for helping me,but I think these problems are from the base of my gentoo,and these are just for my livecd,I installed this step by step according to the handbook I mount all of the paritions ,but nothing has changed I should download gentoo 12.1 from www.gentoo.org and install it again ,I am sad to waste your time,I really thank you for spending your time in order to help me ,really thank you and also I learn lots of things from you !!!
everysecond is the new time to learn !!!!
best wishes for you my dear friend  |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Fri Jul 13, 2012 4:49 pm Post subject: |
|
|
haleh,
I'm at a loss with all the idiosyncrasies you're experiencing like not being able to mount /boot now
Maybe it would be a good idea to start from scratch. It might be easier now that you've already gone through it.
Just a suggestion - you might want to use something like this http://www.linuxmint.com/download_lmde.php for the live cd.
You're not limited to the gentoo media to install gentoo. Just make sure you use the same architecture (x86 or x86_64) as the gentoo installation.
You'll get it  _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
wcg Guru

Joined: 06 Jan 2009 Posts: 548
|
Posted: Sun Jul 15, 2012 3:25 pm Post subject: |
|
|
That /dev/root alias created by udev at boot is obscuring things.
After running
(from a root login), run
to show what partition is really mounted on / at boot (and/or
what partition is really mounted on / after a chroot if you
are still in the chrooted install environment.)
You need to have emerged portage-utils to have
the qlist command.
One other question: your install cd is using kernel 3.2.something.
How (or why) did you end up installing the sources for kernel
2.6.34-something?
(I am thinking even if you get this all working, you might end
up with a mismatch between the installed linux-headers
package, which tends to get updated along with the latest
stable kernel, and the kernel that you are running. This will
produce a lot of strange, hard to figure out errors, because
glibc, util-linux, and so on will be using header data type
definitions from a later kernel and expecting an earlier
kernel where some of those data type definitions are
different or missing altogether to still execute the system
calls used by those libraries and applications the same way.)
You might want to skip 2.6.34 and jump to 3.2.12, which has
been stable for me. (Different hardware, so that does not mean
it will necessarily be stable for you, but it could easily be more
stable for you than 2.6.34-r[whatever].) _________________ TIA |
|
| Back to top |
|
 |
haleh Tux's lil' helper


Joined: 06 Jul 2012 Posts: 127
|
Posted: Sun Jul 15, 2012 6:21 pm Post subject: |
|
|
@wcg :Thanks for your reply !!
I reinstall my gentoo but I have same problem because my installation method was the same and I did some thing wrong I think you are exactly right about my problem when I run your command I see :
| Code: | | lrwxrwxrwx 1 root root 4 Jul 15 22:34 /dev/root -> sda7 |
my partitions are /dev/sda5 boot
/dev/sda6 swap
/dev/sda7 root
you know I followed handbook step by step ,I ran these command according to it and I think it makes these problem .my real kernel is 3.2.21-gentoo
| Code: | | #cp arch/x86/boot/bzImage /boot/kernel-2.6.34-gentoo-r1 |
and I also use it in my grub !!!
How can I fix it ?? |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Sun Jul 15, 2012 9:11 pm Post subject: |
|
|
haleh,
You're literally copying and pasting from the example. You should change it to cp arch/x86/boot/bzImage /boot/kernel-3.2.21-gentoo so it's less confusing  _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
haleh Tux's lil' helper


Joined: 06 Jul 2012 Posts: 127
|
Posted: Sun Jul 15, 2012 9:20 pm Post subject: |
|
|
,I knew that my kernel is what but handbook get me confused ,it is very helpful but somehow confusing  |
|
| Back to top |
|
 |
wcg Guru

Joined: 06 Jan 2009 Posts: 548
|
Posted: Fri Jul 20, 2012 9:59 pm Post subject: |
|
|
Right, the last time that part of the handbook was updated,
2.6.34 was the current stable kernel (the -r[digit] part at
the end is just some minor, Gentoo-specific fixes for the
code, for the genkernel build scripts, for the install scripts,
and so on.)
The version part of the name of the kernel when copied to
/boot/ or included in a grub kernel command in grub.conf
is like "[your name here]" ("[version name here]").
It is only for your information when choosing from the
grub menu, when looking at a directory listing in /boot/,
and so on. It is only necessary that the filename for
that kernel bzImage in /boot/ and the filename for that
kernel bzImage in grub.conf are the same.
Ok, so you are really running a stable kernel, the version
whose source tree is installed in /usr/src/ that you compiled
the bzImage from. Your real root directory after boot is
/dev/sdc7, the one you actually want.
When you reboot, you get a login prompt, and you can
login as root, or as any other user whose account you
have created with useradd.
So you login as root. You are in your home directory.
I assume that everything is ok at this point, because
you were able to chdir into the kernel source directory
and configure and compile a bzImage.
You copy the bzImage into /boot/ (named appropriately),
you add an entry to /boot/grub/grub.conf so that grub
can find your new kernel, and you reboot, selecting
the new kernel. You are back at the login prompt, and
you login.
Then what goes wrong? _________________ TIA |
|
| Back to top |
|
 |
haleh Tux's lil' helper


Joined: 06 Jul 2012 Posts: 127
|
Posted: Mon Jul 23, 2012 10:45 am Post subject: |
|
|
I did that but the output of mount hadn't changed yet ,it make me crazy !I reinstall gentoo again and fixed my mistakes but nothing has changed,what is wrong ??
it is the result of mount the same as before :
http://www.bpaste.net/show/36376/ |
|
| Back to top |
|
 |
wcg Guru

Joined: 06 Jan 2009 Posts: 548
|
Posted: Mon Jul 23, 2012 4:28 pm Post subject: |
|
|
So the boot partition is not getting mounted at boot.
| Code: |
fgrep "/boot" /etc/fstab
|
Is there any output?
----
(Here is the output of that command on a machine of mine
where /dev/sda5 is the boot partition:
| Code: |
/dev/sda5 /boot ext3 noatime,nodev,nosuid,ro,sync 0 2
|
Everything after "ext3" is optional, arguments to the mount command
that I happen to use when mounting the boot partition on the
/boot/ directory at system boot. You can look them up with "man mount".
The two digits at the end have to do with the order of filesystem
checking at system startup. "man fstab" to see what they do. Since
I mount the boot partition read-only, I need to remount it rw before
copying anything in to there or editing grub.conf, with the mount
command's "remount" argument. Even the "ext3" is really optional,
one could replace it with "auto" and have the mount command
auto-detect the filesystem type.
Ignore the "/dev/root" output of mount. It is a symbolic link to
a real device created by udev in the /dev/ directory for obscure
reasons. Seeing it there does not mean that the wrong partition
is mounted on /.) _________________ TIA |
|
| Back to top |
|
 |
haleh Tux's lil' helper


Joined: 06 Jul 2012 Posts: 127
|
Posted: Tue Jul 24, 2012 2:04 pm Post subject: |
|
|
@wcg :Thanks for your help ,it fixed now my boot partition is also mounted ,there were some problems in my fstab !
I face new error when I want to emerge gnome it won't emerge ,the same as what happened before for Xorg-server ,my sdas are mounted so why doesn't emerge work ?? |
|
| Back to top |
|
 |
|