Ubuntu 10.04 problem med grub2
Hej Linux brugere
Jeg har lige geninstalleret Ubuntu 10.04. Jeg har installeret med Alternate disk og jeg har lavet en fuldstænding sletning af alle partitioner og lavet 1 partion til / og en til swap (via guiden)
Når jeg booter min PC får jeg en fejl
ALERT! /dev/disk/by-uuid/fec3f483-2619-4a55-a00e-94121a8d2294 does not exist. dropping to a shell!
busybox
(initramfs)
Hvis jeg skriver "exit" booter den op i Ubuntu (som regel. nogle gange får jeg samme fejl igen)
Jeg synes jeg kan læse at det er fordi ubuntu bruger UUID istedet for /dev/sdx
Men hvad kan jeg gøre herfra. Jeg må indrømme GRUB2 er noget mere kringlet en det jeg er vandt til.
indhold af /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=" splash"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
indhold af FSTAB
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdb1 during installation
UUID=fec3f483-2619-4a55-a00e-94121a8d2294 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=3284e360-2c60-4d68-9f21-889707688728 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
Jeg har lige geninstalleret Ubuntu 10.04. Jeg har installeret med Alternate disk og jeg har lavet en fuldstænding sletning af alle partitioner og lavet 1 partion til / og en til swap (via guiden)
Når jeg booter min PC får jeg en fejl
ALERT! /dev/disk/by-uuid/fec3f483-2619-4a55-a00e-94121a8d2294 does not exist. dropping to a shell!
busybox
(initramfs)
Hvis jeg skriver "exit" booter den op i Ubuntu (som regel. nogle gange får jeg samme fejl igen)
Jeg synes jeg kan læse at det er fordi ubuntu bruger UUID istedet for /dev/sdx
Men hvad kan jeg gøre herfra. Jeg må indrømme GRUB2 er noget mere kringlet en det jeg er vandt til.
indhold af /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=" splash"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
indhold af FSTAB
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdb1 during installation
UUID=fec3f483-2619-4a55-a00e-94121a8d2294 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=3284e360-2c60-4d68-9f21-889707688728 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
Kommentarer2
Re: Ubuntu 10.04 problem med grub2
Re: Ubuntu 10.04 problem med grub2