Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm completely a Linux newbie, so explain as much as possible.
I installed Linux Deepin on dual boot(practically, triple-boot).
When I select the Linux Deepin option in bootloader, I mostly get a blank screen for a long time.
After practically 2 mins, it presents with some lines of text which I, being a newbie to Linux can't comprehend and hence, cannot counter the error.
The lines go:
" udevadm settle - timeout of 30 seconds reached, the event queue contains:
/sys/devices/pci0000:00:1d.7/usb1(1080)
/sys/devices/pci0000:00:1d.7/usb1.1-0:1-0(1081)
up waiting for root device. Common reasons for this problem:
root args(cat /proc/cmdline)
Check rootdelay = ...[There's something here I cannot recollect at the moment]
Missing modules(cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/b4b672ea-c6e5-47fe-a174-165ffde63c8 doesn't exist!
Dropped to shell!
"
Then it goes to a Ubuntu shell or something of that sort.
Surprisingly, every-time I boot into Windows and then restart my desktop and then boot to Deepin, it successfully boots in.
I have Deepin installed on external hard disk which is not very fast(just mentioned this if it is of any use.) Also, my Windows is extremely slow in booting up, it takes almost 10 mins, which is why I switched to Deepin, which boots up almost in 2 mins if it does.
Thanks for your reply.
This is my desktop.
I have 3 Operating Systems, but my case is a little different. I had Vista preinstalled on my PC. Then, using EasyBCD, I put XP on dual-boot. Then, I installed Deepin.
So, when I start my PC, I am greeted with options whether to boot to Deepin or Vista. If I select Vista, I'm given a choice between XP & Vista. If I choose Deepin, I'm instantly taken to Deepin(if it works).
I'll post the my other computer details as soon as possible.
Hey, I'm no good in Linux, but I've spot something here.
The 'root=uuid=' value in the cat /proc/cmdline command and in the error which i posted in my first post are same.
Quote:
ALERT! /dev/disk/by-uuid/b4b672ea-c6e5-47fe-a174-165ffde63c8 doesn't exist!
Dropped to shell!
Above is the value from the error and below is the value from the cat /proc/cmdline command.
I'm no good at GRUB, or disk-by-uuid. I've used mostly lilo (Slackware's default bootloader) and simple /dev/sdwhatevers. But there's plenty(?) of members who know more than me, and hopefully they'll see this thread.
What gets me is the 'ALERT' that says that the uuid 'doesn't exist' is contradictory to the root uuid that does exit.
Your first (/dev/sda) HDD is all of your Windows partitions and they look good.
Your second (/dev/sdb) HDD I see your in a dual boot with Linux and Windows 95 (Vista).
Looking at you Linux Deepin partition:
Code:
/dev/sdb2 178403328 204795903 13196288 83 Linux
Did you make a swap partition for you Linux Deepin install?
If you want to you can incorporate all 3 operating systems into one Grub Menu. (if that's the problem)
You can do that by updating Grub.
There is something called bootinfoscript that's a bash script that searches HDD's on a computer for info related to booting. I think it's the best script that you can run to help us determine what's going on. http://sourceforge.net/projects/bootinfoscript/
Here's how I ran it on my CentOS box:
Code:
[root@localhost Downloads]# ./bootinfoscript-061.tar.gz
bash: ./bootinfoscript-061.tar.gz: Permission denied
[root@localhost Downloads]# tar -zxf bootinfoscript-061.tar.gz
[root@localhost Downloads]# ./bootinfoscript
Boot Info Script 0.61 [1 April 2012]
Identifying MBRs...
Computing Partition Table of /dev/sda...
Searching sda1 for information...
Searching sda2 for information...
Searching cl-swap' for information...
Searching cl-home' for information...
Searching cl-root' for information...
Finished. The results are in the file "RESULTS.txt"
located in "/home/linuxcat/Downloads/".
[root@localhost Downloads]#
The results after the script runs will be in the directory that the script is in and it will be named
"RESULTS.TXT"
See the screenshot of mine in the picture attached.
One of our Guru's, Mr. Yancek is good with this.
He helped me to get my booting issue fixed.
Sorry for my late reply.
This is the Results.txt which was created after running BootInfoScript as suggested by Ztcoracat...
Code:
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 112 for .
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows Vista
Boot files: /boot.ini /bootmgr /Boot/BCD
/Windows/System32/winload.exe /ntldr /NTDETECT.COM
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Deepin
Boot files: /boot/grub/grub.cfg /etc/fstab
sdb3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: According to the info in the boot sector, sdb5 starts
at sector 63.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 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 / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 189,020,789 189,018,742 7 NTFS / exFAT / HPFS
/dev/sda2 189,036,848 393,849,539 204,812,692 7 NTFS / exFAT / HPFS
/dev/sda3 393,857,024 685,311,999 291,454,976 7 NTFS / exFAT / HPFS
/dev/sda4 685,312,000 976,770,111 291,458,112 7 NTFS / exFAT / HPFS
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 63 178,401,990 178,401,928 7 NTFS / exFAT / HPFS
/dev/sdb2 178,403,328 204,795,903 26,392,576 83 Linux
/dev/sdb3 204,796,620 488,392,064 283,595,445 f W95 Extended (LBA)
/dev/sdb5 204,796,683 488,392,064 283,595,382 7 NTFS / exFAT / HPFS
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 1CAE4E19AE4DEC38 ntfs Vista
/dev/sda2 2E3E3E923E3E5357 ntfs XP
/dev/sda3 FC32760A3275CA62 ntfs
/dev/sda4 B4FA494DFA490D54 ntfs
/dev/sdb1 80D879C4D879B8CC ntfs Mukund1
/dev/sdb2 b4b672ea-c6e5-47fe-a174-165ffde463c8 ext4
/dev/sdb5 D484918884916E2C ntfs Chinmay1
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sdb2 / ext4 (rw,relatime,data=ordered)
================================ sda1/boot.ini: ================================
--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
[spybotsd]
timeout.old=30
--------------------------------------------------------------------------------
=========================== sdb2/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="Windows Vista (loader) (on /dev/sda1)"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 b4b672ea-c6e5-47fe-a174-165ffde463c8
else
search --no-floppy --fs-uuid --set=root b4b672ea-c6e5-47fe-a174-165ffde463c8
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1360x768
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 b4b672ea-c6e5-47fe-a174-165ffde463c8
else
search --no-floppy --fs-uuid --set=root b4b672ea-c6e5-47fe-a174-165ffde463c8
fi
insmod gfxmenu
loadfont ($root)/boot/grub/themes/deepin/unifont-regular-16.pf2
insmod png
set theme=($root)/boot/grub/themes/deepin/theme.txt
export theme
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Deepin 2014.2 GNU/Linux' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b4b672ea-c6e5-47fe-a174-165ffde463c8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 b4b672ea-c6e5-47fe-a174-165ffde463c8
else
search --no-floppy --fs-uuid --set=root b4b672ea-c6e5-47fe-a174-165ffde463c8
fi
linux /boot/vmlinuz-3.13.0-43-generic root=UUID=b4b672ea-c6e5-47fe-a174-165ffde463c8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.13.0-43-generic
}
submenu 'Advanced options for Deepin 2014.2 GNU/Linux' $menuentry_id_option 'gnulinux-advanced-b4b672ea-c6e5-47fe-a174-165ffde463c8' {
menuentry 'Deepin 2014.2 GNU/Linux, with Linux 3.13.0-43-generic' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-43-generic-advanced-b4b672ea-c6e5-47fe-a174-165ffde463c8' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 b4b672ea-c6e5-47fe-a174-165ffde463c8
else
search --no-floppy --fs-uuid --set=root b4b672ea-c6e5-47fe-a174-165ffde463c8
fi
echo 'Loading Linux 3.13.0-43-generic ...'
linux /boot/vmlinuz-3.13.0-43-generic root=UUID=b4b672ea-c6e5-47fe-a174-165ffde463c8 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-43-generic
}
menuentry 'Deepin 2014.2 GNU/Linux, with Linux 3.13.0-43-generic (recovery mode)' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-43-generic-recovery-b4b672ea-c6e5-47fe-a174-165ffde463c8' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 b4b672ea-c6e5-47fe-a174-165ffde463c8
else
search --no-floppy --fs-uuid --set=root b4b672ea-c6e5-47fe-a174-165ffde463c8
fi
echo 'Loading Linux 3.13.0-43-generic ...'
linux /boot/vmlinuz-3.13.0-43-generic root=UUID=b4b672ea-c6e5-47fe-a174-165ffde463c8 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-43-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Vista (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-1CAE4E19AE4DEC38' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1CAE4E19AE4DEC38
else
search --no-floppy --fs-uuid --set=root 1CAE4E19AE4DEC38
fi
parttool ${root} hidden-
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sdb2/etc/fstab: ================================
--------------------------------------------------------------------------------
# /dev/sdc2
UUID=b4b672ea-c6e5-47fe-a174-165ffde463c8 / ext4 rw,relatime,data=ordered 0 1
--------------------------------------------------------------------------------
=================== sdb2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-fXdO02JO/Tmp_Log: No such file or directory
Your bootinfoscript shows windows in the master boot record of sda, the first 500GB drive. When you want to boot Deepin, do you select the second drive, the 250GB drive with Deepin on it at boot time or do you have something like EasyBCD installed on windows to boot Deepin when you boot from the first drive?
You have the Grub bootloader of Deepin installed to the mbr of the second 250GB drive so selecting that drive on boot should get you to Deepin. One problem with multiple drives is guessing the order in Grub. You could try this as a one time thing to see if it works. When you are able to boot Deepin, open a text editor as root and go to the /boot/grub/grub.cfg file and edit the one line in the first Deepin menu entry below:
Code:
set root='hd1,msdos2'
Change only the 'hd1' to 'hd0', do not update Grub and immediately reboot and set the 250GB drive to first boot priority in the BIOS and then reboot. This might work, not really sure and it's simple enough to change back by editing the menu line on boot.
If your windows is taking 10 minutes to boot, you've got other problems. You might defragment your windows partitions and run chkdsk on them.
Since you did not create a swap partition, you might want to do that also unless you have a lot of RAM?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.