---
title: "u盘安装ubuntu server 10.10"
author: "weiqiang.yang"
date: "2010-10-22T20:17:21Z"
tags: ["C", "C#", "C++", "Ubuntu"]
categories: ["操作系统"]
slug: "u-ubuntu-server-10-10"
draft: false
lastmod: "2010-10-22T20:17:21Z"
id: 791818
url: "https://vivisidea.iteye.com/blog/791818"
---

前几天无聊升级那台旧服务器，结果挂了，挂了的原因是do-release-upgrade的时候敲了其他命令导致某个文件被锁定，升级到一半失败，重启就进不去了，recovery模式也不行
于是重新安装个server版的

网上的帖子写的都很复杂。。看不懂，不知道旧版的是不是确实是那么复杂~~我要装的是ubuntu 10.10，在有grub的情况下，安装就只需要3个文件

```java
1. 镜像iso
2. vmlinuz
3. initrd.gz
```


server版跟desktop版有点不同，vmlinuz和initrd.gz文件不能用iso里面解压出来的，要去
<http://archive.ubuntu.com/ubuntu/dists/natty/main/installer-i386/current/images/hd-media/>
这个地址下载

完事之后先进到grub界面，按c进入命令行

```java
root (hdb,0)
kernel /vmlinuz iso-scan/filename=ubuntu-10.10-server-i386.iso ro quiet
initrd /initrd.gz
boot
```

就进入安装界面了，这点跟安装desktop版没啥区别。。。。

-- 
安装过程中没配网络，配置方法如下

```java
sudo vi /etc/network/interfaces
# 增加
auto eth0
iface eth0 inet dhcp
```


然后重启网络
sudo /etc/init.d/networking restart
就好了，之前备忘过的，居然又忘记了- -#