Ubuntu Installation :: How Does GRUB Enumerate Drives
Jan 21, 2011I need to know how GRUB is enumerating my drives. My disk layout as seen by the System Monitor is thulsy (??):
[Code]...
I need to know how GRUB is enumerating my drives. My disk layout as seen by the System Monitor is thulsy (??):
[Code]...
I installed Ubuntu 9.10 to my USB-HDD. After upadte, ubuntu can`t load with error:
usb 5-1: device description read/64: error -32
usb 5-1: device description read/8: error -71
hub 5-0:1.0: unable to enumerate USB device on port 1
The boot stopped after this strings.I reinstall the system, and I have this problem again.
I'm having some issues getting Ubuntu to boot. I've installed it a bunch of times before, but dual booting and not. Right now though, I'm having issues installing it along with Windows 7, on separate hard drives. Here's my current configuration:
60GB SSD with windows 7
500GB HDD, NTFS, windows 7 data
I bought a 1TB HDD that I want Ubuntu on, but I only want Ubuntu to use 100 GB. I want the other 900GB for Windows 7. So, I put in the Ubuntu CD, chose to edit the partitions manually in the 1TB HDD, created a 100GB ext4 primary partition for linux and a 2GB swap partition, leaving the other 900GB unallocated. Ubuntu seemed to install fine, said it succeeded, and asked me to reboot. When I did, however, my computer boots straight into Windows (no GRUB screen at all). I've tried changing the boot priority to all three of my installed drives from BIOS and tried putting GRUB on both my SSD and 1TB HDD.
I have two hard drives windows 7 is on one of them and Ubuntu 9.10 is on the other. Both drives are 320GB, but different models of drives by Seagate. Both drives are detected by the BIOS and both drives are detected by Windows, but only one drive is detected by Ubuntu during the installation process. I had to literally disconnect the Windows drive to get Ubuntu to recognize the drive I wanted it on. Now that Ubuntu is completely installed and a new Kernel has been downloaded and installed it finally recognizes both drives as existing.
There is some kind of problem with the Installer and the original Kernel that kept it from seeing the second drive. I will literally have to manually edit Grub to get it to boot the Windows drive. How do I edit Grub? and what kind of Grub command would do the trick? I searched for "multi-boot" and literally read them all, there was one thread about multi-boot on multi-drives, but it did not fit because the Installer recognized both drives with that thread. I have to change the boot order in the BIOS to get the drive to boot that I want currently.
I have 3 hard drives installed to my system, 1TB, 2TB and 500GB drives with the following configuration:
ledi@ledi-ubuntu:~$ sudo parted /dev/sda print
Model: ATA SAMSUNG HD103UJ (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
[Code]...
I can boot to the Ubuntu installation in the 2TB drive. My problem reversed when I reinstalled grub to one of the Ubuntu installations in the 1TB drive. I can boot to any of the OS's in the 1TB drive, but not to the Ubuntu in the 2TB drive. The error message is the same as above. I have no idea what am I doing wrong and I would be really grateful for any assistance.
I currently have a clean installation of Windows on the Primary drive (13gbs) and I want to install Fedora 11 on the other (7gbs). Should I install grub on the Windows hard drive or will Windows hate on me for that? Earlier I tried installing grub on the slave with the Fedora system, but I had trouble configuring Grub in a way that it would understand and I ended up messing up the MBRs of both hard drives.
View 1 Replies View Relatedi have recently setup and installed Ubuntu 9.04 on a virtulal drive usingVMWare 6.04, installed the desktop gui as well, I need to add other drives for data and loggng, which I did in the VMWare side. I can see the 2 drives in ubuntu, but can not access them, I get he unable to mount location when I try. How can resolve this please as I need these to virtual drives to be used as data drives.
View 1 Replies View RelatedDoing a dmesg I can see following lines
[ 130.876406] hub 1-0:1.0: unable to enumerate USB device on port 4
[ 130.876453] usb 3-2: USB disconnect, address 6
[ 131.200399] hub 1-0:1.0: unable to enumerate USB device on port 4
[ 131.396382] hub 1-0:1.0: unable to enumerate USB device on port 4
[code]....
That is what I have exactly pluged, the webcam on the top of my screen and an external mouse. Btw, I can plug USB devices with no problem, so I am skiping this error since long time ago, but I don't understand this message and I would love to do it.
(tangent to my other thread "Karmic -> Lucid not booting"). I have four hard drives on a Lucid box, and (as it happens) the fourth drive is the boot and root. Could I also install grub on the other three (ext4) hard drives, keeping the same root? Will this disturb the data there? How would the machine decide which copy to use, anyway?
View 2 Replies View RelatedRecently my Ubuntu 10.04 was booting slow and to figure out what was going wrong, I booted Ubuntu in text mode. There I found it was hanging on for 5-6 sec showing "unable to enumerate usb device to Port 1". I know it has something to do with Port1 / usb device, but could not understand and solve it.
View 3 Replies View RelatedI noticed this message "hub 1-0:1.0: unable to enumerate USB device on port 4" appear before the kernel says "no resume image found loading normal init" or something along these lines. Basically what I mean is, this message shows up whenever the kernel loads. So I checked if anything is logged in /var/log/messages (are messages like these logged???), did not find anything in the log.
I then used this command, which showed up the message I was looking for.
dmesg | grep -i enumerate [ 2.379748] hub 1-0:1.0: unable to enumerate USB device on port 4
My USB mouse and other USB hard drives are working fine, without any problem. I just wanted to know if this is some kind of bug. I did some search I found this link , [URL], where this kind of bug was discussed. Looks like they closed the bug.
here is my lspci output:
$ lspci
00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
[Code].....
i have this error in my log but i don't know why?
Quote:
Jun 19 20:34:08 localhost kernel: [352155.875643] hub 2-1:1.0: unable to enumerate USB device on port 2
Jun 19 20:34:08 localhost kernel: [352155.851515] usb 2-1.2: new low speed USB device using ehci_hcd and address 17
Jun 19 20:34:08 localhost kernel: [352155.677964] usb 2-1.2: device descriptor read/64, error -32
Jun 19 20:34:08 localhost kernel: [352155.503404] usb 2-1.2: device descriptor read/64, error -32
[code]....
The Motherboard is a Intel Desktop Board DH55TC, Sockel 1156, mATX, HDMI
After installation I boot a few times and used F15 on my Dell Inspiron 1564. But now I can't boot anymore. The screen just shows "unable to enumerate USB device on Port 4" and just hangs there with a blinking cursor below that line. I have no USB devices attached though.
View 2 Replies View RelatedI'm running Slackware 13.37 64 bit. I run it on an HP2945SE AMD Turion x2. I am getting an error during boot up unable to enumerate USB device on port 5. It filters throughout the rest of the boot up commands / results. It doesn't seem to matter if things are plugged up to the USB ports or not. Also it doesn't seem to affect anything on the computer. Its just irritating.
View 2 Replies View RelatedI have a problem with a VM running Centos 5.3 on a Centos 5.2 hypervisor. Any kernel install makes the system unbootable and I have to copy an old /boot directory to get it to boot again. After some investigation I found that grub was always failing. These are the partitions I have. xvda is the OS virtual drive. xvda1 is the /boot partitition and xvda2 is the LVM partition. A standard default install.
cat /proc/partitions
major minor #blocks name
202 0 14648448 xvda
202 1 104391 xvda1
202 2 14538825 xvda2
202 16 195313152 xvdb
202 17 195310206 xvdb1
253 0 11337728 dm-0
253 1 2031616 dm-1
253 2 190840832 dm-2
Apparently, this file could be suspect. But it seems to be OK according to what I have read.
cat /boot/grub/device.map
# this device map was generated by anaconda
(hd0) /dev/xvda
If I try to re-install grub I get...
Attempt 1)
grub-install hd0
/dev/xvda1 does not have any corresponding BIOS drive.
Attempt 2)
grub-install /dev/xvda
expr: non-numeric argument
/dev/xvda1 does not have any corresponding BIOS drive.
Attempt 3)
grub-install --recheck hd0
Probing devices to guess BIOS drives. This may take a long time.
No suitable drive was found in the generated device map.
Reverting to backed up copy.
Attempt 4)
grub-install --recheck /dev/xvda
Probing devices to guess BIOS drives. This may take a long time.
No suitable drive was found in the generated device map.
Reverting to backed up copy.
Attempt 5)
grub
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.]
grub> root (hd0,0)
root (hd0,0)
Error 21: Selected disk does not exist
This is my grub.conf file...
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that all kernel and initrd paths are relative to /boot/, e.g.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/xvda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.1.6.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.6.el5xen ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.18-128.1.6.el5xen.img
I used to have 5 drives on my 120GB Hard disk. I had Windows XP and Kubuntu 9.10 installed.today I started merging the drives after I have finished the process I found that grub menu is not loading instead I get something like thisgrub rescue>I am currently using Mepis 7.0 Live CD how can I restore the grub menu so I can boot to Linux or WindowsThe current HardDisk configuration is
Code:
# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
[code]...
Startup script. I have a problem with an error on system boot:
hub 2-0:1.0:unable to enumerate usb device on port 5
This error is continuous, filling up my system logs. It is also a known kernel bug. I found a solution here: [URL] but it is only good after I boot. I have tried to make a startup script in /etc/init.d in the following manner.
sudo mkdir /opt/usb/
sudo gedit /opt/usb/usbproblem.sh
#!/bin/bash
# chkconfig: 345 91 19
# description: stop usb problem on startup
case $1 in
*)
echo "fixing usb problem"
cd /sys/bus/pci/drivers/ehci_hcd
sh -c 'find ./ -name "2-0:1.0" -print| sed "s/.///">unbind'
cd ~
esac
exit 0
#End of boot script
##
sudo cp /opt/usb/usbproblem.sh /etc/init.d
cd /etc/init.d
sudo chmod +x usbproblem.sh
sudo update-rc.d usbproblem.sh defaults 92 20
but it does not work.
Is there something special I have to do to get grub to use UUID's? I am putting a couple of extra drives into a 9.10 system (default installation) with a SCSI drive for the OS. That SCSI drive was sda when I built the machine but of course gets bumped when I add these other drives. The fstab file contains UUID's. All attempts to boot with the other drives attached fail.
View 1 Replies View RelatedI used to dual boot openSuse and XP but I yanked out my linux HDD and now my Windows will not boot, I get a GRUB error 22 (missing partition).This PC does not have a CDrom so I can not simply use the fixmbr from an XP recovery console.I have booted into opensuse Live CD (Flash Drive) and tried to use Yast but it gives me an error it can not write because of the partitioning. I also tried the recover shell but am totally lost trying to re-write GRUB because I can not find the menu.lst file.
View 5 Replies View RelatedI installed debian 5.0.4 server on a PC that has both IDE and SATA controllers. I used an IDE HD to install the OS. The input device was a USB DVD unit. The IDE drive showed as /dev/hda and the 4 SATA HDs showed as /dev/sda1, /dev/sda2, /dev/sda3 and /dev/sda4. After the OS was installed the reboot started which brought up an error: GRUB GRUB Read Error
I then disconnected the SATA HDs and rebooted successfully. So no PROBLEMS with just the IDE drive connected, grub works fine. If I reconnect the SATA HDs though grub fails with:
GRUB GRUB Read Error
The problem originated when the installation got to the GRUB implementation. Here the installer engine asked me If I wanted GRUB to be installed on the MBR, to which I said YES. The installer had listed the IDE drive (/dev/hda) before the SATA drives (/dev/sda, /dev/sdb, /dev/sdc, /dev/sdd). After the installation finished and the machine was restarted, BIOS looked at the SATA drives first could not find the grub stages and it displayed an "Read Error".
After realising what was happening I looked at the BIOS settings to see if the HD booting sequence could be altered. The BIOS did indeed list the 4 SATA drives first and the IDE HD last. BUT it would not let me alter the booting sequence. So I was stuck with what the BIOS doing. So I decided I take the IDE drive out and create a 20G partition on the first SATA to accommodate the OS. So now everything works OK.
The installation went smoothly however, I have installed SuSE11.4 on my 2nd Hard Drive. Now Grub doesn't work and I want to know where and how to install it.
View 9 Replies View RelatedGetting this constantly in messages:
Mar 13 18:33:26 cjbLT2 kernel: [ 7523.361079] hub 4-0:1.0: unable to enumerate USB device on port 5
Mar 13 18:33:26 cjbLT2 kernel: [ 7523.567075] hub 2-0:1.0: unable to enumerate USB device on port 5
Mar 13 18:33:26 cjbLT2 kernel: [ 7523.739110] hub 4-0:1.0: unable to enumerate USB device on port 5
Mar 13 18:33:26 cjbLT2 kernel: [ 7523.945101] hub 2-0:1.0: unable to enumerate USB device on port 5
[code]....
This is on my laptop. I have 3 external USB devices plugged in but this will happen when I boot without them plugged in too. Don't seem to be missing any device either. This wasn't happening on openSuSE 11.2 and just started when I upgraded it to 11.4.
upgraded from karmic through update managerANDnone of of my external drives cd drive or flash drives are picked upad to go back to karmic and will remain there for a whil
View 9 Replies View RelatedI'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.
Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.
Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.
I recently had issues with the latest version of the Linux Kernels and I got that fixed but ever since that has happened none of my Drives will mount and they aren't even recognized.
View 1 Replies View RelatedI've used it once before but got fed up with the boot asking me everytime I turned my laptop on because I wasn't using it enough. I have Windows 7 on drive C . I want to keep it on drive C. I have several 1.5TB+ drives, and one of them is not being used. I want to dedicate it to Ubuntu, and be able to do a dual boot with my Windows 7 install. Is this possible? If it is, what about when this drive is not connected to my laptop? Will that mess up the boot process?
View 2 Replies View RelatedThe first is I seem to have 3 GRUB installs. So whilst I update the one from my live session, the change does not appear in the boot up menu. I had installed 10.10 from a CD into a different partition (sda6), but that will not boot, so I have just deleted this and done another grub install and update. The kernel I am using has just been updated from 10.04 to 10.10 too, and it is this that I use and the Grub I have been working on (sda5).
[Code]...
I updated yesterday and now when I start my laptop it goes in to grub rescue mode. I have booted from a 'live cd' and thought I could repair grub from there. In gparted however the partition with ubuntu (sda1) is seen as unknown file system, in terminal when I list the partition table it shows up as FAT16 type. When I try a grub-install it gives this error message:
[Code]....
I have 2 hard disks. sda,sdb
In sda, I have 4 partitions, and I have windows 7 in one of the extended partitions [not in the primary partition].
In sdb, I have 3 partitions. 2 for storage, and 1 10GB drive for Ubuntu. Again, Ubuntu is not of a primary partition.
I had ubuntu 10.04 running on that for a long time. However, I wanted to reinstall ubuntu and use 10.10.This is what I did EXACTLY:Booted from Ubuntu install CD
Chose advanced istall
Selected sdb3 for Ubuntu
I installed GRUB2 on the SAME partition as Ubuntu aka sdb3 Installed then rebooted
I can boot into Ubuntu fine, but whenever I select Windows 7 bootloader from the GRUB menu, the screen goes black, and my PC reboots.
Boot Info:
Code:
Boot Info Script 0.55 dated February 15th, 2010 [code]....
ls: reading directory sda6/: Input/output error
I have tried the testdisk/update-grub method, but it didn't work.
So my computer has ubuntu 9.10 installed 1st and I want to install win 7 in a separate partition. Basically, ubuntu 1st, win 7 later so far from what I learned from search results, grub 2 have problem with win 7 installed later and what was recommended was install win 7 before ubuntu. how ever I do not have the time to start over again because there are too many things to back up or install again. can I simply revert grub 2 to grub 1 again and resolve the problem?
View 7 Replies View Related