Find the answer to your Linux question:
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 28 of 28
you mean sdb3 right? Sorry, my mistake. If you haven't re-installed Bactrack yet, Post the contents of /etc/fstab file of BackTrack and menu.lst file of Ubuntu....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729

    you mean sdb3 right?
    Sorry, my mistake.
    If you haven't re-installed Bactrack yet, Post the contents of /etc/fstab file of BackTrack and menu.lst file of Ubuntu.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  2. #22
    Just Joined!
    Join Date
    Sep 2007
    Posts
    26
    Ahhhh, this seems to be getting worse, I reinstalled backtrack, and still had no luck booting it, but now when I tried to boot ubuntu, it failed doing something , but then I could resume the boot process. It said that apt-get couldn't be installed, and also my primary hard disk couldn't be mounted at all!! But then it said that press Control D to resume booting and it went fine... oh my god, I'm starting to think I should just run it off a liveCD, but I really don't want to give up now, here's the contents of menu.lst and fstab ----

    menu.lst
    *********************


    # menu.lst - See: grub(, info grub, update-grub(
    # grub-install(, grub-floppy(,
    # 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 change this entry to 'saved' 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 10

    ## 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/hda1 ro
    ## kopt_2_6_8=root=/dev/hdc1 ro
    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=a4a84767-dea8-454b-8fa5-3470d8185de3 ro

    ## Setup crashdump menu entries
    ## e.g. crashdump=1
    # crashdump=0

    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd1,0)

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

    ## ## End Default Options ##

    title Ubuntu, kernel 2.6.20-15-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a4a84767-dea8-454b-8fa5-3470d8185de3 ro quiet splash
    initrd /boot/initrd.img-2.6.20-15-generic
    quiet
    savedefault

    title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a4a84767-dea8-454b-8fa5-3470d8185de3 ro single
    initrd /boot/initrd.img-2.6.20-15-generic

    title Ubuntu, memtest86+
    root (hd0,0)
    kernel /boot/memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    title Backtrack 2
    root (hd0,2)
    kernel /boot/vmlinuz root= /dev/sdb3 ro
    initrd /boot/splash.initrd

    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title Other operating systems:
    root


    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda2
    title Windows XP Media Center Edition
    root (hd0,1)
    savedefault
    chainloader +1


    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda5
    title Microsoft Windows XP Embedded
    root (hd0,4)
    savedefault
    chainloader +1


    ******************************************




    fstab
    ************************************

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sdb1
    UUID=a4a84767-dea8-454b-8fa5-3470d8185de3 / ext3 defaults,errors=remount-ro 0 1
    # /dev/sdb3
    UUID=34a18243-bf3b-47f0-9c62-cb575f95c955 /backtrack ext3 defaults 0 2
    # /dev/sda1
    UUID=07D7-0102 /media/sda1 vfat defaults,utf8,umask=007,gid=46 0 1
    # /dev/sda2
    UUID=9ED020C3D020A38D /media/sda2 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
    /dev/sda4 /media/sda4 vfat defaults,utf8,umask=007,gid=46 0 1
    # /dev/sda5
    UUID=07D7-0102 /media/sda5 vfat defaults,utf8,umask=007,gid=46 0 1
    # /dev/sdb2
    UUID=ed3e91f8-ac4a-420c-b6bf-98f8dc5c9b58 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0


    *******************************************

  3. #23
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Did you change anything during installation this time?

    Remove initrd line under title BackTrack.
    Code:
    title BackTrack 2
    root (hd0,2)
    kernel /boot/vmlinuz ro root= /dev/sdb3
    There shouldn't be any space between root= and /dev/sdb3.

    Post error message here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #24
    Just Joined!
    Join Date
    Sep 2007
    Posts
    26
    no, I didn't change anything... ok, the error message is the same as always: ---

    RAMdisk: couldn't find valid ram disk image starting at 0
    VFS: Cannot open root device "sdb3" or unknown-block (0,0)
    Please append a correct "root=" boot option
    Kernel panic - not syncing : VFS: Unable to mount root fs on unknown block (0,0)

    except when I either use a rootnoverify statement or remove the initrd line (can't remember which one) , the RAMdisk line error isn't there, but the rest is as usual.

    Do you think it's something to do with Backtrack being on the third partition? Do I have to put it first? But this would mean it'll auto load the LILO bootloader right? Then how do I load Ubuntu... So maybe should I install backtrack first in the 3rd partition before installing ubuntu? But then how will my Hard disk boot up....

  5. #25
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    RAMdisk error pops because of initrd line only.
    VFS: Cannot open root device "sdb3" or unknown-block (0,0)
    According to error message, /dev/sdb3 is not / partition of backtrack. Boot up Ubuntu from External HD and check the output of sudo fdisk -l command. Does it list Partitions of External HD as sdb? check the output of df -h command too.

    Have you tried setting root=/dev/sda3 instead of /dev/sdb3 for BackTrack in menu.lst file of Ubuntu?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #26
    Just Joined!
    Join Date
    Sep 2007
    Posts
    26
    I've tried sda3, but it doesn't work, and I'm sure it's sdb3 cos fdisk -l output is : ---

    Disk /dev/sdb: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 1245 10000431 83 Linux
    /dev/sdb2 1246 1494 2000092+ 82 Linux swap / Solaris
    /dev/sdb3 1495 2102 4883760 83 Linux
    /dev/sdb4 2103 9727 61247812+ 5 Extended
    /dev/sdb5 2103 3347 10000431 83 Linux
    /dev/sdb6 3348 9727 51247318+ b W95 FAT32



    df -h output is : ---

    Filesystem Size Used Avail Use&#37; Mounted on
    /dev/sdb1 9.4G 2.0G 7.0G 22% /
    varrun 502M 88K 502M 1% /var/run
    varlock 502M 0 502M 0% /var/lock
    procbususb 502M 504K 501M 1% /proc/bus/usb
    udev 502M 504K 501M 1% /dev
    devshm 502M 0 502M 0% /dev/shm
    lrm 502M 33M 469M 7% /lib/modules/2.6.20-15-generic/volatile
    /dev/sdb5 9.4G 150M 8.8G 2% /media/disk
    /dev/sdb3 4.6G 3.0G 1.4G 69% /media/disk-1
    /dev/sdb6 49G 34G 16G 69% /media/disk-2


    I noticed that it mounted /sdb3 at /media/disk-1, could this be the reason? What do I have to do?
    I guess it didn't post my primary hard disk sda, cos it couldn't be mounted , I've been getting errors during ubuntu boot as I mentioned before...

    Also, I tried using these commands in the grub command prompt, here are the outputs: ---

    find /sbin/init --> (hd0,0) (hd0,2)
    find /vmlinuz --> (hd0,0)
    find /boot/vmlinuz ---> (hd0,2)

    also I checked

    find /boot/grub/menu.lst --> (hd0,0)

    I'm not sure if this is important, but when I pressed 'c' for command from the main grub boot list, it said 'unknown command' for find /vmlinuz and find /boot/vmlinuz. But when I pressed 'c' for command once I had pressed 'e' for backtrack boot details, it ran the find /vmlinuz and /boot/vmlinuz fine...

  7. #27
    Just Joined!
    Join Date
    Sep 2007
    Posts
    26
    I've just reinstalled ubuntu, and I think I'll leave backtrack out of the picture for now, maybe I'll install it later on in the future when I know what I'm doing

  8. #28
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    I have installed Backtrack in test machine a long time ago and simply adding title, root and kernel lines in other distro's menu.lst worked that time. I will try latest version this weekend and let you know.
    Sorry for not being helpful right now.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 3 of 3 FirstFirst 1 2 3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •