Re: [gentoo-user] Some problems while migrating to 64bit
2010/9/15 meino.cra...@gmx.de: thank you for your reply and explanations, Jesus! :) You are welcome. :) The problems are nearly gone in the meanwhile: The HAL-flag was missing for the xorg-sevrer (1.7), after that mouse was recognized and the keyboard was fully functional (with pipes) again. Yes. 1.7 needs USE=hal to be able to use .fdi based configs. Bear in mind what I said in the other mail though: in the future hal will be gone, so save that bookmark for the next time your mouse and keyboard stop working. Fonts: I simply missed to install a couple of fonts. But why they was not in my old world file...dont know. Maybe you installed them manually, that's not uncommon when it comes to fonts. Installing fonts for a given user is a matter of copying them into ~/.fonts/, some desktops like kde might have GUIs to do the same task. -- Jesús Guerrero Botella
Re: [gentoo-user] Booting Gentoo from USB stick
On Wed, Sep 15, 2010 at 08:34:33AM +1000, Jake Moe wrote: On 15/09/10 04:28, YoYo Siska wrote: On Fri, Sep 10, 2010 at 07:29:01AM -0400, David Relson wrote: On Fri, 10 Sep 2010 11:05:12 +0200 J. Roeleveld wrote: On Friday 10 September 2010 10:43:30 Jake Moe wrote: On 10/09/2010 5:27 PM, Maciej Grela wrote: 2010/9/10 Jake Moejakesaddr...@gmail.com: Hello all, I've been thinking about creating a Gentoo USB stick for install and rescue purposes (and, of course, just to see if I could). I've mostly followed the Gentoo handbook (I used a single 4GB partition for the whole system, and no swap). I've used genkernel for the kernel (so I can have a multi-system capable kernel). I've gotten GRUB installed and working. My problem comes in after what I believe is the init process: * Checking root filesystem ... fsck.ext2: No such file or directory while trying to open /dev/sda1 /dev/sda1: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193device * Filesystem couldn't be fixed :( [ !! ] Give root password for maintenance (or type Control-D to continue): If I give the root password, I can find no /dev/sda1. However, mount shows /dev/sda1 on /, and there *is* a /sys/block/sda folders, with a sda1 folder in that as well. It's almost like it had /dev/sda1, but then lost it somehow. Does anyone have any idea what's going on here? Any help would be appreciated. Have you seen http://www.sysresccd.org/Main_Page ? It's based on Gentoo, you could check what they did to boot from a usb stick. Br, Maciej Grela Excellent, thanks for that, I hadn't found it in my previous searches. I'll have a look there. Jake Moe Had a similar issue a while ago when I was playing around with this myself. Take a look at the linux boot parameters. The 'theoretical' part is: You need to let the kernel initialize the USB-stick before trying to access it. (This can take some time) There is a delay-option, just can't remember the proper name off-hand. -- Joost I've got USB booting working in a syslinux environment. A delay of 12 seconds is working for me. The syslinux.cfg stanza I use is: LABEL usb KERNEL linux APPEND rootdelay=12 root=/dev/sda2 The usual way for linux on removable usb sticks / disks is to use LABEL or UUID to identify the disks and not the device names, because they will be different in different computers ;) The downside is that you need an initrd to mount the root partition... I think that the usual initrd generated by genkernel works... If you created the rootfs with: mkfs.ext2 -j -LUSBGentoo /dev/sdXY then you can change the kernel parameter to root=LABEL=USBGentoo and your fstab to: LABEL=USBGentoo / ext3 ... You can also use the uuid of the filesystem, find it out with dumpe2fs -h /dev/sdb2 | grep UUID and then use UUID=XXX instead of LABEL=XXX I never really played around with grub and USB booting, so I use syslinux. I create a small FAT partition with syslinux, kernel and initrd image (it gets also pretty handy when you sometimes need to copy something from a windows machine ;) and a second regular ext3 partition for the rootfs. Basically you would do: - partition the stick, mark the FAT partition as bootable/active - format the partitions: - mkfs.vfat -nUSBData /dev/sdX1 - mkfs.ext2 -j -LUSBGentoo /dev/sdX2 - install syslinux (on the FAT partition): - syslinux /dev/sdX1 - mount /dev/sdX2, install gentoo in the usual way - compile the kernel and initrd, make sure required USB stuff is in the kernel (theoretically it could be as modules in initrd... but in-kernel is safer :) if you are in a hurry, or don't know how to create them, get them from a gentoo livecd ;) don't forget to also copy the modules (/lib/modules-XXX/...) from the livecd to the rootfs. - put the kernel and initrd on the FAT partition (I name them vmlinuz.img and initrd.img) - edit syslinux.cfg (on the FAT partition), see http://syslinux.zytor.com/wiki/index.php/SYSLINUX#How_do_I_Configure_SYSLINUX.3F a very simple one from my USB disk: DEFAULT linux LABEL linux SAY Now booting USBGentoo KERNEL vmlinuz.img APPEND root=LABEL=USBGentoo initrd=initrd.img you might also add rootdelay=10 to the options if the usb stick/disk isn't detected quick enough umount, reboot, set the computer to boot from usb, enjoy... ;) Xorg without a config seems to work pretty well on most computers these days, IIRC the alsa modules for soundcards are also autoloaded, so you don't need any fancy hw detection to have a desktop running from USB stick ;) yoyo BTW there is also a manual way
[gentoo-user] Install Gentoo from a Debian?
Hi guys, I want to try install gentoo, but there no blanks or usb, but there i got a debian(amd64). Can i use this to install gentoo without a doubt? greetings -- Sourcegarden GmbH HR: B-104357 Steuernummer: 37/167/21214 USt-ID: DE814784953 Geschaeftsfuehrer: Mario Scheliga, Rene Otto Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929 Schoenhauser Allee 55, 10437 Berlin
R: [gentoo-user] Install Gentoo from a Debian?
You definitely can. The usual gentoo install is based on the support of another system, being that gentoo or debian makes no difference as long as you can chroot at some point. But i think you might have some problems if you want to install a 32bit gentoo from a 64bit system. If that's not your case you should be safe... Il giorno 15/set/2010 13:26, a...@sourcegarden.de a...@sourcegarden.de ha scritto: Hi guys, I want to try install gentoo, but there no blanks or usb, but there i got a debian(amd64). Can i use this to install gentoo without a doubt? greetings -- Sourcegarden GmbH HR: B-104357 Steuernummer: 37/167/21214 USt-ID: DE814784953 Geschaeftsfuehrer: Mario Scheliga, Rene Otto Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929 Schoenhauser Allee 55, 10437 Berlin
Re: R: [gentoo-user] Install Gentoo from a Debian?
On 09/15/10 13:33, Davide Carnovale wrote: You definitely can. The usual gentoo install is based on the support of another system, being that gentoo or debian makes no difference as long as you can chroot at some point. But i think you might have some problems if you want to install a 32bit gentoo from a 64bit system. If that's not your case you should be safe... Great stuff, thanks for fast answere. Greeting from Germany -- Sourcegarden GmbH HR: B-104357 Steuernummer: 37/167/21214 USt-ID: DE814784953 Geschaeftsfuehrer: Mario Scheliga, Rene Otto Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929 Schoenhauser Allee 55, 10437 Berlin
R: Re: R: [gentoo-user] Install Gentoo from a Debian?
You're welcome! I was just online at the right time =) Il giorno 15/set/2010 13:40, a...@sourcegarden.de a...@sourcegarden.de ha scritto: On 09/15/10 13:33, Davide Carnovale wrote: You definitely can. The usual gentoo install is based o... Great stuff, thanks for fast answere. Greeting from Germany -- *Sourcegarden GmbH* *HR:* B-104357 *Steuernummer:* 37/167/21214*USt-ID* DE814784953 *Geschäftsführer:* Mario Scheliga, Rene Otto Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929 *Adresse:* Schönhauser Allee 55, 10437 Berlin
Re: [gentoo-user] Install Gentoo from a Debian?
2010/9/15 a...@sourcegarden.de a...@sourcegarden.de: Hi guys, I want to try install gentoo, but there no blanks or usb, but there i got a debian(amd64). Can i use this to install gentoo without a doubt? greetings Hello Alex, I installed it from Ubuntu which is similar to Debian. While doing that I did rework the german Wiki page not long ago. http://de.gentoo-wiki.com/wiki/Installation_von_Gentoo_Linux It was helpfull for me. Now it should be even more up-to-date. Al
Re: R: Re: R: [gentoo-user] Install Gentoo from a Debian?
On 09/15/10 13:46, Davide Carnovale wrote: You're welcome! I was just online at the right time =) Il giorno 15/set/2010 13:40, a...@sourcegarden.de a...@sourcegarden.de ha scritto: On 09/15/10 13:33, Davide Carnovale wrote: You definitely can. The usual gentoo install is based o... Great stuff, thanks for fast answere. Greeting from Germany What is about grub2 and gentoo? nerver used before and my Debian already have it. I rember from the last time with ubuntu that i got problem to boot, becources the option do work correctly. i got grub2-1.98+20100804-4 -- Sourcegarden GmbH HR: B-104357 Steuernummer: 37/167/21214 USt-ID: DE814784953 Geschaeftsfuehrer: Mario Scheliga, Rene Otto Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929 Schoenhauser Allee 55, 10437 Berlin
Re: R: Re: R: [gentoo-user] Install Gentoo from a Debian?
What is about grub2 and gentoo? nerver used before and my Debian already have it. I rember from the last time with ubuntu that i got problem to boot, becources the option do work correctly. i got grub2-1.98+20100804-4 You can control the master boot record only from one partition. If Debian already has it (and is your main system) I would adapt it there. If you install it into experimental Gentoo and break it, you will not even be able to boot Debian. Al
Re: R: Re: R: [gentoo-user] Install Gentoo from a Debian?
On 09/15/10 13:56, Al wrote: What is about grub2 and gentoo? nerver used before and my Debian already have it. I rember from the last time with ubuntu that i got problem to boot, becources the option do work correctly. i got grub2-1.98+20100804-4 You can control the master boot record only from one partition. If Debian already has it (and is your main system) I would adapt it there. If you install it into experimental Gentoo and break it, you will not even be able to boot Debian. Al That's not my question, problem was adding Gentoo to grub2 config, it was'nt found by grub2-script and not added to the list. But i will see in a few minutes how it comes. Greeting -- Sourcegarden GmbH HR: B-104357 Steuernummer: 37/167/21214 USt-ID: DE814784953 Geschaeftsfuehrer: Mario Scheliga, Rene Otto Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929 Schoenhauser Allee 55, 10437 Berlin
Re: R: Re: R: [gentoo-user] Install Gentoo from a Debian?
Dnia 2010-09-15, o godz. 13:49:53 a...@sourcegarden.de a...@sourcegarden.de napisał(a): On 09/15/10 13:46, Davide Carnovale wrote: You're welcome! I was just online at the right time =) Il giorno 15/set/2010 13:40, a...@sourcegarden.de a...@sourcegarden.de ha scritto: On 09/15/10 13:33, Davide Carnovale wrote: You definitely can. The usual gentoo install is based o... Great stuff, thanks for fast answere. Greeting from Germany What is about grub2 and gentoo? nerver used before and my Debian already have it. I rember from the last time with ubuntu that i got problem to boot, becources the option do work correctly. i got grub2-1.98+20100804-4 -- Sourcegarden GmbH HR: B-104357 Steuernummer: 37/167/21214 USt-ID: DE814784953 Geschaeftsfuehrer: Mario Scheliga, Rene Otto Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929 Schoenhauser Allee 55, 10437 Berlin I suggest you try first on virtual environment before breaking anything - virtualbox for example... For creating 32bit gentoo on 64bit debian use /usr/bin/linux32 before you chroot to gentoo stage root. So the plan I see is: 1. create gentoo on server (linux32, chroot, compile, emerge -e world, etc). You can always recompile world with another set of CFLAGS if you have different machine, so set CGLAGS for generic 686 2. create experimental environment with debian and compiled gentoo in virtualbox 3. learn about problems (bios, grub, grub2, backup copies) 4. do it :) good luck -- Kacper Kopczyński
Re: [gentoo-user] Install Gentoo from a Debian?
Apparently, though unproven, at 13:49 on Wednesday 15 September 2010, Al did opine thusly: 2010/9/15 a...@sourcegarden.de a...@sourcegarden.de: Hi guys, I want to try install gentoo, but there no blanks or usb, but there i got a debian(amd64). Can i use this to install gentoo without a doubt? greetings Hello Alex, I installed it from Ubuntu which is similar to Debian. While doing that I did rework the german Wiki page not long ago. http://de.gentoo-wiki.com/wiki/Installation_von_Gentoo_Linux It was helpfull for me. Now it should be even more up-to-date. Al You can even do it from Windows if you feel that way inclined. All an installer does is write a bunch of files to known names on a disk. It does absolutely nothing else. All you'd need Windows to do is: have a driver for the filesystem you want Gentoo to run on make valid partitions and filesystems, then write to them run portage correctly This is all the installer ever does. it's also what wubi does. -- alan dot mckinnon at gmail dot com
Re: R: Re: R: [gentoo-user] Install Gentoo from a Debian?
That's not my question, problem was adding Gentoo to grub2 config, it was'nt found by grub2-script and not added to the list. But i will see in a few minutes how it comes. Greeting Grub2 is more complex than Grub1. A whole directory of configurations from which the actual configuration is finally generated. Read some tutorial here. Gentoo wasn't detected automatically from Ubuntu. I needed to configure it manually following the Gentoo handbook. Al
Re: [gentoo-user] Internal error: Maps lock 14270464 unlock 14274560
Valmor de Almeida writes: Filesystem isclean * Remounting root filesystem read/write ... * Setting up the Logical Volume Manager ... Internal error: Maps lock 14270464 unlock 14274560 Internal error: Maps lock 14274560 unlock 14278656 Internal error: Maps lock 14278656 unlock 14282752 Internal error: Maps lock 14282752 unlock 14286848 Internal error: Maps lock 14286848 unlock 14290944 * Setting up dm-crypt mappings ... [snip] Filesystem is clean I don't find other messages in /var/log/messages. Also the system seems to run fine. Has anyone seen these messages? Are they a false positive? I had similar errors when doing LVM stuff (while creating shapshots). They did no harm, and I found some bug report about it saying it's not a big problem, happing in some recent kernel. I'm running 2.6.35-tuxonice-r1 now, and I no longer have them. But that might also have come from an update of lvm2. Wonko
Re: [gentoo-user] HAL permissions? (k3b sees no device at all)
On Tue, Sep 14, 2010 at 7:06 PM, meino.cra...@gmx.de wrote: Hi, while installing my 64bit Gentoo on base on the configuration of 32bit system I came across the problem, that k3b did not see any devices. HAD was running, butL: When hal-devices was executed as user no devices found (none! not single!) was reported, while executing the same command as root works fine. With strace I found that this was due to permissions problems dbus has. I fixed this by removing a section (found by diffing a configuration of and old but working version of dbus) from /etc/dbus-1/system.conf, without really knowing the impact. Now hal-devices also reports to a normal user. I added both system.conf files for your information to this email. org.system.conf is the file, which was originally installed and which does not work. system.conf is the hacked one, which work, but which may do other things (currently unkonw to me) things wrong. What is the correct way to fix permission problems (or access rights) in conjunction with dbus the correct way? Thank you for your help in advance! Best regards, mcc Hello, I had the same problem before migrating my kernel to use ATA instead of deprecated IDE support for disks and cd/dvd drives. After migration, everything is working just fine. -- Andrés Becerra Sandoval
Re: R: Re: R: [gentoo-user] Install Gentoo from a Debian?
That's not my question, problem was adding Gentoo to grub2 config, it was'nt found by grub2-script and not added to the list. But i will see in a few minutes how it comes. Grub2 (or os-prober) can't find Gentoo installs. You have to add it manually or add a script that generates the Gentoo entry blindy.
Re: [gentoo-user] Internal error: Maps lock 14270464 unlock 14274560
On 09/15/2010 07:40 AM, Alex Schuster wrote: Valmor de Almeida writes: Filesystem isclean * Remounting root filesystem read/write ... * Setting up the Logical Volume Manager ... Internal error: Maps lock 14270464 unlock 14274560 Internal error: Maps lock 14274560 unlock 14278656 Internal error: Maps lock 14278656 unlock 14282752 Internal error: Maps lock 14282752 unlock 14286848 Internal error: Maps lock 14286848 unlock 14290944 * Setting up dm-crypt mappings ... [snip] Filesystem is clean I don't find other messages in /var/log/messages. Also the system seems to run fine. Has anyone seen these messages? Are they a false positive? I had similar errors when doing LVM stuff (while creating shapshots). They did no harm, and I found some bug report about it saying it's not a big problem, happing in some recent kernel. I'm running 2.6.35-tuxonice-r1 now, and I no longer have them. But that might also have come from an update of lvm2. Wonko Thanks. Here is what I have at the moment emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r6 x86_64) = System uname: linux-2.6.34-gentoo-r6-x86_64-intel-r-_core-tm-_i7_cpu_l_6...@_2.13ghz-with-gentoo-1.12.13 Timestamp of tree: Sun, 12 Sep 2010 15:45:01 + Maybe the messages will go away next time I sync and update gentoo. -- Valmor
Re: [gentoo-user] machine check exception errors
On Tuesday 14 September 2010 19:16:52 Albert Hopkins wrote: On Tue, 2010-09-14 at 09:45 -0700, Grant wrote: I'm getting a lot of machine check exception errors in dmesg on my hosted server. Running mcelog I get: # mcelog HARDWARE ERROR. This is *NOT* a software problem! [...] Should I just contact the hosting company? Can anyone give me more info on what this means? Bad memory? They are likely better able to help you if it's a hardware problem. It reads as if the error correction in one of the RAM modules is kicking in. Ask them to reseat or replace the bad module - which they will have to find by trial and error. They could hot-swap them and see then the errors stop. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Booting Gentoo from USB stick
On 15/09/10 20:10, YoYo Siska wrote: On Wed, Sep 15, 2010 at 08:34:33AM +1000, Jake Moe wrote: On 15/09/10 04:28, YoYo Siska wrote: On Fri, Sep 10, 2010 at 07:29:01AM -0400, David Relson wrote: On Fri, 10 Sep 2010 11:05:12 +0200 J. Roeleveld wrote: On Friday 10 September 2010 10:43:30 Jake Moe wrote: On 10/09/2010 5:27 PM, Maciej Grela wrote: 2010/9/10 Jake Moejakesaddr...@gmail.com: Hello all, I've been thinking about creating a Gentoo USB stick for install and rescue purposes (and, of course, just to see if I could). I've mostly followed the Gentoo handbook (I used a single 4GB partition for the whole system, and no swap). I've used genkernel for the kernel (so I can have a multi-system capable kernel). I've gotten GRUB installed and working. My problem comes in after what I believe is the init process: * Checking root filesystem ... fsck.ext2: No such file or directory while trying to open /dev/sda1 /dev/sda1: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193device * Filesystem couldn't be fixed :( [ !! ] Give root password for maintenance (or type Control-D to continue): If I give the root password, I can find no /dev/sda1. However, mount shows /dev/sda1 on /, and there *is* a /sys/block/sda folders, with a sda1 folder in that as well. It's almost like it had /dev/sda1, but then lost it somehow. Does anyone have any idea what's going on here? Any help would be appreciated. Have you seen http://www.sysresccd.org/Main_Page ? It's based on Gentoo, you could check what they did to boot from a usb stick. Br, Maciej Grela Excellent, thanks for that, I hadn't found it in my previous searches. I'll have a look there. Jake Moe Had a similar issue a while ago when I was playing around with this myself. Take a look at the linux boot parameters. The 'theoretical' part is: You need to let the kernel initialize the USB-stick before trying to access it. (This can take some time) There is a delay-option, just can't remember the proper name off-hand. -- Joost I've got USB booting working in a syslinux environment. A delay of 12 seconds is working for me. The syslinux.cfg stanza I use is: LABEL usb KERNEL linux APPEND rootdelay=12 root=/dev/sda2 The usual way for linux on removable usb sticks / disks is to use LABEL or UUID to identify the disks and not the device names, because they will be different in different computers ;) The downside is that you need an initrd to mount the root partition... I think that the usual initrd generated by genkernel works... If you created the rootfs with: mkfs.ext2 -j -LUSBGentoo /dev/sdXY then you can change the kernel parameter to root=LABEL=USBGentoo and your fstab to: LABEL=USBGentoo / ext3 ... You can also use the uuid of the filesystem, find it out with dumpe2fs -h /dev/sdb2 | grep UUID and then use UUID=XXX instead of LABEL=XXX I never really played around with grub and USB booting, so I use syslinux. I create a small FAT partition with syslinux, kernel and initrd image (it gets also pretty handy when you sometimes need to copy something from a windows machine ;) and a second regular ext3 partition for the rootfs. Basically you would do: - partition the stick, mark the FAT partition as bootable/active - format the partitions: - mkfs.vfat -nUSBData /dev/sdX1 - mkfs.ext2 -j -LUSBGentoo /dev/sdX2 - install syslinux (on the FAT partition): - syslinux /dev/sdX1 - mount /dev/sdX2, install gentoo in the usual way - compile the kernel and initrd, make sure required USB stuff is in the kernel (theoretically it could be as modules in initrd... but in-kernel is safer :) if you are in a hurry, or don't know how to create them, get them from a gentoo livecd ;) don't forget to also copy the modules (/lib/modules-XXX/...) from the livecd to the rootfs. - put the kernel and initrd on the FAT partition (I name them vmlinuz.img and initrd.img) - edit syslinux.cfg (on the FAT partition), see http://syslinux.zytor.com/wiki/index.php/SYSLINUX#How_do_I_Configure_SYSLINUX.3F a very simple one from my USB disk: DEFAULT linux LABEL linux SAY Now booting USBGentoo KERNEL vmlinuz.img APPEND root=LABEL=USBGentoo initrd=initrd.img you might also add rootdelay=10 to the options if the usb stick/disk isn't detected quick enough umount, reboot, set the computer to boot from usb, enjoy... ;) Xorg without a config seems to work pretty well on most computers these days, IIRC the alsa modules for soundcards are also autoloaded, so you don't need any fancy hw detection to have a desktop running from USB stick ;) yoyo BTW there is also a manual way to boot
Re: [gentoo-user] Booting Gentoo from USB stick
Jake Moe wrote: Thanks for that, I'll rebuild the genkernel with blkid support. As to the second suggestion, there is *no* /dev/sda1 (the partition in question). It just doesn't exist for some reason. However, fstab shows that it's mounted, and /sys/block has entries for the disk, so I'm not sure why it's dropped out. I'm guessing it has something to do with udevd, or uevents? Because shortly before that, I tell it to find the root partition at /dev/sda1, and it starts to boot, but then it loses it. Jake Moe The file fstab doesn't show what is mounted. Either use the command mount with no options or cat /etc/mtab to see what is actually mounted. Dale :-) :-)
Re: [gentoo-user] Booting Gentoo from USB stick
As to the second suggestion, there is *no* /dev/sda1 (the partition in question). It just doesn't exist for some reason. However, fstab shows that it's mounted, and /sys/block has entries for the disk, so I'm not sure why it's dropped out. I'm guessing it has something to do with udevd, or uevents? Because shortly before that, I tell it to find the root partition at /dev/sda1, and it starts to boot, but then it loses it. What is that in concrete, it starts? What do you see, hear, smell? Al
Re: [gentoo-user] Booting Gentoo from USB stick
On 16/09/10 08:26, Dale wrote: Jake Moe wrote: Thanks for that, I'll rebuild the genkernel with blkid support. As to the second suggestion, there is *no* /dev/sda1 (the partition in question). It just doesn't exist for some reason. However, fstab shows that it's mounted, and /sys/block has entries for the disk, so I'm not sure why it's dropped out. I'm guessing it has something to do with udevd, or uevents? Because shortly before that, I tell it to find the root partition at /dev/sda1, and it starts to boot, but then it loses it. Jake Moe The file fstab doesn't show what is mounted. Either use the command mount with no options or cat /etc/mtab to see what is actually mounted. Dale :-) :-) Gah, it's too early. That's what I meant to say (and previously said in my original post): when I run mount, it shows /dev/sda1 is mounted on /. Jake Moe
Re: [gentoo-user] Booting Gentoo from USB stick
On 16/09/10 08:18, Al wrote: As to the second suggestion, there is *no* /dev/sda1 (the partition in question). It just doesn't exist for some reason. However, fstab shows that it's mounted, and /sys/block has entries for the disk, so I'm not sure why it's dropped out. I'm guessing it has something to do with udevd, or uevents? Because shortly before that, I tell it to find the root partition at /dev/sda1, and it starts to boot, but then it loses it. What is that in concrete, it starts? What do you see, hear, smell? Al I'm not sure what you're asking. Can you elaborate as to what you're asking? As I'm in an office, there is no concrete nearby for anything to be in. I see my monitor, I hear my mp3's playing, and I smell my peppermint tea. But I'm pretty sure that's not what you're asking me. :-P If you're asking what, specifically, I mean by it starts, my previous posts show how far into the boot process it gets. If I specify by /dev/sda1, eventually it gets to checking that partition for errors, but fails to find the partition. If I specify by LABEL, then it tells me it can't find the label a bit earlier in the boot process, and asks where it can find the root partition. When I tell it /dev/sda1, it continues to boot, only to stop again at fsck'ing the partition. If I put in the root password for maintenance and have a look, there is no /dev/sda or /dev/sda1 in /dev (nor /dev/hd?, nor /dev/sr?). But a mount command shows /dev/sda1 mounted at /. And /sys/block has sda and under that, sda1. So it's like it sees it, but then it doesn't. Following the sugegstion from YoYo Siska, I've had a look at the various options I can pass to genkernel (I had followed the handbook previously, and hadn't realized there were options I could pass), and am currently rebuilding it with the following command: genkernel --install --slowusb --disklabel all. YoYo pointed out that there was a --disklabel option to pass that'd add disk label support to the kernel, and I noticed the --slowusb option that, from my research, sounds like it may have something to do with my problem. Will let you know after I try that what the results are. Jake Moe
Re: [gentoo-user] Booting Gentoo from USB stick
As I'm in an office, there is no concrete nearby for anything to be in. Lol. Well, there are some other meanings in the latin word concretus. The didn't even have that bleak modern material. We have a different name for it in german and use concretus more in the original sense. If you're asking what, specifically, I mean by it starts, my previous posts show how far into the boot process it gets. If I specify by /dev/sda1, eventually it gets to checking that partition for errors, but fails to find the partition. If I specify by LABEL, then it tells me it I am still asking myself, if it is the USB stick at all that you see starting. Couldn't it be a kernel from the inbuild hard disk? ... wich you would *hear* in that case ... maybe even smell or feel ... Hence I ask you if there linux kernel on the first or second partition of your disk. Al
Re: [gentoo-user] Booting Gentoo from USB stick
On 16/09/10 09:04, Al wrote: As I'm in an office, there is no concrete nearby for anything to be in. Lol. Well, there are some other meanings in the latin word concretus. The didn't even have that bleak modern material. We have a different name for it in german and use concretus more in the original sense. If you're asking what, specifically, I mean by it starts, my previous posts show how far into the boot process it gets. If I specify by /dev/sda1, eventually it gets to checking that partition for errors, but fails to find the partition. If I specify by LABEL, then it tells me it I am still asking myself, if it is the USB stick at all that you see starting. Couldn't it be a kernel from the inbuild hard disk? ... wich you would *hear* in that case ... maybe even smell or feel ... Hence I ask you if there linux kernel on the first or second partition of your disk. Al Ah, I see. For this test, I have a second PC that I've unplugged the hard drive from. And it's hard drive currently has a work Windows image on it, anyway, so it's definitely not booting from that. :-) I also have finished my new kernel. It now recognizes the root device by label, but still hangs on the fsck. Any more bright ideas? Surely someone has done this already; I can't be the first to try it. Hasn't someone else put a Gentoo install on a USB stick? If I'm correct in my assumptions, it sounds as though GRUB and the kernel are seeing it right, but something in the Gentoo init scripts is breaking it. Can anyone even comment if that assumption is correct? I'm not entirely clear on genkernel and the initramfs it provides, and at what step each of these takes effect. Jake Moe