Trouble with grub...
Hi,
I tryed to install solaris 10 in a virtalbox under my Linux... but the problem is that grub load only stage 1 but not stage 2 (It breaks in the grub console.)
I have downloaded the developer version on 2 DVDs...
How can I load the solaris-installer with grub in my Virtalbox? Im not realy experienced with grub :-( If I try to boot my whole Computer with the first DVD, it happens the same...
In the offical installationhowto.pdf stays nothing to this, and I cant find someone who have the same problem. What do I wrong?
You need to change your menu.lst. I have windows 7 on my first partition, ie sda1. Arch linux is on the second partition, ie sda2:
# (0) Arch Linux
title Arch Linux
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/01c08dbe-bfc1-4b41-95d6-3abd118b42a1 ro
initrd /boot/kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/01c08dbe-bfc1-4b41-95d6-3abd118b42a1 ro
initrd /boot/kernel26-fallback.img
# (1) Windows
title Windows 7
rootnoverify (hd0,0)
makeactive
chainloader +1
Make sure that you use (hd0,0), which is the first partition. Change the harddisk boot order in your BIOS. If you want to boot the second harddisk, this is the way to do it I suppose:
title Windows Vista 64
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
rootnoverify (hd0,0)
chainloader (hd1,0)+1
Read more about it here:
http://forums.opensuse.org/install-boot … d-hdd.html
Last edited by ahcaliskan (2009-02-28 23:04:38)
Similar Messages
-
[Solved]Having trouble with Grub detecting Windows 8 in dualboot
Hey there,
I have a UEFI board. When I first installed archlinux I did not used the Windows boot partition. To fix this I loaded up the installation media, mounted the partitions as they should be, mounting the microsoft boot partition as /mnt/boot and mounted my UEFI partition into /mnt/boot/efi. I reinstalled the kernel and regenerated the fstab. I also reinstalled grub and os-prober and such and regenerated the config.
When I did all this, there is still not /boot/EFI/Microsoft. The grub mkconfig does not detect the microsoft boot at all.
What am I missing?
Thanks!
Last edited by Aquila (2013-10-03 17:45:44)I am using 2 disks: sda and sdb.
I made sda2 is the windows boot partition, sda5 is the root partition for arch, sda6 is the UEFI partition I made for UEFI, sdb2 is the home partition.
I followed the commands in the beginners guide.
Originally I did
mount /dev/sda5 /mnt
mount /dev/sda6 /mnt/boot
mount /dev/sdb2 /mnt/home
pacstrapped and generated fstab and did the three commands for grub before arch-chroot
# umount /sys/firmware/efi/efivars
# modprobe -r efivars
# modprobe efivars
Arch-chrooted, changed clock, changed hostname, changed passwd, then installed grub
# pacman -S grub efibootmgr
# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck --debug
# grub-mkconfig -o /boot/grub/grub.cfg
Exited, unmouted, and rebooted
Grub arrives but of course Windows is missing. Windows boot is in sda2. I made sure by looking in gparted lol
At this point I booted installation media again and remounted
mount /dev/sda5 /mnt
mount /dev/sda2 /mnt/boot
mount /dev/sda6 /mnt/boot/efi
mount /dev/sdb2 /mnt/home
Did pre-grub stuff then arch-chrooted in and reinstalled the kernel and grub and grub config
# pacman -U /var/cache/pacman/pkg/linux-3.xx-x.pkg.tar.gz for reinstalling the kernel in the chroot
At this point I rebooted but I forgot to regenerate the fstab. So I remounted everything the same way, deleted the fstab and regenerated it. The fstab looks ok when I log in. I also then reinstalled grub and made the config again.
This is where I am at now. I also get this weird issue when I shutdown, it immediately starts up again. I know this could be an issue with the Windows 8 fastboot, but I know I disabled that before I installed arch linux.
Any tips would be great. I'm not sure where to go from here.
And yes you're right it should be /boot/efi/EFI/Microsoft. I have /boot/EFI/EFI/arch-grub but not Microsoft in there
Last edited by Aquila (2013-09-30 01:58:24) -
Trouble With Grub - Setting up Triple Boot
Before I had Arch running on my desktop, I was using Ubuntu with Vista on the same disk and XP on another one. When I moved to Arch, I backed up menu.lst to preserve the entries, and installed Arch over the same partition that Ubuntu was on.
However, after I restored the entries for Vista and XP, I wasn't able to boot to them. A few weeks ago I absolutely had to do some work under windows, so I swapped out my XP disk and installed Vista on it, which got rid of the grub install in MBR and I used vista for about a week. I reinstalled Grab after that, and wasn't able to configure grub to boot to the new disk that had vista on it, only to Arch.
I'm more or less at a loss as to what may be wrong with my entries, the locations are correct but it just doesn't boot them for some reason.
Here is the output of fdisk -l:
Disk1:
sda1 is The original Vista install
sda4 is Arch Linux
sda3 is /boot for Arch linux
sdb1 is the new Vista install
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1f0b226a
Device Boot Start End Blocks Id System
/dev/sda1 * 1 7359 59111136 7 HPFS/NTFS
/dev/sda2 9245 9729 3895762+ 82 Linux swap / Solaris
/dev/sda3 9184 9244 489982+ 83 Linux
/dev/sda4 7360 9183 14651280 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2edf2ede
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30400 244187968+ 7 HPFS/NTFS
Disk /dev/sdc: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x889d889d
Device Boot Start End Blocks Id System
/dev/sdc2 * 1 36481 293033598+ 83 Linux
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000efff1
Device Boot Start End Blocks Id System
/dev/sdd1 1 121601 976760001 83 Linux
Here are the boot entries in grub:
# (0) Arch Linux
title Arch Linux
root (hd0,2)
kernel /vmlinuz26 root=/dev/disk/by-uuid/28e57cc7-2ae6-423c-b2ba-18a48b79433b ro vga=331
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,2)
kernel /vmlinuz26 root=/dev/disk/by-uuid/28e57cc7-2ae6-423c-b2ba-18a48b79433b ro
initrd /kernel26-fallback.img
title Windows Systems
root
title Windows Vista 64-bit
rootnoverify (hd0,0)
chainloader +1
savedefault
makeactive
title Windows XP Professional
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
savedefault
makeactive
Any help or insight into what may be the issue is greatly appreciated.
Edit: I should mention I did some fiddling around trying to get the second vista install to boot by changing the location of the vista entry to (hd1,0) with no luck.
Last edited by Ashex (2009-02-28 22:02:27)You need to change your menu.lst. I have windows 7 on my first partition, ie sda1. Arch linux is on the second partition, ie sda2:
# (0) Arch Linux
title Arch Linux
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/01c08dbe-bfc1-4b41-95d6-3abd118b42a1 ro
initrd /boot/kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/01c08dbe-bfc1-4b41-95d6-3abd118b42a1 ro
initrd /boot/kernel26-fallback.img
# (1) Windows
title Windows 7
rootnoverify (hd0,0)
makeactive
chainloader +1
Make sure that you use (hd0,0), which is the first partition. Change the harddisk boot order in your BIOS. If you want to boot the second harddisk, this is the way to do it I suppose:
title Windows Vista 64
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
rootnoverify (hd0,0)
chainloader (hd1,0)+1
Read more about it here:
http://forums.opensuse.org/install-boot … d-hdd.html
Last edited by ahcaliskan (2009-02-28 23:04:38) -
[solved]Trouble with Grub
Hi,
I just installed Arch a few hours back. The only problem I had was the grub wouldnt install. My old grub(from ubuntu) is intact though it has no arch in the menu and it has a old Windows option(I deleted windows partition while installing arch, will install it later again).
I even edited the menu.lst from grub in ubuntu, but it still shows the old chart/list of OS. I'll post it here.
# 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 use 'savedefault' 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 3
## 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,4)
makeactive
chainloader +1
###Boot Windows - test 1 ###
Title Windows on partition 1
rootnoverify (hd0,0)
makeactive
chainloader +1
###Boot Windows - test 2 ###
Title Windows on partition 2
rootnoverify (hd0,1)
makeactive
chainloader +1
###Boot Windows - test 3 ###
Title Windows on partition 3
rootnoverify (hd0,2)
makeactive
chainloader +1
###Boot Windows - test 4 ###
Title Windows on partition 4
rootnoverify (hd0,3)
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=9f847f23-7716-4b30-9b65-176789e688de ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=9f847f23-7716-4b30-9b65-176789e688de
## 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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 Ubuntu 10.04.2 LTS, kernel 2.6.32-27-generic
uuid 9f847f23-7716-4b30-9b65-176789e688de
kernel /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
initrd /boot/initrd.img-2.6.32-27-generic
title Ubuntu 10.04.2 LTS, kernel 2.6.32-27-generic (recovery mode)
uuid 9f847f23-7716-4b30-9b65-176789e688de
kernel /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
initrd /boot/initrd.img-2.6.32-27-generic
title Chainload into GRUB 2
root 9f847f23-7716-4b30-9b65-176789e688de
kernel /boot/grub/core.img
title Ubuntu 10.04.2 LTS, memtest86+
uuid 9f847f23-7716-4b30-9b65-176789e688de
kernel /boot/memtest86+.bin
# (0) Arch Linux
title Arch Linux
root (hd0,2)
kernel /boot/vmlinuz26 root=/dev/sda3
/dev/sda4 ro
initrd /boot/kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,2)
kernel /boot/vmlinuz26 root=/dev/sda3
/dev/sda4 ro
initrd /boot/kernel26-fallback.img
### END DEBIAN AUTOMAGIC KERNELS LIST
What am I doing wrong? How do I add arch to the grub menu?
Last edited by death__machine (2011-03-04 13:23:21)Ok I saw that the /boot/grub/ doesnt have a grub.cfg, only menu.lst. Am really getting confused on what am supposed to edit, am guessing the grub.cfg from ubuntu but compared to menu.lst , grub.cfg is more complicated.
# DO NOT EDIT THIS FILE
# It is automatically generated by /usr/sbin/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
load_env
fi
set default="0"
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
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic
menuentry 'Ubuntu, with Linux 2.6.32-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
linux /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
initrd /boot/initrd.img-2.6.32-27-generic
menuentry 'Ubuntu, with Linux 2.6.32-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
echo 'Loading Linux 2.6.32-27-generic ...'
linux /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-27-generic
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
linux16 /boot/memtest86+.bin
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 9810e0fb10e0e0ec
drivemap -s (hd0) ${root}
chainloader +1
### END /etc/grub.d/30_os-prober ###
### 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 ###
Ok on the top of the .cfg it says to not edit it :\
Last edited by death__machine (2011-03-04 10:16:31) -
Trouble with booting system after upgrade udev= systemd
Hi everybody,
I have been trouble with my system since last upgrade (udev => systemd)
My issue is something like this: https://bbs.archlinux.org/viewtopic.php?pid=1106157 but advice from this discussion doesn't work.
When system booting, *immediately* (very fast, too fast) display login screen after start parsing hook [udev]
Of course, i can't login - type username and i have redraw screen again on all /dev/tty* - i have no chance to type password.
Many invalid logins suspend init for 5 minutes and allow me see display error due stop redraw screen - libpam.so.0 cannot find.
I suspect that, partitions aren't mount (this fast login screen doesn't have even hostname). I have a 4 discs, with many partitions - mounting
this take a some time (+- 5 secs).
In rescuecd, i can mount all partitions and chroot. In chroot all works fine - /bin/login (i was checked authorization on all users),
paths and pams are ok. Of course i try ,,default rescue trick'': `pacman -Suy linux udev mkinitcpio` and 'mkinitcpio -p linux' on rescuecd
but nothing it's changed after reboot. I checking grub config, and unpack and check initramfs-linux.img - all ok.
In my mkinitcpio.conf ofcourse i have MODULES="ext3" (for my filesystems).
Please help.crab wrote:
This may or may not be related... but I saw this message just now during an upgrade:
(121/168) upgrading mkinitcpio [###################] 100%
==> If your /usr is on a separate partition, you must add the "usr" hook
to /etc/mkinitcpio.conf and regenerate your images before rebooting
And am wondering what the message means by if /usr is on a separate partition - separate partition to what? /boot? / ?
I have my /usr partition in the same partition as / (but /boot is in a different partition)
Logic tells me I'm safe (haven't rebooted yet), as / is "master", and anything else is a separate partition, and I have /usr on the same partition as /.
Do you guys have separate /usr and/or /boot partitions? As stated in first sentence this may not be related, but looks important...
It means separate from /. So yes, you're right, you are "safe" from having to do anything with this message on your system.
And to the other people on this thread: make sure you do have all your packages uniformly updated, including any pam-related AUR or ABS-build packages. libpam and the pam module directory (.../lib/security) were moved from /lib to /usr/lib a little while back, so make sure that anything that cares about where these may be have been updated so they aren't confused by this move.
Last edited by ataraxia (2012-06-03 22:40:22) -
Trouble with mounted partitions (root twice)
Since a few days ago, I'm experiencing troubles with my partitions, like / being mounted twice. I'm using systemd instead of Init, mtab is symlinked to /proc/self/mounts
df output:
rootfs 103212320 13629136 84340304 14% /
udev 10240 0 10240 0% /dev
run 10240 344 9896 4% /run
/dev/disk/by-uuid/11331a92-bb2a-4aa2-a376-de9c2d12d6a3 103212320 13629136 84340304 14% /
tmpfs 2011176 0 2011176 0% /dev/shm
tmpfs 2011176 176 2011000 1% /sys/fs/cgroup
tmpfs 2011176 0 2011176 0% /media
run 10240 344 9896 4% /var/lock
run 10240 344 9896 4% /var/run
/dev/sda1 369251368 61124056 289370348 18% /media/Akai-Data
As you can see, / is mounted twice.
my /proc/self/mounts looks like this (in fact, is):
http://pastebin.com/bLi22Cps
my partition layout inherit from the time where I had both Windows and Arch Linux installed (so I was low on free primary partitions) is: sda1 350 GB ext4, sda3 8 GB swap, sda4 98 GB ext4. So I have no /home and / in different partitions as sda1 is where I have all my data.
my /etc/fstab:
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
/dev/sda1 /media/Akai-Data ext4 defaults,realtime,data=writeback 0 2
/dev/sda3 swap swap defaults 0 0
/dev/sda4 / ext4 defaults,user_xattr,realtime,data=writeback 0 1
Also, my /tmp folder has not being cleaned in 5 days. ¿Does it not supposed to be cleaned at every boot/shutdown (I have booted few times in five days)?
So, my troubles here are:
/ is mounted twice, and /tmp is not being cleaned. Any clue on this?
Also, to me, my/proc/self/mounts seems weird, aside from the fact that I think there is why / is mounted twice. Could someone check that?
Thank you in advance.
Last edited by ethail (2011-05-10 16:34:09)The only place I have found that is on my /boot/burg/burg.cfg file:
linux /boot/vmlinuz26-pf root=/dev/disk/by-uuid/11331a92-bb2a-4aa2-a376-de9c2d12d6a3 ro fastboot quiet logo.nologo resume=/dev/sda3 init=/sbi/e4rat-preload
But as far as I can remember, that has been always there since I started using burg instead of grub (half of a mont ago, maybe more). And never got troubles with that.
Also, rc.local has everything comented out
EDIT: have I to assume that the burg entry is leading to troubles?
Last edited by ethail (2011-05-10 21:37:04) -
As it says above, i have been having a lot f trouble with my ipod classic and the latest itunes update, i was unable to sync songs or anything to it and have tried every conceivable 'fix' i could find. i have run an itunes diagnostic and the results are posted below. a major problem is that when i try and view my ipod through my computer it displays nothing at all on the ipod, no files or anything, this may be the problem but i have no idea how it has happened or how i could resolve it.
This ipod holds huge sentimental value and i am loathe to buy a new one! If anybody can help it is greatly appreciated, than kyou in advanced.
Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
ASUSTeK Computer Inc. K50IJ
iTunes 11.1.5.5
QuickTime not available
FairPlay 2.5.16
Apple Application Support 3.0.1
iPod Updater Library 11.1f5
CD Driver 2.2.3.0
CD Driver DLL 2.1.3.1
Apple Mobile Device 7.1.1.3
Apple Mobile Device Driver 1.64.0.0
Bonjour 3.0.0.10 (333.10)
Gracenote SDK 1.9.6.502
Gracenote MusicID 1.9.6.115
Gracenote Submit 1.9.6.143
Gracenote DSP 1.9.6.45
iTunes Serial Number 0038B8600B98D1E0
Current user is not an administrator.
The current local date and time is 2014-03-21 16:52:39.
iTunes is not running in safe mode.
WebKit accelerated compositing is enabled.
HDCP is not supported.
Core Media is supported.
Video Display Information
Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
**** External Plug-ins Information ****
No external plug-ins installed.
Genius ID: 2fd81a1f13cf3ff25a8b4f0e8e725116
**** Device Connectivity Tests ****
iPodService 11.1.5.5 (x64) is currently running.
iTunesHelper 11.1.5.5 is currently running.
Apple Mobile Device service 3.3.0.0 is currently running.
Universal Serial Bus Controllers:
Intel(R) ICH9 Family USB Universal Host Controller - 2934. Device is working properly.
Intel(R) ICH9 Family USB Universal Host Controller - 2935. Device is working properly.
Intel(R) ICH9 Family USB Universal Host Controller - 2936. Device is working properly.
Intel(R) ICH9 Family USB Universal Host Controller - 2937. Device is working properly.
Intel(R) ICH9 Family USB Universal Host Controller - 2938. Device is working properly.
Intel(R) ICH9 Family USB Universal Host Controller - 2939. Device is working properly.
Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A. Device is working properly.
Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C. Device is working properly.
No FireWire (IEEE 1394) Host Controller found.Here is what worked for me:
My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc. -
Trouble with Toshiba built-in webcam: "unable to enumerate USB device"
I am running archlinux on a Toshiba Satellite L70-B-12H laptop, and having troubles with the Webcam. *Once in a while*, everything goes well and I get
# lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 04f2:b448 Chicony Electronics Co., Ltd
Bus 003 Device 003: ID 8087:07dc Intel Corp.
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# dmesg
[ 3433.456115] usb 3-1.3: new high-speed USB device number 4 using ehci-pci
[ 3433.781119] media: Linux media interface: v0.10
[ 3433.809842] Linux video capture interface: v2.00
[ 3433.826889] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - HD (04f2:b448)
[ 3433.835893] input: TOSHIBA Web Camera - HD as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/input/input15
[ 3433.835976] usbcore: registered new interface driver uvcvideo
[ 3433.835977] USB Video Class driver (1.1.1)
Unfortunately, *most of the time* the camera seems invisible to my system, and I get
# lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 8087:07dc Intel Corp.
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
(note the missing "04f2:b448 Chicony Electronics Co., Ltd" device), and
# dmesg
[ 480.104252] usb 3-1.3: new full-speed USB device number 4 using ehci-pci
[ 480.171097] usb 3-1.3: device descriptor read/64, error -32
[ 480.341235] usb 3-1.3: device descriptor read/64, error -32
[ 480.511375] usb 3-1.3: new full-speed USB device number 5 using ehci-pci
[ 480.578007] usb 3-1.3: device descriptor read/64, error -32
[ 480.748151] usb 3-1.3: device descriptor read/64, error -32
[ 480.918282] usb 3-1.3: new full-speed USB device number 6 using ehci-pci
[ 481.325196] usb 3-1.3: device not accepting address 6, error -32
[ 481.392091] usb 3-1.3: new full-speed USB device number 7 using ehci-pci
[ 481.798926] usb 3-1.3: device not accepting address 7, error -32
[ 481.799166] hub 3-1:1.0: unable to enumerate USB device on port 3
Searching on the web, most results I found lead to this page, where it is said that the problem is due to badly tuned overcurrent protection, and advocated that unplugging and switching off the computer for a little while gets things back into normal. This does not really work for me; the problem seems to occur more randomly, unfortunately with high probability (my camera is available after less than one boot out of ten).
I tried to ensure that the ehci-hcd module is loaded at boot with the ignore-oc option (with a file in /etc/module-load.d/), to no avail.
I also wrote a script which alternatively removes and reloads the ehci-pci driver until my device is found in lsusb. It is sometimes helpful, but usually not. And even when my device is found that way, it can only be used for a while before disappearing again.
Anyway, such a hack is unacceptable... So, my questions are:
is it indeed related to overcurrent protection ?
is there anything else I can try ?
should I file somewhere an other of the numerous bug reports about "unable to enumerate USB device" already existing ?
If of any importance, I am running linux 3.15.7, because at the time I installed my system, I couldn't get the hybrid graphic card Intel/AMD working under 3.16.
Last edited by $nake (2014-10-18 16:29:06)uname -a
Linux libra 3.9.4-1-ARCH #1 SMP PREEMPT Sat May 25 16:14:55 CEST 2013 x86_64 GNU/Linux
pacman -Qi linux
Name : linux
Version : 3.9.4-1
Description : The linux kernel and modules
Architecture : x86_64
URL : http://www.kernel.org/
Licences : GPL2
Groups : base
Provides : kernel26=3.9.4
Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
Optional Deps : crda: to set the correct wireless channels of your country
Required By : nvidia
Optional For : None
Conflicts With : kernel26
Replaces : kernel26
Installed Size : 65562.00 KiB
Packager : Tobias Powalowski <[email protected]>
Build Date : Sat 25 May 2013 16:28:17 CEST
Install Date : Sun 02 Jun 2013 15:30:35 CEST
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature -
Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.
Hello Sue,
I have an iPad 3, iPad Mini and iPhone 5S and they are all sluggish on capitalisation using shift keys. I hope that Apple will solve the problem because it is driving me crazy.
I find using a Microsoft Surface and Windows 8 phone, which I also have, work as well as all the ios devices before the ios 7 upgrade.
It has something to do with the length of time that you need to hold the shift key down. The shift key needs to be held longer than the letter key for the capitalisation to work. For some reason, this is a major change in the way we have learnt to touch type on computers. I am having to relearn how to type!
Michael -
Trouble with OR in where clause
Hello,
I'm having trouble with execution speed. The problem seems to be with using OR in my where clause.
Here's the meat of the function where i_pledge_number is an input parm:
BEGIN
SELECT /*+ INDEX (pp) */ SUM(pp.prim_pledge_amount)
INTO return_amount
FROM
primary_pledge pp
WHERE
-- Get total if multiple allocations
pp.prim_pledge_number IN
(SELECT pc.pledge_number
FROM pledge_codes pc
WHERE pc.pledge_code_type = 'M'
AND pc.pledge_code = 'AC'
AND lpad(pc.pledge_comment,10,'0') = i_pledge_number)
-- Get total if single allocation
OR pp.prim_pledge_number = i_pledge_number;
RETURN return_amount;
END;
If I comment out either half of the OR statement (either the subquery or the pp.prim_pledge_number = i_pledge_number half) the function returns a value in .02 seconds. If I leave the OR in, it takes 2.764 seconds to execute?? Can someone please show me a better way (faster) to do this? I tried using nvl() around the subquery but couldn't get it to compile.
ThanksThese things are difficult to diagnose remotely, but here is something you can try....
SELECT */ SUM(pp.prim_pledge_amount)
INTO return_amount
FROM primary_pledge pp
WHERE pp.prim_pledge_number IN (SELECT pc.pledge_number
FROM pledge_codes pc
WHERE pc.pledge_code_type = 'M'
AND pc.pledge_code = 'AC'
AND lpad(pc.pledge_comment,10,'0') = i_pledge_number
UNION ALL
SELECT i_pledge_number FROM dual)
RETURN return_amount;
END;If that doesn't do anything (and it might well not) there are a large number of different ways we can recast this query. To save us further guessing please give us more details: execution plans, database version number, volumetrics.
Cheers, APC -
A trouble with "LIKE" in a select statement
Hi!
I'm having trouble with "LIKE" in a select statement...
With Access I can make the following and everything works well:
SELECT name, birthday
FROM client
WHERE birthday LIKE '*/02/*';
but if try to do it in my application (it uses Access), it doesn't work - I just can't understand that!!!
In my application the "month" is always the currently month taken from the "System". Look what I'm doing...
String query1 = "SELECT name, birthday " +
"FROM client " +
"WHERE birthday " +
"LIKE '*/" +
pMonth +
"/*' " +
"ORDER BY birthday ASC ";
ResultSet rs = statement1.executeQuery(consulta1);
boolean moreRecords = rs.next();
The variable "moreRecords" is always "false", the query returns nothing although the table "client" has records that attend the query.
Please, anyone can help me?! It's a little bit urgent.
Thanks,
Katia.Hi Katia,
I'll bet the problem lies with the characters you're using to escape the LIKE clause. You're using the ones that Access likes to see, but that's not necessarily what's built into the JDBC-ODBC driver class.
You can find out what the correct escape wildcard characters are from the java.sql.DatabaseMetaData.getSearchStringEscape() method. It'll tell you what to use in the LIKE clause.
I'm not 100% sure about your code. It doesn't use query1 anywhere. I'd do this:
String query = "SELECT name, birthday FROM client WHERE birthday LIKE ? ORDER BY birthday ASC";
PreparedStatement statement = connection.createStatement(query);
String escape = connection.getMetaData().getSearchStringEscape();
String test = escape + '/' + pMonth + '/' + escape;
statement.setString(1, test);
ResultSet rs = statement.executeQuery();
while (rs.hasNext())
// load your data into a data structure to pass back.
rs.close();
statement.close();Let me know if that works. - MOD -
(Trouble printing) Trouble with connection between Macbook Pro and Hp Deskjet 1510.
Trouble with connection between Macbook Pro and Hp Deskjet 1510. (Nothing Prints).
I have a Macbook Pro and am having difficulty printing documents from ‘Pages' from my Hp Deskjet 1510. I have installed the necessary software for the printer and it is connected via USB. Every time I try to print the printer icon comes up as it should, 'printing' and then 'job completed' and then the icon disappears. (Nothing is printed.) I thought it might be something to do with Pages compatibility with the printer but exporting the document to Word or making it a PDF doesn’t change anything. I don’t have Microsoft Word on my computer. The scanner does work and when I printed a ‘Test Page’ that worked too.
Let me know if you know why this is happening.With these settings the network now works flawlessly, however, when i have my ethernet cable plugged in, my internet access via my airport card(on the macbook pro) is no longer available. Hoping you can tell me why this would be with this info i've provided.
Educated guess. The networking devices have priorities as to which are used. The standard order is that Ethernet has a higher priority than Airport.
While your Ethernet is unplugged it is inactive and the Mac ignores it. Once you plug it in, the Mac sees that it is active and switches traffic to that interface.
I actually take advantage of this feature at home, but configuring my Airport and Ethernet with identical fixed IP addresses. Normally I'll use Airport, but if I'm copying a huge file and I want faster performance, I'll just walk my MacBook (previously iBook, previously Powerbook) over to my Ethernet switch and plug in my MacBook. Magically, the Mac detects that the Ethernet is active and continues the file transfer uninterrupted over the faster 100baseT Ethernet connection. When the transfer is finished, or if I really need to move back to the Comfy Chair, I unplug the Ethernet cable, and all activity reverts back to the Airport, all without disrupting any existing networking connections.
You on the other hand have totally different settings for your Ethernet and your Airport, so when you switch to Ethernet, you basically loose your Airport connections.
Something you can try:
System Preferences -> Network
Gear icon on the bottom left, next to the [+] [-] icons.
Select *Set Service Order...*
Now Drag the network interfaces into the perfer priority order you want. In this case put Airport above Ethernet.
NOTE: You may want to create a new Network Location for this, instead of messing with your normal home Location (which is most likely the default Automatic. That way you have your original you can always fall back to. -
Edge Animation having troubles with iOS devices within Muse Site
Hi All! I've been creating a mobile version of my website www.rinkdesigns.com and have it all complete. I created an animation/navigation bar within Adobe Edge Animate and imported it into Muse. It functions AMAZINGLY on my Nexus 4 (Android) in Chrome but on a buddies iPhone 5 Chrome only loads about 3/4 of the animation/nav bar, in Safari the animation does not load at all and half of the page background does not load either. Please check out the preview site here http://rinkdesignsmobile.businesscatalyst.com/phone
Has anyone else been having animation/mobile troubles with iOS devices? Any hints as to how you fixed your errors would be extremely helpful! I also posted this question in the Muse forum and haven't gotten a response...
Thanks,
JohnOr, how about this:
Does anyone know how to have Edge Animate objects that utilize "_top" in an open url trigger make the Muse site that they are a part of open a new window/tab with that action (as opposed to having it open the url in the current page, or using "_blank" in the trigger)? -
Trouble with 3rd party VST installs for Garageband, can't find instruments
Hi,
I am having trouble with Audio Units for Garageband when installing 3rd party software, VSTs, loops, instruments. I have more issues with Logic Pro. I am hoping that it is the same underlying issue and that I am just missing something. I have the manuals (not great for troubleshooting). I am confused with some installs use User Library and others use the Computer Library. I do go to the mfgs sites for updates. The installs sometimes work as standalones but I don't see ALL of the components of the software in say Garageband or Logic. Mostly, I am missing the "instruments" and "loops" that I want to access within the DAW. Some examples:
• Here is some of the software I am talking about: East West sample libraries (Play and Native Instruments); Vienna Symphonic librarires; Sylenth1 (just last night); Sample Tank 2 and Total Workstation 2 from IK Multimedia and others.
• In GB I see the Audio Units for Vienna, Play, Sylenth, some of the IK Multimedia but NOT any instruments when I go to the "Sound Generator" -- I seem to be missing the instruments and loops. I see less AUs in Logic Pro. Some of these are VST instruments.
• Can I just drag-drop samples to the library folders to fix this?
• The plug-ins do not seem to work (though Sylenth1 worked for a single sound). When there is a standalone app (as in Sample Tank), I finally got the "sounds" to be reinstalled and loaded, those sounds/samples don't show up in any DAW.
• When and if the sounds/loops/samples show up in GB's "Instruments" section will I be able to tell that they belong to that particular software or library?
Thanks in advance.
JohnFound the answer myself, it was simple:
• Select the Track
• Show the Instrument (info area)
• Click on Edit
• Click on the "Sound Generator" pop up field.
• At the bottom of the pop-up list, select from the Audio Units that you have installed. This is where you see "Sample Tank 2, Vienna Instruments..."
• NEXT -- IMPORTANT: CLICK ON THE PICTURE next to the Sound Generator pop-up field.The AU unit loads up, the interface pops up, you load up the instruments in this AU Unit. You do NOT see the sounds from the AU unit in the normal Apple instrument list.
This was not intuitive but once you know it, fairly simple.
Still, the devil is in the details -- more questions on the way. -
I'm having trouble with a virus or something which affects Google search results when I use Firefox on my PC ...
When I search a topic gives me pages of links as normal, but when I click on a link, the page is hijacked to a site called 'www.goingonearth.com' ...
I've done a separate search and found that other users are affected, but there doesn't seem to be a clear-cut solution ... (Norton, McAfee and Kaspersky don't seem to be able to detect/fix it).
I'd like to continue using the Firefox/Google combination (nb: the hijack virus also affects IE but not Safari) - do you have a patch/fix that could rectify the vulnerability in your software?
thanks''' "... vulnerability in your software?" ''' <br />
And it affects IE, too? Ya probably picked up some malware and you blame it on Firefox.
Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
SuperAntispyware - [http://www.superantispyware.com/] <br />
AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]<br />
Also, if you have a search engine re-direct problem, see this:<br />
http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
[http://www.spywarewarrior.com/index.php] <br />
[http://forum.aumha.org/] <br />
[http://www.spywareinfoforum.com/] <br />
[http://bleepingcomputer.com]
Maybe you are looking for
-
Formatted second IPOD on Mac Now can't see first one. Where did it go??
Originally formatted Ipod nano on Mac g-5. Worked fine. filled it up and later bought a video ipod. Formatted it on Mac G-5 and all works fine. Decided to give up the nano to the wife who has a windows xp laptop. I know I need to restore nano to orig
-
Do I have to use icloud.
Have ipod touch 3rdGen. Primarily use for itunes music . Do I have to use icloud. If not, how do I delete (disable) Mobile Me? It causes issues with my MS Outlook 2007.
-
Need to copy the present address as permanent in the core HR address form a
Hi All, Is there any way werein we can copy the present address as permanent in the core HR address form and also in in the selfservice applications? Thanks Rakesh
-
Help installing flash player update
I can not install the flash player update. It keeps saying that I have to close a program called "gplayer" which i can not find any where on my computer. Help anyone?
-
Hi All , I want to add a new variable on screen 4003 In program SAPMV45A . This is Account Assignment tab at Item level of sales order . Is there any screen-exit at this screen ?? Any other solution ..... Any pointer to this will be helpful .. Regar