Find the answer to your Linux question:
Results 1 to 4 of 4
After upgrading to slackware 12, I copied my system to a new sata drive on /dev/sda, but it won't mount the swap(sda1) or the root partition(sda2) for it when using ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    15

    slack 12 won't mount /dev/sda2 as root partition


    After upgrading to slackware 12, I copied my system to a new sata drive on /dev/sda, but it won't mount the swap(sda1) or the root partition(sda2) for it when using the generic smp kernel, but it will mount them properly if I use the huge smp kernel.

    It still mounts the swap and root from the old copy on hda. I've done the mkinitrd procedure while booted with the huge smp kernel("mkinitrd -c -k 2.6.21.5-smp -m ext3 -f ext3 -r /dev/sda2"), updated lilo to have the MBR on sda and set my BIOS to boot to sda.

    What am I missing here?

  2. #2
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    What did you get when using the generic one ? it's a kernel panic ?

    try to make your inirtd without specifying the root dev and the swap.

    Regards.
    Linux is not only an operating system, it's a philosophy.
    Archost.

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    15
    Yeah kernel panic... I've found a workaround though... Instead of putting /boot on sda, I just formatted hda and mv the /boot from sda to hda. This seems to do the trick as it mounts the swap and the root properly. I'm not so sure my BIOS properly supports booting from the add-in sata cards I'm using anyway...

    Just wish I could put it all on sda for organization's sake, doh well.

    Thanks for you help!

  4. #4
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    As you said it works for the huge kernel ! so it's not a BIOS issue ,what do you think ?
    Linux is not only an operating system, it's a philosophy.
    Archost.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •