Gå til innhold

uuid feil, vil ikke boote + rtorrent feil


Anbefalte innlegg

da tar vi en ting av gangen her:-P

 

først:

 

pcen vil ikke boote, klager på at /dev/disk/by-uuid dont exist så går den i initramds shell.

 

prøvde den guiden: http://hubpages.com/hub/Finding-UUIDs-numbers

men uuid nr på sda1 stemmer, men klimte og limte anyway

 

 

problemter skjedde etter at jeg oppgraderte til 9.10 og den trengte en reboot.

 

 

hjelp!!

 

 

problem 2.

 

på surfe pcen så prøver jeg og installere rtorrent+rutorrent

fulgt denne guiden: http://www.torrent-invites.com/tutorials/2...t-tutorial.html

 

men brukt siste versjon av lib og rtorrent filene.

 

problemter er når du skal "make2 inne i rtorrent mappen.

så får jeg error:

 

rpc/libsub_rpc.a(xmlrpc.o): In function `rpc::xmlrpc_to_object(_xmlrpc_env*, _xmlrpc_value*, int, rpc::rt_triple<int, void*, void*>*)':

/home/wasp/rtorrent-0.8.5/src/rpc/xmlrpc.cc:248: undefined reference to `xmlrpc_read_i8'

collect2: ld returned 1 exit status

make[3]: *** [rtorrent] Error 1

make[3]: Leaving directory `/home/wasp/rtorrent-0.8.5/src'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/wasp/rtorrent-0.8.5/src'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/wasp/rtorrent-0.8.5'

make: *** [all] Error 2

wasp@psa1:~/rtorrent-0.8.5$ rpc/libsub_rpc.a(xmlrpc.o): In function `rpc::XmlRpc::set_dialect(int)':

-bash: syntax error near unexpected token `xmlrpc.o'

wasp@psa1:~/rtorrent-0.8.5$ /home/wasp/rtorrent-0.8.5/src/rpc/xmlrpc.cc:535: undefined reference to `xmlrpc_registry_set_dialect'

> /home/wasp/rtorrent-0.8.5/src/rpc/xmlrpc.cc:531: undefined reference to `xmlrpc_registry_set_dialect'

> rpc/libsub_rpc.a(xmlrpc.o): In function `rpc::xmlrpc_list_entry_to_value(_xmlrpc_env*, _xmlrpc_value*, int)':

-bash: command substitution: line 1: unexpected EOF while looking for matching `''

-bash: command substitution: line 3: syntax error: unexpected end of file

-bash: /home/wasp/rtorrent-0.8.5/src/rpc/xmlrpc.cc:535:: No such file or directory

wasp@psa1:~/rtorrent-0.8.5$ /home/wasp/rtorrent-0.8.5/src/rpc/xmlrpc.cc:102: undefined reference to `xmlrpc_read_i8'

