Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: (gived up)device order changed after boot up

  1. #1
    Join Date
    Oct 2013
    Beans
    8

    (gived up)device order changed after boot up

    Hi, first time post, not sure if I'm at the right section.

    I got a laptop with one storage, which I replaced it with a ssd.
    then I installed both ubuntu 12.04 and windows7,
    one day I found my disk space not enough, so I replace my cd-rom with a hdd, and it work well as usuall.
    then sometimes later I can't boot.

    I used window repair disk and I can boot into Windows.
    I've checked my bios, it's not detecting my ssd (even if I switch the ssd to the cdrom slot and put the hdd into the original slot)
    but I can use both ssd and hdd well in Windows(weird?)

    then I reconstruct my MBR in hdd and installed grub2, then configured, but I still can't get into ubuntu.
    after days of troubleshooting I think I found the problem:
    my device number changed during the boot.
    during boot( which I verified with Grub2 command line):my ssd is(hd1), hdd is (hd0);
    but then it changes sometimes later( I don't know in which stage it changes): ssd become (hd0), hdd become(hd1)

    I've edited and changed the entry of ubuntu in grub 2 menu, and set root to hd1(and tried hd0, too)
    no matter I set it's root to hd0 or hd1 it only loads the initrd and go into the a command prompt of initrd.
    I don't know why it just can't load the kernel.......I can't read the messages cuz I don't know how to scroll up....


    Pretty complicated, hope someone can help me...
    I've been troubleshooting it for few weeks and finnally decided to ask...
    Last edited by lou2; October 6th, 2013 at 05:11 PM.

  2. #2
    Join Date
    Sep 2008
    Location
    Chicago
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: device order changed after boot up

    Hi lou2 and welcome! Please boot from an active Unbuntu CD/DVD. Select try instead of install. After the dust settles open a terminal (ctrl+alt+t) and enter this command:
    Code:
    sudo fdisk -l
    Post the result here so we can see what's going on.
    In working with *nix...There be dragons. Newcomers: I recommend reading Linux is Not Windows (http://linux.oneandoneis2.org/LNW.htm) and The Linux Command Line (http://www.linuxcommand.org/tlcl.php) before beginning your quest for a better OS.

  3. #3
    Join Date
    Oct 2013
    Beans
    8

    Re: device order changed after boot up

    hi, thx for reply
    I forgot to metion that in order to install grub on boot drive, I installed a ubuntu on that drive, too
    dev/sda3/ : my windows 7 installation
    dev/sda4/ : data drive for windows
    dev/sda6/ : ubuntu 12.04 installation
    dev/sdb7/ : ubuntu 13.04 installation(not important, will format it if the problem is solved)
    dev/sdb3/ : data drive for ubuntu 12.04(which I formated and mounted for ubuntu 12.04 at the time it still worked)
    other ntfs partition on sdb is for data storage of windows 7


    Code:
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xd21767a9
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1            2048    35096575    17547264   27  Hidden NTFS WinRE
    /dev/sda2        35096576    35151871       27648    7  HPFS/NTFS/exFAT
    /dev/sda3   *    35151872   146303954    55576041+   7  HPFS/NTFS/exFAT
    /dev/sda4       146320017   234440703    44060343+   f  W95 Ext'd (LBA)
    /dev/sda5       146320080   207816839    30748380    7  HPFS/NTFS/exFAT
    /dev/sda6       207818752   226371583     9276416   83  Linux
    /dev/sda7       226385920   234440703     4027392   82  Linux swap / Solaris
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x566b9230
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1            2048    37750783    18874368   27  Hidden NTFS WinRE
    /dev/sdb2   *    37750784    37955583      102400    7  HPFS/NTFS/exFAT
    /dev/sdb3        38186552   976768064   469290756+   f  W95 Ext'd (LBA)
    /dev/sdb5        38186554   425449394   193631420+   7  HPFS/NTFS/exFAT
    Partition 5 does not start on physical sector boundary.
    /dev/sdb6       507364893   976768064   234701586    7  HPFS/NTFS/exFAT
    Partition 6 does not start on physical sector boundary.
    /dev/sdb7       425449472   507363327    40956928   83  Linux
    
    Partition table entries are not in disk order
    
    Disk /dev/sdc: 4043 MB, 4043308544 bytes
    255 heads, 63 sectors/track, 491 cylinders, total 7897087 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x91f72d24
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1   *          63     7897086     3948512    c  W95 FAT32 (LBA)

  4. #4
    Join Date
    Sep 2008
    Location
    Chicago
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: device order changed after boot up

    The bootable partitions on your system are /dev/sda3, /dev/sdb2 and /dev/sdc1. This is at variance with your intentions. I think running the boot-repair disk might help untangle the mess. You only need 2 bootable partitions: one for Windows and one for Ubuntu. If boot-repair doesn't fix the problem, write down the URL it gives you when it finishes. It will take this form: paste.ubuntu.com/xxxxxxxx. Post that in this thread. You can also email the same URL to boot.repair@gmail.com with an explanation of the problem. Dual-booting Ubuntu/Windows is normally pretty reliable, but it can quickly go south into deep water. That seems to be what happened here. Don't give up!
    Last edited by whitesmith; October 2nd, 2013 at 07:35 PM.
    In working with *nix...There be dragons. Newcomers: I recommend reading Linux is Not Windows (http://linux.oneandoneis2.org/LNW.htm) and The Linux Command Line (http://www.linuxcommand.org/tlcl.php) before beginning your quest for a better OS.

  5. #5
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: device order changed after boot up

    Before doing anything else, back up your critical data right now. If you do not have Win7 OS installation disks, create them right now. Do not make any further changes to your system until you are absolutely confident that you have made all provisions and completely shielded yourself against catastrophe. I trust that you took these steps before adding your new drive. If not, you were lighting matches in a room filled with gasoline.

    I am out of my depth firstly with Win7 and secondly with the complexity of both your drives, but I assume that you are using Win 7's Dynamic Disk? All I know is that this forum used to be filled with issues from trying to install Ubuntu onto Win 7 Dynamic Disks. Most solutions involved converting the dynamic disk back to a basic disk before anything would behave. **NOTE** This used to be a big issue, but I haven't seen anything like it for a long time, so perhaps Ubuntu has found a way to live with Dynamic Disks in the newest versions. I sure hope oldfred sees this thread and gives you the benefit of his knowledge. This is a very old thread I found dealing with the matter. **WARNING** It is meant only as food for thought because it may be completely obsolete. My recommendation is to not do anything further until other posters--more knowledgeable than me--can give you solid feedback and instructions.

  6. #6
    Join Date
    Sep 2008
    Location
    Chicago
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: device order changed after boot up

    I totally concur with DuckHook. Backing up is so important I give it top billing in my signature line. The site I mention next is intended to inform the unwary that Linux isn't "free Windows," or anything of the kind. Changing OSes is a serious step that deserves careful--and enlightened--attention before anything further is done. "Jump right in" rarely works with matters as complex as this...even though the new OS is both free and enormously feature-rich compared to poor old Windows.
    Last edited by whitesmith; October 2nd, 2013 at 08:38 PM.
    In working with *nix...There be dragons. Newcomers: I recommend reading Linux is Not Windows (http://linux.oneandoneis2.org/LNW.htm) and The Linux Command Line (http://www.linuxcommand.org/tlcl.php) before beginning your quest for a better OS.

  7. #7
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: device order changed after boot up

    ...we are legion!

  8. #8
    Join Date
    Oct 2013
    Beans
    8

    Re: device order changed after boot up

    thx for reply
    I've run the boot repair from live usb
    it seems to have reinstalled my grub and the new menu have lots more entrys...
    but I still can get into my ubuntu 12.04.(It's on the menu)
    when I select that entry, it loads into the initrd command line ...

    http://paste.ubuntu.com/6187479/

  9. #9
    Join Date
    Jan 2009
    Location
    Belgium (Ghent)
    Beans
    481
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: device order changed after boot up

    How you made your partitions? Because I see this:
    /dev/sdb4 146,320,017 234,440,703 88,120,687 f W95 Extended (LBA)
    and:
    /dev/sdc3 38,186,552 976,768,064 938,581,513 f W95 Extended (LBA)

    Your extended partitions are not from Linux. Normally it's just say: 5 Extended ,and not: f W95 Extended (LBA)
    Your boot-repair log rapport of that.
    So maybe there is the problem?
    Somebody with more experience with that? ...
    Dutch speaking; understand English, writing is a bit difficult. Member of: http://forum.ubuntu-nl.org
    be Open be Free be Ubuntu Reg. User #485479
    Ubuntu 13.10 Saucy Salamander - Ubuntu 14.04 Trusty Tahr

  10. #10
    Join Date
    Oct 2013
    Beans
    8

    Re: device order changed after boot up

    hi, heir4c
    I'm not sure how the partiontion was made....
    but I didn't make those partition.
    And it start from almost the same sector of the other partition( ie./dev/sdb4 146,320,017,/dev/sdb5 146,320,080)
    maybe it's automatically generated?


Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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