ubuntu 6.10升级到7.04

修改/etc/apt/source.lst为:

 
deb http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse deb-src http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-proposed main multiverse restricted universe deb-src http://mirror.rootguide.org/ubuntu/ feisty-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse # Archive.ubuntu.com deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

或者:(这行命令将sources.lst文件中的所有‘edgy’替换为‘feisty’)

sudo sed -i 's/edgy/feisty/' /etc/apt/sources.lst

然后运行:

sudo apt-get update sudo apt-get dist-upgrade

升级后发现WINDOWS分区和其他linux分区无法挂载,打开/etc/fstab,将/dev/hdaX改为/dev/sdaX,然后

sudo mount -a

最后检查ubuntu版本:

cat /etc/issue

你可能感兴趣的:(linux,windows,ubuntu,Security)