View previous topic :: View next topic |
Author |
Message |
amandus Apprentice
Joined: 15 Feb 2005 Posts: 173 Location: Sweden
|
Posted: Wed Nov 09, 2011 7:35 pm Post subject: I want to know? |
|
|
When I do fdisk there are no hda disk it nust be sda even if I have IDE disks but in fstab I must have hda and in grub why is it so?
I have sit three evenings after my job and now it was time to reboot, grub failes fdisk failes keymap not loaded network card not found.
I have follow the handbook completely. But it is not working any way _________________ 1/3 install NPTL with stabel toolkit managed by my self
Amd 64 3500+ ATA 100 7200/rpm. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Nov 09, 2011 7:59 pm Post subject: |
|
|
If grub fails, how can you get to the place where keymap and fdisk fails?
Seriously, without some specific error messages, it will be impossible to help you.
In answer to one of your questions, the new IDE kernel drivers make everything into /dev/sdx whether or not they're actually SATA or PATA drives. Thus, if you're performing a new install, you'll see /dev/sdx instead of /dev/hdx. It's possible to set up for the old kernel drivers, which is why you might need /dev/hdx in fstab, but the new install CDs all use the new drivers so, when actually mounting them, you'd see /dev/sdx.
Let's start with your earliest problem and get that sorted out. Error messages, please.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
amandus Apprentice
Joined: 15 Feb 2005 Posts: 173 Location: Sweden
|
Posted: Wed Nov 09, 2011 8:13 pm Post subject: |
|
|
in grub root=/dev/sda3 got kernel panic then I edit grub.conf changed sda3 to hda3 then it booted but could not activate swap then I changed fdisk swap from /dev/sda2 to /dev/hda2 and then the swap was activated and in /etc/conf.d/keymaps I edit and put in swedish keyboard sv-latin1 but it could not load it. my network card was not loaded I put in lspci but lspci was not found I don't now what to do now? Wiped it and start all over because I don´t know what to do. _________________ 1/3 install NPTL with stabel toolkit managed by my self
Amd 64 3500+ ATA 100 7200/rpm. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Nov 09, 2011 8:26 pm Post subject: |
|
|
lspci will not be installed on your computer unless you install it. However, it's part of the install CD. Once you get that booted again, you'll see it. Which install CD are you using?
Don't wipe & start over again without checking with us. Ususally there's a way to just back up & fix things.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters.
Last edited by John R. Graham on Wed Nov 09, 2011 8:28 pm; edited 1 time in total |
|
Back to top |
|
|
amandus Apprentice
Joined: 15 Feb 2005 Posts: 173 Location: Sweden
|
Posted: Wed Nov 09, 2011 8:27 pm Post subject: |
|
|
the latest _________________ 1/3 install NPTL with stabel toolkit managed by my self
Amd 64 3500+ ATA 100 7200/rpm. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Nov 09, 2011 8:28 pm Post subject: |
|
|
LiveCD or Minimal Install CD? Actual Gentoo CD or SystemRescueCD?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
amandus Apprentice
Joined: 15 Feb 2005 Posts: 173 Location: Sweden
|
Posted: Wed Nov 09, 2011 8:32 pm Post subject: |
|
|
minimal install CD _________________ 1/3 install NPTL with stabel toolkit managed by my self
Amd 64 3500+ ATA 100 7200/rpm. |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Wed Nov 09, 2011 8:42 pm Post subject: |
|
|
/dev/hd* should no longer even exist
even if you use IDE drives, you should not use the drivers under CONFIG_IDE, but rather the PATA drivers under CONFIG_ATA (beneath the BDBMA section in menuconfig)
newer udev will not even make /dev/hd* device nodes. So even if everything else seems to want /dev/hd*, your system will ultimately not work.
-fstab should say /dev/sd*
-grub.conf should have root=/dev/sd*
not to be confused with the 'root (hd0,0)' setting in grub.
so first things first, you should get your kernel set such that everything will be using /dev/sd*
you do this by removing the "ATA/MFM/RLL Support" completely in menuconfig
and then enabling the right PATA driver under "Serial ATA (Prod) and Parallel ATA (Experimental) drivers" section
once the kernel is set up, fstab and grub.conf should both be set to use /dev/sd* _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
amandus Apprentice
Joined: 15 Feb 2005 Posts: 173 Location: Sweden
|
Posted: Wed Nov 09, 2011 8:52 pm Post subject: |
|
|
I start from scratch tomorrow, and try to make it right this time _________________ 1/3 install NPTL with stabel toolkit managed by my self
Amd 64 3500+ ATA 100 7200/rpm. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Wed Nov 09, 2011 9:11 pm Post subject: |
|
|
Jaglover wrote: | Why from scratch if all you need to do is reconfigure kernel. Quite common job, have to do it every time you get a new piece of hardware or want to use a feature you didn't need before. |
++
there is no reason to start from scratch
amandus wrote: |
I start from scratch tomorrow, and try to make it right this time
|
read the first two links in my signature
cd to /usr/src/linux
type 'make mrproper'
grab one of Pappy's seeds, save it to '.config' under /usr/src/linux (e.g. "wget http://kernel-seeds.org/path/to/seed.config -O .config")
fire up 'make menuconfig'
select drivers for your disks
select drivers for your filesystems
select drivers for your network card, sound card, and graphics card
save and exit
make && make modules_install
copy new kernel to /boot
edit grub.conf to point at new kernel
make sure fstab and grub.conf use /dev/sd* and not /dev/hd*
and reboot. If you've selected the correct drivers (the first link in my signature will help you with that), your system will boot. If you are missing things from your kernel that you need for other stuff, it is easy enough to add it back in later, by simply going back into 'make menuconfig' (do not issue 'make mrproper' - that is a one time thing), adding whatever driver you're missing, make && make modules_install, copy new bzImage (not needed if you simply add a new module, rather than a new built-in) _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
amandus Apprentice
Joined: 15 Feb 2005 Posts: 173 Location: Sweden
|
Posted: Thu Nov 10, 2011 1:51 pm Post subject: |
|
|
What is good with grab one of Pappy's seeds?? Is it better than doing it by myself? _________________ 1/3 install NPTL with stabel toolkit managed by my self
Amd 64 3500+ ATA 100 7200/rpm. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu Nov 10, 2011 1:53 pm Post subject: |
|
|
It's just a really good starting point. It gets all of the defaults right for a modern Gentoo installation. You still have to select your hardware so you will definitely still be "doing it yourself".
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
amandus Apprentice
Joined: 15 Feb 2005 Posts: 173 Location: Sweden
|
Posted: Thu Nov 10, 2011 6:54 pm Post subject: |
|
|
I have downloaded pappy´s source and are now compiling the kernel _________________ 1/3 install NPTL with stabel toolkit managed by my self
Amd 64 3500+ ATA 100 7200/rpm. |
|
Back to top |
|
|
|