> rpc/libsub_rpc.a(xmlrpc.o): In function `rpc::object_to_xmlrpc(_xmlrpc_env*, torrent::Object const&)':

-bash: syntax error near unexpected token `('

wasp@psa1:~/rtorrent-0.8.5$ /home/wasp/rtorrent-0.8.5/src/rpc/xmlrpc.cc:368: undefined reference to `xmlrpc_i8_new'

> rpc/libsub_rpc.a(xmlrpc.o): In function `rpc::xmlrpc_to_object(_xmlrpc_env*, _xmlrpc_value*, int, rpc::rt_triple<int, void*, void*>*)':

-bash: syntax error near unexpected token `('

wasp@psa1:~/rtorrent-0.8.5$ /home/wasp/rtorrent-0.8.5/src/rpc/xmlrpc.cc:248: undefined reference to `xmlrpc_read_i8'

> collect2: ld returned 1 exit status

> make[3]: *** [rtorrent] Error 1

> make[3]: Leaving directory `/home/wasp/rtorrent-0.8.5/src'

> make[2]: *** [all-recursive] Error 1

> make[2]: Leaving directory `/home/wasp/rtorrent-0.8.5/src'

-bash: command substitution: line 1: unexpected EOF while looking for matching `''

-bash: command substitution: line 5: syntax error: unexpected end of file

-bash: /home/wasp/rtorrent-0.8.5/src/rpc/xmlrpc.cc:248:: No such file or directory

wasp@psa1:~/rtorrent-0.8.5$ make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/wasp/rtorrent-0.8.5'

make: *** [all] Error 2

-bash: make[1]:: command not found

wasp@psa1:~/rtorrent-0.8.5$ make[1]: Leaving directory `/home/wasp/rtorrent-0.8.5'

> make: *** [all] Error 2

 

vet det står 0.8.5 men får det samme med 6.

Lenke til kommentar
Videoannonse
Annonse

prob 1 er nok noe feil med menu.lst din (Grub). sjekk at den leter etter partisjonen på rett disk. Lim menu.lst her om du er i tvil. problem 2, hvorfor ikke bare bruke pakkebrønnen til distroen du bruker, istedet for å kompilere den fra source?

Lenke til kommentar

# menu.lst - See: grub(8), info grub, update-grub(8)

# grub-install(8), grub-floppy(8),

# grub-md5-crypt, /usr/share/doc/grub

# and /usr/share/doc/grub-doc/.

 

## default num

# Set the default entry to the entry number NUM. Numbering starts from 0, and

# the entry number 0 is the default if the command is not used.

#

# You can specify 'saved' instead of a number. In this case, the default entry

# is the entry saved with the command 'savedefault'.

# WARNING: If you are using dmraid do not use 'savedefault' or your

# array will desync and will not let you boot your system.

default 0

 

## timeout sec

# Set a timeout, in SEC seconds, before automatically booting the default entry

# (normally the first entry defined).

timeout 3

 

## hiddenmenu

# Hides the menu by default (press ESC to see the menu)

hiddenmenu

 

# Pretty colours

#color cyan/blue white/blue

 

## password ['--md5'] passwd

# If used in the first section of a menu file, disable all interactive editing

# control (menu entry editor and command-line) and entries protected by the

# command 'lock'

# e.g. password topsecret

# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/

# password topsecret

 

#

# examples

#

# title Windows 95/98/NT/2000

# root (hd0,0)

# makeactive

# chainloader +1

#

# title Linux

# root (hd0,1)

# kernel /vmlinuz root=/dev/hda2 ro

#

 

#

# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

 

### 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/sda1 ro

## kopt_2_6_8=root=/dev/hdc1 ro

## kopt_2_6_8_2_686=root=/dev/hdc2 ro

# kopt=root=UUID=a2ec0cdd-b924-459f-a34e-b3be21ff6773 ro

 

## default grub root device

## e.g. groot=(hd0,0)

# groot=a2ec0cdd-b924-459f-a34e-b3be21ff6773

 

## 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

 

## specify if running in Xen domU or have grub detect automatically

## update-grub will ignore non-xen kernels when running in domU and vice versa

## e.g. indomU=detect

## indomU=true

## indomU=false

# indomU=detect

 

## 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 9.10, kernel 2.6.31-17-server

uuid a2ec0cdd-b924-459f-a34e-b3be21ff6773

kernel /boot/vmlinuz-2.6.31-17-server root=UUID=a2ec0cdd-b924-459f-a34e-b3be21ff6773 ro quiet splash

initrd /boot/initrd.img-2.6.31-17-server

 

title Ubuntu 9.10, kernel 2.6.31-17-server (recovery mode)

uuid a2ec0cdd-b924-459f-a34e-b3be21ff6773

kernel /boot/vmlinuz-2.6.31-17-server root=UUID=a2ec0cdd-b924-459f-a34e-b3be21ff6773 ro single

initrd /boot/initrd.img-2.6.31-17-server

 

title Ubuntu 9.10, kernel 2.6.28-16-server

uuid a2ec0cdd-b924-459f-a34e-b3be21ff6773

kernel /boot/vmlinuz-2.6.28-16-server root=UUID=a2ec0cdd-b924-459f-a34e-b3be21ff6773 ro quiet splash

initrd /boot/initrd.img-2.6.28-16-server

 

title Ubuntu 9.10, kernel 2.6.28-16-server (recovery mode)

uuid a2ec0cdd-b924-459f-a34e-b3be21ff6773

kernel /boot/vmlinuz-2.6.28-16-server root=UUID=a2ec0cdd-b924-459f-a34e-b3be21ff6773 ro single

initrd /boot/initrd.img-2.6.28-16-server

 

title Chainload into GRUB 2

root a2ec0cdd-b924-459f-a34e-b3be21ff6773

kernel /boot/grub/core.img

 

title Ubuntu 9.10, memtest86+

uuid a2ec0cdd-b924-459f-a34e-b3be21ff6773

kernel /boot/memtest86+.bin

 

### END DEBIAN AUTOMAGIC KERNELS LIST

 

 

 

blkid

 

/dev/sda1: UUID="a2ec0cdd-b924-459f-a34e-b3be21ff6773" TYPE="ext3"

/dev/sda5: UUID="b518ab5f-6482-4a86-ac69-ef370ccb3c86" TYPE="swap"

/dev/sdb1: UUID="0ec2f06a-5085-48f6-bbc1-f0da6a21b6f1" SEC_TYPE="ext2" TYPE="ext3"

/dev/sdc1: UUID="f06256d8-3d53-4b4e-a144-41ffe2d9e63e" SEC_TYPE="ext2" TYPE="ext3"

/dev/sdd1: UUID="d600d4a3-ed48-4ba9-a4da-5afe435d9bcd" SEC_TYPE="ext2" TYPE="ext3"

/dev/sde1: UUID="d736ebef-5a80-49f2-ac4c-1159ce622ed2" SEC_TYPE="ext2" TYPE="ext3"

/dev/sdf1: UUID="844f3136-f658-4e9d-94c5-213238e561eb" SEC_TYPE="ext2" TYPE="ext3"

/dev/sdg1: UUID="572db8bf-5210-4c24-9216-c8a1f6d90425" SEC_TYPE="ext2" TYPE="ext3"

 

edit: skal også være en scsi h disk , men er koblet ut for å få plass til cd rom

Endret av alexander86
Lenke til kommentar

i menu.lst på de ulike oppføringene så skal det ikke være: ".... root=UUID=..." men: ... root=/dev/disk/by-uuid/..."

 

eksempelvis:

 

title Ubuntu 9.10, kernel 2.6.31-17-server

kernel /boot/vmlinuz-2.6.31-17-server root=/dev/disk/by-uuid/a2ec0cdd-b924-459f-a34e-b3be21ff6773 ro quiet splash

initrd /boot/initrd.img-2.6.31-17-server

 

 

osv.. prøv det.

 

Dersm du ikke finner ut av det, les her: http://wiki.archlinux.org/index.php/GRUB2

Endret av serrghi
Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...