[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:55848] Re: liloで試してみました (Re: 新HDDへのgrub2のインストールについて)



$B?9K\$G$9!#(B
$B4V0c$C$F$$$k$+J,$+$j$^$;$s$,!)(B
/etc/lilo.conf $BFb$N(Bboot=/dev/sda $B$r!!(B/dev/sda1
$B$G$O!)(B



2011$BG/(B12$B7n(B19$BF|(B17:05 Hiroyuki Shimada <shimaden@xxxxxxxxx>:
$B!!$3$s$K$A$O!#EgED$G$9!#(B

$B!!2?$,$I$&$J$C$F$$$k$N$+$o$+$i$J$$$N$G!"(Blilo $B$G5/F0$G$-$k$+$I$&$+;n$7$F(B
$B$_$^$7$?!#(B
$B!!7k2L$H$7$F$OESCf$^$G5/F0$7$F(B kernel panic $B$K$J$j$^$7$?!#(B

===== /etc/lilo.conf $B$=$N(B1 =====
large-memory
lba32
boot=/dev/sda
root=/dev/sda2
map=/boot/map
delay=20
vga=normal
append="pci=noacpi acpi=on apm=on mem=805306368"

default=Linux

image=/boot/vmlinuz-2.6.38.7
       label=Linux
       initrd=/boot/initrd.img-2.6.38.7
       read-only
       root=/dev/sda2
==========================

$B!!>e5-(B lilo.conf $B$G(B lilo $B$7$F:F5/F0$7$^$7$?$i!"$$$m$$$m$J%a%C%;!<%8$,%9(B
$B%/%m!<%k$7$?8e!"
=====
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Cannot open root device "802" or unknown-block(8,2)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2)
=====

$B!!$=$3$G!"(Bappend $B9T$K(B root= $B%*%W%7%g%s$r;XDj$7$F
===== /etc/lilo.conf $B$=$N(B2 =====
large-memory
lba32
boot=/dev/sda
root=/dev/sda2
map=/boot/map
delay=20
vga=normal
append="pci=noacpi acpi=on apm=on mem=805306368 root=/dev/sda2"

default=Linux

image=/boot/vmlinuz-2.6.38.7
       label=Linux
       initrd=/boot/initrd.img-2.6.38.7
       read-only
       root=/dev/sda2
==========================

$B$9$k$H!"%a%C%;!<%8$NFbMF$,>/$7JQ$o$j!"
=====
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Cannot open root device "sda2" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
=====

$B$I$&$b!"(B/dev/sda2 $B$,G'<1$5$l$F$$$J$$$h$&$G$9!#(B
$B!!$^$?!"!V(Bhere are the available partitions:$B!W$H$"$k$N$G!"$=$N2<$KMxMQ2D(B
$BG=$J%Q!<%F%#%7%g%s$N0lMw$r=P$=$&$H$7$F$$$k$h$&$K8+$($^$9$,2?$bI=<($5$l$F(B
$B$$$^$;$s!#(B

$B!!F3F~$7$?$N$O(B 2TB $B$N(B HDD $B$J$N$G$9$,!"(Bparted $B$G%Q!<%F%#%7%g%s$r@Z$j$^$7(B
$B$?!#(Bcfdisk $B$G@Z$k$H!"(Bmkfs -t ext3(ext4) $B$9$k$H%"%i%$%a%s%H$N4X78$G(B poor
performance $B$7$+=P$J$$!J@53N$JJ88@$OK:$l$^$7$?!K$H$$$&%a%C%;!<%8$,=P$?$+(B
$B$i$G$9!#(B

$B!!:G=i$N%Q!<%F%#%7%g%s(B /dev/sda1 $B$O(B 2048 $B%;%/%?L\$+$i@Z$C$F$"$j$^$9!#(B
$B!!(Bfdisk $B$G%Q!<%F%#%7%g%s$r8+$k$H!"%7%j%s%@6-3&$G=*$o$C$F$$$J$$$H$$$&%a%C(B
$B%;!<%8$,=P$^$9!#(B

# fdisk -l /dev/sda

$B%G%#%9%/(B /dev/sda: 2000.4 GB, 2000398934016 $B%P%$%H(B
$B%X%C%I(B 255, $B%;%/%?(B 63, $B%7%j%s%@(B 243201
Units = $B%7%j%s%@?t(B of 16065 * 512 = 8225280 $B%P%$%H(B
$B%;%/%?%5%$%:(B ($BO@M}(B / $BJ*M}(B): 512 $B%P%$%H(B / 4096 $B%P%$%H(B
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
$B%G%#%9%/<1JL;R(B: 0x131984c8

$B%G%P%$%9(B $B%V!<%H(B      $B;OE@(B        $B=*E@(B     $B%V%m%C%/(B   Id  $B%7%9%F%`(B
/dev/sda1   *           1         123      978944   83  Linux
$B%Q!<%F%#%7%g%s(B 1 $B$O!"%7%j%s%@6-3&$G=*$o$C$F$$$^$;$s!#(B
/dev/sda2             123         487     2931712   83  Linux
$B%Q!<%F%#%7%g%s(B 2 $B$O!"%7%j%s%@6-3&$G=*$o$C$F$$$^$;$s!#(B
/dev/sda3             487        1484     8002560   82  Linux $B%9%o%C%W(B / Solaris
/dev/sda4            1484      243202  1941600344    f  W95 $B3HD%NN0h(B (LBA)
/dev/sda5            1484       12401    87694336 83  Linux
/dev/sda6           12401       17264    39061504   83  Linux
/dev/sda7           17265       20912    29295616   83  Linux
/dev/sda8           20912      130330   878905344   83  Linux
/dev/sda9          130331      243202   906638336   83  Linux

$B!!$^$?!"(Bcfdisk /dev/sda $B$H$9$k$H!"(B

*$BCWL?E*$J%(%i!<(B*: $BIT@5$J4pK\NN0h(B 3: Partition ends in the final pa
          $BCfCG$9$k$K$O2?$+%-!<$rF~NO$7$F$/$@$5$$(B

$B$HI=<($5$l$^$9!#(Bparted $B$G$9$H!"(B

# parted /dev/sda
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA WDC WD20EARX-00P (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  1003MB  1002MB  primary   ext3            boot
 2      1003MB  4006MB  3002MB  primary   ext3
 3      4006MB  12.2GB  8195MB  primary   linux-swap(v1)
 4      12.2GB  2000GB  1988GB  extended                  lba
 5      12.2GB  102GB   89.8GB  logical   ext4
 6      102GB   142GB   40.0GB  logical   ext4
 7      142GB   172GB   30.0GB  logical   ext4
 8      172GB   1072GB  900GB   logical   ext4
 9      1072GB  2000GB  928GB   logical   ext4

$B$H!"LdBj$J$/I=<($5$l$^$9!#(B
$B!!%Q!<%F%#%7%g%K%s%0!&%D!<%k$K$h$C$F!"(Bparted $B$G@Z$C$?%Q!<%F%#%7%g%s$NG'(B
$B<1$,0c$&$h$&$G$9!#(B

$B!!$3$l$,LdBj$7$F$$$k$N$G$7$g$&$+!#(B

# $B$7$+$7!"(BSuper GRUB2 Disk $B$G5/F0$9$k$H!"$A$c$s$H(B /dev/sda2 $B$bG'<1$7$F(B
# $B@5>o$K5/F0$G$-$^$9!#(B

$B!!0J>e$N$3$H$rD4$Y$F$_$^$7$?!#(B

$B!!2?$+$o$+$j$^$7$?$i65$($F$$$?$@$1$^$7$?$i9,$$$G$9!#(B

$B!!$h$m$7$/$*4j$$$$$?$7$^$9!#(B


----------------------------------------------------------------------
Mail: shimaden@xxxxxxxxx
Home Page: http://www.din.or.jp/~shimaden/
$BEgEDGn9,(B
Hiroyuki Shimada
----------------------------------------------------------------------