Announcement

Collapse
No announcement yet.

Partitions changing names causes boot problems?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Partitions changing names causes boot problems?

    Hello all,

    As you can guess I'm rather new to this whole Linux thing so please bear with my ignorance.

    he short version of my problem is that after I install Kubuntu (v. 7.10) I'm able to boot once. After I reboot, however, and try to go into Kubuntu again I get a GRUB error 15. I believe that this is because the partitions I made during the installation are changing their names. For more information, see my longer problem description below.

    Long version:
    Computer-
    I'm not at my computer right now so I can't remember all of my specs but if necessary I would be more than happy to look it up later. Until then, this is what I remember.
    Processor: AMD 64 3600+
    RAM: 1 Gb
    Graphics: ATI Radeon X750 (I think)
    HD: 250 Gb

    For the HD, you should know I successfully used PartitionMagic 8 to partition my hard drive without harming any data. I now have a 53 Gb [future] Linux partition. The rest is my Windows partition. As of the initial install, it was formatted as ext3. My Windows partition is partitioned (by the manufacturer) into a 10 Gb system recovery partition and the rest into the data/Windows partition. They're both NTFS I believe. I'm also unsure but believe that both are Primary Partitions.

    I successfully download the i386 LiveCD iso and burn it to a CD. I'm able to boot from the CD and do the integrity test. There are no errors found. After I reboot and get to the LiveCD menu again, I start Linux. Once there, I'm able to try to install Linux.

    I get to step 4 (the partitioning) and decide to partition manually to make sure I don't lose any data. I create a 4 Gb "swap" partition. I thought that the swap partition had to be primary so I made it primary. I then make a 9 Gb "/" partition and also make it a primary partition. That makes the rest of my free space unusable so I delete both partition I just made, make the "swap" partition again primary and then make the "/" partition logical with a format of ext3. I also make another logical partition and set it's mount point as "/home". It's also formatted as ext3.

    I successfully finish the install and reboot (making sure to remove the CD). It should be noted that I let GRUB install to the default HD(0). I reboot (and remove the CD) and reach the GRUB screen. I'm able to go into Windows successfully so I reboot and then go into Kubuntu successfully.

    As expected, there are a lot of packages that need to be installed. I also notice that I'm not using the restricted ATI drivers even though I'm using an ATI card. At least that's what the little pop-up window in the bottom right tells me. I enable to restricted drivers. I start fetching and downloading the necessary packages. After it's got them all, it wants to install them. But, it says that another instance of the package installer is running. I can find no evidence of this but I'm not as savvy with Linux as Windows so I think one might be running in the background that I can't see. I can't figure out how to determine if that's true so I decide to restart.

    After I restart, I again come to the GRUB screen but when I tell it to load Kubuntu I get an error 15. Going into the command line shows that it's trying to boot (hd0, 4). It's also unable to boot the other Kubuntu options (like recovery mode). I can boot Windows. I try changing (hd0, 4) to things like (hd0, 3) and (hd0, 5) but then I get GRUB 17 errors.

    I decide that maybe it was a bad install so I decide to reinstall. I go through everything I already described above again with only 1 notable thing happening. When I go to partition again, I notice that the mount point for the root and home directories changed. Instead of being "/" and "/home" they're "/media/sda5" and "/media/sda6" respectively (I'm pretty sure it was 5 and 6 which I found odd because I only have 5 partitions and the Windows ones are mounted as /media/sda1 and /media/sda2). Swap was not changed.

    So, I install it again and come up with the same problems with the package downloader/installer and then the GRUB 15 error when I rebooted. I even tried reinstalling again and not letting the packages install. I just logged into Kubuntu, then rebooted. I got the same GRUB error.

    Fortunately, I'm not having any problems with Windows.

    Final note- I tried using other LiveCDs to do the install (all of which passed the initial test upon booting the CD).

    So, I know this is long and I apologize for that, but is there any help you can provide? Does it matter that I'm using the i386 CD with an AMD 64 machine?

    Thanks,
    Dave

    #2
    Re: Partitions changing names causes boot problems?

    Wow, that's a lot. 32-bit arch, package updates, and ATI cards are irrelevant to booting.

    On the boot menu, highlight the Kubuntu line, press "e" to edit, and try changing (hd0,4) to (hd1,4), and then return and "b" to boot it.

    I'm kinda guessing here, but I'm also kinda thinking you have the same phenomenon that I've experienced. It's not that the partition names change, it's that the installer doesn't count the same way Grub does, in all cases.

    It also appears from your description that the boot partition might be (hd0,2) or (hd1,2). If Windows is on the first partition, that would be 0, your swap would be #1 and your filesystem would be on #2. That's how Grub counts, 0,1,2,3.

    Comment


      #3
      Re: Partitions changing names causes boot problems?

      I'm just figuring out Grub, so this may be completely wrong, but, if you end up not being able to figure it out, and decide to try a reinstall, pay special attention to where you put the '/' partition. Mine is on sdb1, which translates (for grub) to hd(1,2)...sd=scsi disk, b = 1, 1=2 (that was wierd to write...) again, it's because grub starts at 0...so...after the 'sd'

      a=0
      b=1
      c=2
      etc...

      then the partition number is one less that what it says (IE 1=0, 2=1, etc).

      Once you have that info, you can do what dibl said, and try the hd# you come up with from above. If it works, you can edid the /boot/grub/menu.list file so that it always boots from the partition you want.
      Dell Inspiron 1720 Laptop<br />Intel T9300 Core2Duo Processor @ 2.5Ghz<br />4 GB Ram | 1920 X 1200 Resolution<br />2 X 160 GB SATA HD Internal<br />Nvidia GeForce 8600M Graphics Adapter<br />Using Kubuntu 9.10

      Comment


        #4
        Re: Partitions changing names causes boot problems?

        This might help, it shows you how to keep your mount pionts static so they don't change every time you reboot

        http://ubuntuforums.org/showthread.php?t=91948

        Comment


          #5
          Re: Partitions changing names causes boot problems?

          First check correct (device) locations, as the guys have said: proper (hdx,y)'s.

          That's the usual thing. Unless you installed Kubuntu, took some updates, got a major kernel update, and then lost either the kernel file and/or the initrd file.

          From a Live Kubutnu CD, you should see in your Kubuntu (on the hard drive) these two files:
          /boot/vmlinuz-2.6.22-14-generic
          /boot/initrd.img-2.6.22-14-generic
          (and NOT just the .bak backup versions)
          An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

          Comment

          Working...
          X