Ubuntu Updates are Changing My Partition Coordinates

edited September 2006 in Science & Tech
(FYI I'm running Ubuntu Dapper 64-bit)

After updates I now have to bootup on a LiveCD, mount my partition, and go in and correct the coordinates in the /boot/grub/menu.lst file for my partition. I've done this about 4 times now and it's getting pretty tedious. This problem started when I moved my Ubuntu partition from dev/hdc2 to dev/hdc4. In order to load Ubuntu in GRUB I had to go in and change the menu.lst file coordinates myself. I think Ubuntu is still thinking that my partition is located on dev/hdc2 so when updates come it "corrects" my menu.lst file to reflect that.

Any help on remedying this problem would be greatly appreciated.

Comments

  • edited September 2006
    /sbin/update-grub is probably your culprit...it runs whenever a new kernel is updated... might want to look through it and check the various locations that it uses to determine where your root partition is.

    Skryking
  • edited September 2006
    It looks in /etc/fstab. What's strange is that the partition's coordinates are correct in that file:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/hdc1 /windows ntfs nls=utf8,umask=0222 0 0
    /dev/hdc4 / ext3 defaults,errors=remount-ro 0 1
    /dev/hdc5 none swap sw 0 0
    /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

    Here's the output of the "mount" command, I think that may be key to solving my problem:
    fatsheep@fatsheep:~$ mount
    /dev/hdc2 on / type ext3 (rw,errors=remount-ro)
    proc on /proc type proc (rw)
    /sys on /sys type sysfs (rw)
    varrun on /var/run type tmpfs (rw)
    varlock on /var/lock type tmpfs (rw)
    procbususb on /proc/bus/usb type usbfs (rw)
    udev on /dev type tmpfs (rw)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    devshm on /dev/shm type tmpfs (rw)
    lrm on /lib/modules/2.6.15-27-amd64-generic/volatile type tmpfs (rw)
    /dev/hdc1 on /windows type ntfs (rw,nls=utf8,umask=0222)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
Sign In or Register to comment.