Find the answer to your Linux question:
Page 1 of 5 1 2 3 4 5 LastLast
Results 1 to 10 of 47
Can anyone help me boot into Linux Mint without pulling out one drive. Details on request. My comments are being rejected as illegal. If you log into the linuxquestions site ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    72

    boot parameters


    Can anyone help me boot into Linux Mint without pulling out one drive. Details on request. My comments are being rejected as illegal. If you log into the linuxquestions site you can find the details under my username.

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Quote Originally Posted by archp2008 View Post
    Can anyone help me boot into Linux Mint without pulling out one drive. Details on request. My comments are being rejected as illegal. If you log into the linuxquestions site you can find the details under my username.
    Hello and welcome.
    I refuse to browse over to linuxquestions, they are our competitors after all. But if you want to paste your info here, I'll be more than happy to try and help you out. You might try some boot parameters at the BOOT:
    If you depress F6, you can add any boot options needed.
    What's the problem?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    72
    Thanks for the reply. I tried pasting the information earlier, but it was blocked as being the same as a posting a URL. I'll try it again as an unformatted text attachment. Sorry about the loss of formatting. RTF files are not allowable either.
    Attached Files Attached Files

  4. #4
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Quote Originally Posted by archp2008 View Post
    Thanks for the reply. I tried pasting the information earlier, but it was blocked as being the same as a posting a URL. I'll try it again as an unformatted text attachment. Sorry about the loss of formatting. RTF files are not allowable either.
    I'm posting it for you, so others may be able to help.
    Changing boot parameters in grub

    Hello,



    I have my Linux Mint booting successfully when it's installed on one of two SATA drives. There is also a fourth drive (an IDE). I order to get it to work I have to disconnect the third SATA drive. The boot parameters in grub for that are working now for just the two SATA drives (plus the IDE drive) are (hd0,1). If I reconnect my third SATA drive, which I would like to do, Mint will not boot. I have had this problem before and it took me a very long time to find the parameters that would work when I added the second SATA drive. Can someone please tell me what (hd0,1) should be changed to for Linux to boot when the third SATA drive is re-connected. I have no idea how to ascertain what the drive numbers are, and I don't understand the significance of (hd0,1). Thanks in advance for any assistance on this.



    Welcome to LQ---this sounds like a known issue with mixed SATA and IDE drives. There are at least two solutions:



    1. Use the UUID designation for the drives.



    2. Figure out how the drives are being mapped and adjust /boot/grub/menu.lst accordingly.



    To see if you have UUID, go to /dev/disk. There will be 3 folders:

    by-id by-path by-uuid



    To have grub use the UUID, use this in the kernel line in menu.lst:

    root=/dev/disk/by-uuid/<uuid_of_your_partition>



    The (hdX,Y) form is the GRUB equivalent of sda1, hda2, etc. Because grub counts from zero, the numbering is different---for example:

    /dev/sda1 = (hd0,0)



    /dev/hdb3 = (hd1,2)



    Thanks for the reply and the welcome. I looked into UUID but don't know what drives these numbers correspond with. In labels the names are familiar as they are the same as in Windows, but the Linux partitions are not named. My menu.1st has ... root=dev/sda2 I can easily figure out the ID of the drives by the physical size. Mint is on the 640 gb drive which is shown having 7 partitions, but I don't know what is on each one. I presume, but I'm not sure, that Mint itself is installed on the first 3 partitions. How do I find the sd and hd designations for the drives? I thought that all I had to do was to change the (hd0,1) so that the 0,1 are different numbers.



    Go get this, run it and post the RESULTS.txt it generates.

    That way we'll know your setup and won't have to guess.

    ============================= Boot Info Summary: ==============================



    => Grub0.97 is installed in the MBR of /dev/sda and looks on the same drive

    in partition #2 for /boot/grub/stage2 and /boot/grub/menu.lst.

    => Windows is installed in the MBR of /dev/sdb

    => Windows is installed in the MBR of /dev/sdc



    sda1: __________________________________________________ _______________________



    File system: swap

    Boot sector type: -

    Boot sector info:



    sda2: __________________________________________________ _______________________



    File system: ext3

    Boot sector type: -

    Boot sector info:

    Operating System: Ubuntu 8.04.1

    Boot files/dirs: /boot/grub/menu.lst /etc/fstab



    sda3: __________________________________________________ _______________________



    File system: ext3

    Boot sector type: -

    Boot sector info:

    Operating System:

    Boot files/dirs:



    sda4: __________________________________________________ _______________________



    File system: Extended Partition

    Boot sector type: -

    Boot sector info:



    sda5: __________________________________________________ _______________________



    File system: ntfs

    Boot sector type: Windows Vista

    Boot sector info: According to the info in the boot sector, sda5 starts

    at sector 63.

    Operating System:

    Boot files/dirs:



    sda6: __________________________________________________ _______________________



    File system: ntfs

    Boot sector type: Windows Vista

    Boot sector info: According to the info in the boot sector, sda6 starts

    at sector 63.

    Operating System:

    Boot files/dirs:



    sdb1: __________________________________________________ _______________________



    File system: ntfs

    Boot sector type: Windows Vista

    Boot sector info: No errors found in the Boot Parameter Block.

    Operating System: Windows Vista

    Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe



    sdb2: __________________________________________________ _______________________



    File system: ntfs

    Boot sector type: Windows Vista

    Boot sector info: No errors found in the Boot Parameter Block.

    Operating System: Windows Vista

    Boot files/dirs: /Windows/System32/winload.exe



    sdb3: __________________________________________________ _______________________



    File system: ntfs

    Boot sector type: Windows Vista

    Boot sector info: No errors found in the Boot Parameter Block.

    Operating System:

    Boot files/dirs:



    sdb4: __________________________________________________ _______________________



    File system: ntfs

    Boot sector type: Windows Vista

    Boot sector info: No errors found in the Boot Parameter Block.

    Operating System:

    Boot files/dirs:



    sdc1: __________________________________________________ _______________________



    File system: Extended Partition

    Boot sector type: -

    Boot sector info:



    sdc5: __________________________________________________ _______________________



    File system: ntfs

    Boot sector type: Windows Vista

    Boot sector info: According to the info in the boot sector, sdc5 starts

    at sector 63.

    Operating System:

    Boot files/dirs:



    sdc6: __________________________________________________ _______________________



    File system: ntfs

    Boot sector type: Windows Vista

    Boot sector info: According to the info in the boot sector, sdc6 starts

    at sector 63.

    Operating System:

    Boot files/dirs:



    =========================== Drive/Partition Info: =============================



    Drive: sda ___________________ __________________________________________________ ___



    Disk /dev/sda: 640.1 GB, 640135028736 bytes

    255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors

    Units = sectors of 1 * 512 = 512 bytes

    Disk identifier: 0xdd480922



    Partition Boot Start End Size Id System



    /dev/sda1 * 63 1,012,094 1,012,032 82 Linux swap / Solaris

    /dev/sda2 1,012,095 11,759,579 10,747,485 83 Linux

    /dev/sda3 11,759,580 16,787,924 5,028,345 83 Linux

    /dev/sda4 16,787,925 1,250,258,624 1,233,470,700 5 Extended

    /dev/sda5 16,787,988 269,458,244 252,670,257 7 HPFS/NTFS

    /dev/sda6 269,458,308 1,250,258,624 980,800,317 7 HPFS/NTFS





    Drive: sdb ___________________ __________________________________________________ ___



    Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes

    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors

    Units = sectors of 1 * 512 = 512 bytes

    Disk identifier: 0x5d7d47e1



    Partition Boot Start End Size Id System



    /dev/sdb1 * 63 63,328,229 63,328,167 7 HPFS/NTFS

    /dev/sdb2 63,328,230 107,105,354 43,777,125 7 HPFS/NTFS

    /dev/sdb3 107,105,355 778,202,616 671,097,262 7 HPFS/NTFS

    /dev/sdb4 778,204,665 1,953,520,064 1,175,315,400 7 HPFS/NTFS





    Drive: sdc ___________________ __________________________________________________ ___



    Disk /dev/sdc: 80.0 GB, 80026361856 bytes

    255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors

    Units = sectors of 1 * 512 = 512 bytes

    Disk identifier: 0xba1a5abd



    Partition Boot Start End Size Id System



    /dev/sdc1 * 16,065 156,296,384 156,280,320 5 Extended

    /dev/sdc5 16,128 78,686,369 78,670,242 7 HPFS/NTFS

    /dev/sdc6 78,686,433 156,296,384 77,609,952 7 HPFS/NTFS





    blkid -c /dev/null: __________________________________________________ __________



    /dev/sda1: TYPE="swap" UUID="fb9eb8d8-2756-4703-9af5-477dce4d476c"

    /dev/sda2: UUID="1f934d65-618f-4cb3-8e06-301f265e79d0" TYPE="ext3"

    /dev/sda3: UUID="5560f64f-217b-4cbb-9fcc-5c10b810118c" TYPE="ext3"

    /dev/sda5: UUID="44E130AFA8CEA628" LABEL="Vol_F-Movies2" TYPE="ntfs"

    /dev/sda6: UUID="901C34721C345606" LABEL="Vol_MOVIES" TYPE="ntfs"

    /dev/sdb1: UUID="7890BA4190BA05A2" LABEL="Vista64" TYPE="ntfs"

    /dev/sdb2: UUID="96E4E85AE4E83DDD" LABEL="Win7Beta" TYPE="ntfs"

    /dev/sdb3: UUID="226AA1626AA13407" LABEL="Backups" TYPE="ntfs"

    /dev/sdb4: UUID="5A0C57E40C57BA29" LABEL="Vol_movies3" TYPE="ntfs"

    /dev/sdc5: UUID="0E08F98808F96F59" LABEL="Our_Photos" TYPE="ntfs"

    /dev/sdc6: UUID="ECE3E8C52282B5B6" LABEL="Home_Videos" TYPE="ntfs"



    =============================== "mount" output: ===============================



    /dev/sda2 on / type ext3 (rw,relatime,errors=remount-ro)

    proc on /proc type proc (rw,noexec,nosuid,nodev)

    /sys on /sys type sysfs (rw,noexec,nosuid,nodev)

    varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)

    varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)

    udev on /dev type tmpfs (rw,mode=0755)

    devshm on /dev/shm type tmpfs (rw)

    devpts on /dev/pts type devpts (rw,gid=5,mode=620)

    lrm on /lib/modules/2.6.24-16-generic/volatile type tmpfs (rw)

    /dev/sda3 on /home type ext3 (rw,relatime)

    gvfs-fuse-daemon on /home/arch/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=arch)





    =========================== sda2/boot/grub/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-legacy-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



    gfxmenu=/etc/grub/message.elyssa



    ## timeout sec

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

    # (normally the first entry defined).

    timeout 5



    # 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=/dev/sda2 ro



    ## default grub root device

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

    # groot=(hd0,1)



    ## 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 mode) 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 Linux Mint, kernel 2.6.24-16-generic

    root (hd0,1)

    kernel /boot/vmlinuz-2.6.24-16-generic root=/dev/sda2 ro quiet splash

    initrd /boot/initrd.img-2.6.24-16-generic



    title Linux Mint, kernel 2.6.24-16-generic (recovery mode)

    root (hd0,1)

    kernel /boot/vmlinuz-2.6.24-16-generic root=/dev/sda2 ro single

    initrd /boot/initrd.img-2.6.24-16-generic



    title Linux Mint, kernel memtest86+

    root (hd0,1)

    kernel /boot/memtest86+.bin



    ### END DEBIAN AUTOMAGIC KERNELS LIST



    =============================== sda2/etc/fstab: ===============================



    # /etc/fstab: static file system information.

    #

    # <file system> <mount point> <type> <options> <dump> <pass>

    proc /proc proc defaults 0 0

    # /dev/sda2

    UUID=1f934d65-618f-4cb3-8e06-301f265e79d0 / ext3 relatime,errors=remount-ro 0 1

    # /dev/sda3

    UUID=5560f64f-217b-4cbb-9fcc-5c10b810118c /home ext3 relatime 0 2

    # /dev/sda1

    UUID=fb9eb8d8-2756-4703-9af5-477dce4d476c none swap sw 0 0

    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0



    =================== sda2: Location of files loaded by Grub: ===================





    .8GB: boot/grub/menu.lst

    .8GB: boot/grub/stage2

    1.6GB: boot/initrd.img-2.6.24-16-generic

    1.6GB: boot/initrd.img-2.6.24-16-generic.bak

    .9GB: boot/vmlinuz-2.6.24-16-generic

    1.6GB: initrd.img

    .9GB: vmlinuz

    =======Devices which don't seem to have a corresponding hard drive==============



    sdd sde



    Thanks for this. Remember I had to disconnect one of the SATA drives to boot into Linux. This is what I get with that one drive disconnected.



    Stick the other drive in and re-run the script from a liveCD - let's see the RESULTS.txt from that as well.

    Did you have a look at those listings ?.

    Adding that disk has changed the (BIOS) addressing: was

    Code:



    /dev/sda -> the 640 Gig (with Mint presumably)

    /dev/sdb -> The Terabyte

    /dev/sdc -> the 80 Gig



    becomes:

    Code:



    /dev/sda -> the 80 Gig

    /dev/sdb -> the 320 Gig

    /dev/sdc -> the 640 Gig

    /dev/sdd -> The Terabyte



    I'd be thinking you are going to have to by by-id to get around something like this.



    Thanks for looking at this again. Can I do this? Sorry, I don't catch on to what you mean by, "by by-id."





    Code:



    ls -al /dev/disk/by-uuid/



    These symlinks will tell you which disks have what uuid. If you can't work out which is which by the /dev/xxx stuff, mount them, see whats what.

    Ubuntu (and thus presumably Mint) supports UUID in the initrd, so might be the better option for you. You can use UUID to define the (grub) root, and also root=UUID=?????? for the mount in menu.lst. I don't like it because UUIDs can change - especially swap if you happen to install a second distro.

    Doesn't help with the boot disk (sda) changing device though - its hard to write the (latter) MBR to point to the correct partition.



    (BTW, by-id is also under /dev/disk)

    arch@arch-desktop:~$ ls -al /dev/disk/by-uuid/

    total 0

    drwxr-xr-x 2 root root 340 2009-06-03 19:42 .

    drwxr-xr-x 6 root root 120 2009-06-03 19:42 ..

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 0628CBA728CB9459 -> ../../sdb1

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 0E08F98808F96F59 -> ../../sda5

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 1EA8E047A8E01ED1 -> ../../sdb2

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 1f934d65-618f-4cb3-8e06-301f265e79d0 -> ../../sdc2

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 226AA1626AA13407 -> ../../sdd3

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 3e854ee7-c2d9-4eed-a70b-ab742c2a88e2 -> ../../sdb5

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 44E130AFA8CEA628 -> ../../sdc5

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 5560f64f-217b-4cbb-9fcc-5c10b810118c -> ../../sdc3

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 5A0C57E40C57BA29 -> ../../sdd4

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 7890BA4190BA05A2 -> ../../sdd1

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 901C34721C345606 -> ../../sdc6

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 96E4E85AE4E83DDD -> ../../sdd2

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 d23f4423-71f5-4588-a9d3-2845cacce7d2 -> ../../sdb6

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 ECE3E8C52282B5B6 -> ../../sda6

    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 fb9eb8d8-2756-4703-9af5-477dce4d476c -> ../../sdc1

    arch@arch-desktop:~$

    archp2008 is offline Reply With Quote



    Sorry, if you haven't figured it out by now, I'm totally illiterate in Linux. You will need to tell me exactly what to change in menu.1st for Mint. Unless I Google it, I don't even know what to do to "mount" a disk.

    Is all that I have to do is to type in "root=UUID=??????" substituting the the UUID numbers for the ????? for the drive that Mint is installed on? I'm about to try installing a new Windows OS

    on my IDE drive. I guess that won't screw things up any further. If I have to unplug the first SATA drive to get MINT, it's not a big deal, just another annoyance.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  5. #5
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    It's kind of difficult to figure this out, can you just post the output of these commands please?
    Code:
    sudo fdisk -l
    (thats a lowercase L)
    Code:
    cat /boot/grub/grub.lst
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  6. #6
    Just Joined!
    Join Date
    Nov 2008
    Posts
    72
    I tried to attach the results from Ubuntu (all drives attached) but 20 kb was too large a text file. This forum is not usable - way too many restrictions!

  7. #7
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,040
    Quote Originally Posted by archp2008 View Post
    I tried to attach the results from Ubuntu (all drives attached) but 20 kb was too large a text file. This forum is not usable - way too many restrictions!
    All you needed to do was post command outputs ...
    From your txt file (but fdisk -l output would have been better) ...
    Code:
    Disk /dev/sda: 640.1 GB, 640135028736 bytes
    255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0xdd480922
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *             63     1,012,094     1,012,032  82 Linux swap / Solaris
    /dev/sda2           1,012,095    11,759,579    10,747,485  83 Linux
    /dev/sda3          11,759,580    16,787,924     5,028,345  83 Linux
    /dev/sda4          16,787,925 1,250,258,624 1,233,470,700   5 Extended
    /dev/sda5          16,787,988   269,458,244   252,670,257   7 HPFS/NTFS
    /dev/sda6         269,458,308 1,250,258,624   980,800,317   7 HPFS/NTFS
    
    Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x5d7d47e1
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdb1    *             63    63,328,229    63,328,167   7 HPFS/NTFS
    /dev/sdb2          63,328,230   107,105,354    43,777,125   7 HPFS/NTFS
    /dev/sdb3         107,105,355   778,202,616   671,097,262   7 HPFS/NTFS
    /dev/sdb4         778,204,665 1,953,520,064 1,175,315,400   7 HPFS/NTFS
    
    Disk /dev/sdc: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0xba1a5abd
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdc1    *         16,065   156,296,384   156,280,320   5 Extended
    /dev/sdc5              16,128    78,686,369    78,670,242   7 HPFS/NTFS
    /dev/sdc6          78,686,433   156,296,384    77,609,952   7 HPFS/NTFS
    grub menu.lst contents
    Code:
    =========================== sda2/boot/grub/menu.lst: ===========================
    
    # 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-legacy-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
    
    gfxmenu=/etc/grub/message.elyssa
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout        5
    
    # 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=/dev/sda2 ro
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,1)
    
    ## 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 mode) 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        Linux Mint, kernel 2.6.24-16-generic
    root        (hd0,1)
    kernel        /boot/vmlinuz-2.6.24-16-generic root=/dev/sda2 ro quiet splash
    initrd        /boot/initrd.img-2.6.24-16-generic
    
    title        Linux Mint, kernel 2.6.24-16-generic (recovery mode)
    root        (hd0,1)
    kernel        /boot/vmlinuz-2.6.24-16-generic root=/dev/sda2 ro single
    initrd        /boot/initrd.img-2.6.24-16-generic
    
    title        Linux Mint, kernel memtest86+
    root        (hd0,1)
    kernel        /boot/memtest86+.bin
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    Code:
    (BTW, by-id is also under /dev/disk)
    arch@arch-desktop:~$ ls -al /dev/disk/by-uuid/
    total 0
    drwxr-xr-x 2 root root 340 2009-06-03 19:42 .
    drwxr-xr-x 6 root root 120 2009-06-03 19:42 ..
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 0628CBA728CB9459 -> ../../sdb1
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 0E08F98808F96F59 -> ../../sda5
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 1EA8E047A8E01ED1 -> ../../sdb2
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 1f934d65-618f-4cb3-8e06-301f265e79d0 -> ../../sdc2
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 226AA1626AA13407 -> ../../sdd3
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 3e854ee7-c2d9-4eed-a70b-ab742c2a88e2 -> ../../sdb5
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 44E130AFA8CEA628 -> ../../sdc5
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 5560f64f-217b-4cbb-9fcc-5c10b810118c -> ../../sdc3
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 5A0C57E40C57BA29 -> ../../sdd4
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 7890BA4190BA05A2 -> ../../sdd1
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 901C34721C345606 -> ../../sdc6
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 96E4E85AE4E83DDD -> ../../sdd2
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 d23f4423-71f5-4588-a9d3-2845cacce7d2 -> ../../sdb6
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 ECE3E8C52282B5B6 -> ../../sda6
    lrwxrwxrwx 1 root root 10 2009-06-03 19:42 fb9eb8d8-2756-4703-9af5-477dce4d476c -> ../../sdc1
    arch@arch-desktop:~$
    ...

    With all drives connected you need to boot Linux (either from a hard drive or live CD) and post the output of
    Code:
    sudo grub
    find /boot/grub/menu.lst
    quit
    Paste the output you get straight after the above find command. Although you can replace sda1 etc references in /etc/fstab and /boot/grub/menu.lst with uuid you will still need to use grub notation eg (hd0,1).

  8. #8
    Just Joined!
    Join Date
    Nov 2008
    Posts
    72
    When I boot into the other Linux Distro (Ubuntu) which is on the 320 gb drive I get this: (hd2,1) The Mint is on the 640 gb drive. I'm not sure if the Mint CD I have is bootable as a live CD or not. I wil try that as well and repost. Thanks

  9. #9
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,040
    Booting from Ubuntu with all drives connected what is the full output you get for
    Code:
    grub
    find /boot/grub/menu.lst
    after you quit grub
    what is the output of
    Code:
    mount
    Given the above info we should be able to post modifications required to Mint grub menu.lst and fstab files.

  10. #10
    Just Joined!
    Join Date
    Nov 2008
    Posts
    72
    In the Live CD it came back (hd1,1)
    I'll go back into the Live CD now and try mount
    Thanks

Page 1 of 5 1 2 3 4 5 LastLast

Posting Permissions

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