お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2009-02-24 15:35:40

tcnq
新しいメンバ
登録日: 2009-02-24

USB-HDD上のUbuntu工夫と応用について

「USB-HDD上のUbuntuを複数のPCで使うには (インストール)」
https://wiki.ubuntulinux.jp/UbuntuTips/UsbInstall/UseUbuntuOnPcs-1

のページを見ながら、対象とするバージョンであるubuntu-ja-8.10-desktopを
USBフラッシュメモリにインストールしました。いくつかのマシンでUSBメモリ
からubuntuが動かせるようになり大変感激しています。さて、このページに次の
応用項目として、

「USB-HDD上のUbuntuを複数のPCで使うには ( 工夫と応用 )」
https://wiki.ubuntulinux.jp/UbuntuTips/UsbInstall/UseUbuntuOnPcs-2

へのリンクがありkernel-update時に用いるシェルスクリプトなどがあるのですが、
このページの先頭には対象とするUbuntuのバージョンとして「8.04.1 Hardy Heron」
と明示されています。このページのスクリプトや説明は「8.10 Intrepid Ibex」には
対応していないのでしょうか?

オフライン

 

#2 2009-02-24 23:31:20

kiyoshi
拒否
From: Linux-Loving-Person
登録日: 2007-02-07

Re: USB-HDD上のUbuntu工夫と応用について

※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。

最後の編集者: kiyoshi (2009-02-24 23:33:04)

オフライン

 

#3 2009-03-22 11:46:53

tk
メンバ
登録日: 2009-03-14

Re: USB-HDD上のUbuntu工夫と応用について

ubuntu8.10をUSBメモリに標準インストールし、「USB-HDD上のUbuntuを複数のPCで使うには ( 工夫と応用 )」の方法で、kernel-update時のブートCDを作成し、CD /boot/grub/menu.lstを開くと

default        0
timeout        10
color black/cyan blink-red/cyan

title       Ubuntu 8.10, kernel 2.6.27-7-generic
root        (cd)
kernel      (cd)/boot/vmlinuz-2.6.27-7-generic root=UUID=3e2be16d-57fc-4212-84c1-a0b6042cbbae ro quiet splash
initrd      (cd)/boot/initrd.img-2.6.27-7-modif
quiet

title       Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
root        (cd)
kernel      (cd)/boot/vmlinuz-2.6.27-7-generic root=UUID=3e2be16d-57fc-4212-84c1-a0b6042cbbae ro single
initrd      (cd)/boot/initrd.img-2.6.27-7-modif

となっており、このブートCDより問題なく起動はできますが、上記のとおり、kernel 2.6.27-11(kernel-update時)の表示が出ません。

尚、USB-HDD /boot/grub/menu.lstが


default        0
timeout        10
color black/cyan blink-red/cyan

title       Ubuntu 8.10, kernel 2.6.27-7-generic
root        (hd0,0)
kernel      /boot/vmlinuz-2.6.27-7-generic root=UUID=3e2be16d-57fc-4212-84c1-a0b6042cbbae ro quiet splash
initrd      /boot/initrd.img-2.6.27-7-modif
quiet

title       Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
root        (hd0,0)
kernel      /boot/vmlinuz-2.6.27-7-generic root=UUID=3e2be16d-57fc-4212-84c1-a0b6042cbbae ro single
initrd      /boot/initrd.img-2.6.27-7-modif
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=3e2be16d-57fc-4212-84c1-a0b6042cbbae ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=3e2be16d-57fc-4212-84c1-a0b6042cbbae

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title        Ubuntu 8.10, kernel 2.6.27-11-generic
uuid        3e2be16d-57fc-4212-84c1-a0b6042cbbae
kernel        /boot/vmlinuz-2.6.27-11-generic root=UUID=3e2be16d-57fc-4212-84c1-a0b6042cbbae ro quiet splash
initrd        /boot/initrd.img-2.6.27-11-generic
quiet

title        Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid        3e2be16d-57fc-4212-84c1-a0b6042cbbae
kernel        /boot/vmlinuz-2.6.27-11-generic root=UUID=3e2be16d-57fc-4212-84c1-a0b6042cbbae ro  single
initrd        /boot/initrd.img-2.6.27-11-generic

title        Ubuntu 8.10, kernel 2.6.27-7-generic
uuid        3e2be16d-57fc-4212-84c1-a0b6042cbbae
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=3e2be16d-57fc-4212-84c1-a0b6042cbbae ro quiet splash
initrd        /boot/initrd.img-2.6.27-7-generic
quiet

title        Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid        3e2be16d-57fc-4212-84c1-a0b6042cbbae
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=3e2be16d-57fc-4212-84c1-a0b6042cbbae ro  single
initrd        /boot/initrd.img-2.6.27-7-generic

title        Ubuntu 8.10, memtest86+
uuid        3e2be16d-57fc-4212-84c1-a0b6042cbbae
kernel        /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST


から、


default        0
timeout        10
color black/cyan blink-red/cyan

title       Ubuntu 8.10, kernel 2.6.27-7-generic
root        (hd0,0)
kernel      /boot/vmlinuz-2.6.27-7-generic root=UUID=3e2be16d-57fc-4212-84c1-a0b6042cbbae ro quiet splash
initrd      /boot/initrd.img-2.6.27-7-modif
quiet

title       Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
root        (hd0,0)
kernel      /boot/vmlinuz-2.6.27-7-generic root=UUID=3e2be16d-57fc-4212-84c1-a0b6042cbbae ro single
initrd      /boot/initrd.img-2.6.27-7-modif

に、書き換えられてしまいます。

以上が試した結果です。8.10対応の「USB-HDD上のUbuntuを複数のPCで使うには ( 工夫と応用 )」を待つしかないのでしょうか。
他力本願で申し訳ないですが、今の私には、とてもシェルスクリプトの作成、編集?など、無理なことですので。

オフライン

 

#4 2009-03-23 14:53:00

jackalope
メンバ
登録日: 2009-01-01

Re: USB-HDD上のUbuntu工夫と応用について

8.10対応の「USB-HDD上のUbuntuを複数のPCで使うには ( 工夫と応用 )」を待つしかないのでしょうか。

リンク先のシェルスクリプトは8.04で動作検証された物、貴方の検証で8.10には対応していないようです。
もうすぐ9.04がリリースされる事を考えると、おそらく誰も8.10対応のWikiは書かないでしょう。

今の私には、とてもシェルスクリプトの作成、編集?など、無理なことですので。

超メジャーなコマンド'cp'ですら理解しょうとしない貴方には無理かもしれないですが、ブートCDが何をしているのかを理解すればシェルスクリプトの作成、編集は必要ありません。

オフライン

 

Board footer

Powered by FluxBB