[SOLVED]Dual boot problem with an Asus UX31A (EFI)

I never did an EFI install before and I still don't understand how it works however following the Zenbook wiki, I have successfully installed Arch. Now I can't boot Windows 7 anymore. I am using grub2, have installed os-prober. Grub menu has windows 7 entry but when used prompts a wrong EFI file path error.
My partition table is:
[root@zenbook sonay]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 238.5G 0 disk
├─sda1 8:1 0 200M 0 disk
├─sda2 8:2 0 128M 0 disk
├─sda3 8:3 0 98.6G 0 disk
├─sda4 8:4 0 4G 0 disk
├─sda5 8:5 0 90.7G 0 disk
├─sda6 8:6 0 512M 0 disk /boot/efi
├─sda7 8:7 0 3.9G 0 disk
├─sda8 8:8 0 10G 0 disk
├─sda9 8:9 0 200M 0 disk /boot
└─sda10 8:10 0 30.3G 0 disk /
sdc 8:32 0 931.5G 0 disk
└─sdc1 8:33 0 931.5G 0 disk /run/media/sonay/My Passport
/dev/sda1 used to be Windows 7 EFI partition. Gparted says it is flagged as boot.
What I did to install arch:
Partitioned /dev/sda5 with windows disk manager to create linux partitions and formatted the new partitions with gparted as the noob I am.
created /dev/sda6 for EFI boot
created /dev/sda9 for boot partition
created /dev/sda10 as root.
Did not touch
/dev/sda1 which was the EFI partition named SYSTEM
/dev/sda2 which was windows boot partition
/dev/sda3 which was windows C:,
/dev/sda4 and /dev/sda7 which I don't know what they used to be (possible for Asus fast wake up or swap whatever)
/dev/sda8 which is recovery partition.
I did not touch any grub files, except /etc/default/grub
[sonay@zenbook ~]$ cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
Finally my /boot/grub/grub.cfg is:
[sonay@zenbook ~]$ cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
[sonay@zenbook ~]$ cat /boot/grub/grub.cfg
cat: /boot/grub/grub.cfg: Permission denied
[sonay@zenbook ~]$ su
Password:
[root@zenbook sonay]# cat /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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
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 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_gpt
insmod ext2
set root='hd0,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10 cf66f05a-418c-4517-a0e0-af01b3be4a67
else
search --no-floppy --fs-uuid --set=root cf66f05a-418c-4517-a0e0-af01b3be4a67
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
set timeout=1
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-cf66f05a-418c-4517-a0e0-af01b3be4a67' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 42d2ba69-758d-4a54-9482-ae5d60866a52
else
search --no-floppy --fs-uuid --set=root 42d2ba69-758d-4a54-9482-ae5d60866a52
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=cf66f05a-418c-4517-a0e0-af01b3be4a67 ro quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-cf66f05a-418c-4517-a0e0-af01b3be4a67' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 42d2ba69-758d-4a54-9482-ae5d60866a52
else
search --no-floppy --fs-uuid --set=root 42d2ba69-758d-4a54-9482-ae5d60866a52
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=cf66f05a-418c-4517-a0e0-af01b3be4a67 ro quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-5246C0D846C0BE4B' {
insmod part_gpt
insmod ntfs
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 5246C0D846C0BE4B
else
search --no-floppy --fs-uuid --set=root 5246C0D846C0BE4B
fi
chainloader +1
menuentry 'Windows Recovery Environment (loader) (on /dev/sda8)' --class windows --class os $menuentry_id_option 'osprober-chain-3C98C9B298C96B4A' {
insmod part_gpt
insmod ntfs
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 3C98C9B298C96B4A
else
search --no-floppy --fs-uuid --set=root 3C98C9B298C96B4A
fi
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 ###
### 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 ###
SOLUTION:
first I needed to mount Windows EFI partition which was /dev/sda1, so :
mount /dev/sda1 /mnt
Then issue the following commands and take note of the outputs:
grub-probe --target=fs_uuid /mnt/EFI/Microsoft/Boot/bootmgfw.efi
which outputs: 18DF-E58E and
grub-probe --target=hints_string /mnt/EFI/Microsoft/Boot/bootmgfw.efi
which outputs: --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1
Finally edit the os-prober entry to the following in /boot/grub/grub.cfg
menuentry 'Windows 7 (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-5246C0D846C0BE4B' {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 18DF-E58E
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
Last edited by sonay (2012-10-07 18:20:20)

grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
--hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1
Sorry, no need to anymore. Thanks anyways.
Last edited by sonay (2012-10-07 18:08:39)

Similar Messages

  • [SOLVED] dual-screen problem with awesome3.2 and firefox/gedit

    Hi,
    my problem is that firefox/gedit (+maybe other apps, i don't know yet) are starting in awesome like they are fullscreen apps. Firefox covers the wibox at the top of the screen, and even overlaps a bit to the seconds screen. So the keyboard-shortcuts doenst work well, because awesome then changes the tags in bots screens when on one tag firefox is opened.
    I dont know why this happens, here is my rc.lua:
    -- Load libraries
    require("awful")
    require("beautiful")
    require("wicked")
    -- {{{ Variable definitions
    -- User styles for windows, statusbars, titlebars and widgets
    theme_path = os.getenv("HOME") .. "/.config/awesome/themes/zenburn"
    beautiful.init(theme_path)
    -- Modifier keys
    modkey = "Mod4" -- Super_L
    -- Window titlebars
    use_titlebar = true
    -- Window management layouts
    layouts = {
    awful.layout.suit.tile, -- 1
    awful.layout.suit.tile.left, -- 2
    awful.layout.suit.tile.bottom, -- 3
    awful.layout.suit.tile.top, -- 4
    awful.layout.suit.fair, -- 5
    awful.layout.suit.fair.horizontal, -- 6
    awful.layout.suit.max, -- 7
    -- awful.layout.suit.max.fullscreen, -- /
    awful.layout.suit.magnifier, -- 8
    awful.layout.suit.floating -- 9
    -- Application specific behaviour
    apprules = {
    -- Class Instance Name Screen Tag Floating
    { "Firefox", nil, nil, nil, 2, false },
    { "Firefox", "Download", nil, nil, nil, true },
    { "Firefox", "Places", nil, nil, nil, true },
    { "Firefox", "Extension", nil, nil, nil, true },
    { "MPlayer", nil, nil, nil, nil, true },
    { nil, nil, "VLC media player", nil, nil, true },
    { "Gimp", nil, nil, nil, nil, true },
    { "Xmessage", "xmessage", nil, nil, nil, true },
    { "Skype", nil, nil, nil, 1, true },
    { "Pidgin", nil, nil, nil, 1, true },
    -- {{{ Tags
    -- Define tags table
    tags = {}
    tags.settings = {
    { name = "im", layout = layouts[9] },
    { name = "www", layout = layouts[1] },
    { name = "terms", layout = layouts[3] },
    { name = "dev", layout = layouts[3] },
    { name = "other", layout = layouts[5] },
    -- Initialize tags
    for s = 1, screen.count() do
    tags[s] = {}
    for i, v in ipairs(tags.settings) do
    tags[s][i] = tag(v.name)
    tags[s][i].screen = s
    awful.tag.setproperty(tags[s][i], "layout", v.layout)
    awful.tag.setproperty(tags[s][i], "setslave", v.setslave)
    end
    tags[s][1].selected = true
    end
    -- {{{ Wibox
    -- Widgets configuration
    -- Reusable separators
    myspace = widget({ type = "textbox", name = "myspace", align = "right" })
    myseparator = widget({ type = "textbox", name = "myseparator", align = "right" })
    myspace.text = " "
    myseparator.text = "|"
    -- Date, time and...
    mydateicon = widget({ type = "imagebox", name = "mydateicon", align = "right" })
    mydateicon.image = image(beautiful.widget_date)
    mydatewidget = widget({ type = "textbox", name = "mydatewidget", align = "right" })
    wicked.register(mydatewidget, wicked.widgets.date, "%b %e, %R", 60)
    -- a Calendar
    function calendar_select(offset)
    local datespec = os.date("*t")
    datespec = datespec.year * 12 + datespec.month - 1 + offset
    awful.util.spawn("cal -m " .. (datespec % 12 + 1) .. " " .. math.floor(datespec / 12) .. " | xmessage -geometry +1135+17 -file -")
    end
    mydatewidget:buttons({
    button({ }, 1, function () calendar_select(0) end),
    button({ }, 4, function () calendar_select(1) end),
    button({ }, 5, function () calendar_select(-1) end)
    -- System tray
    mysystray = widget({ type = "systray", align = "right" })
    -- Create a wibox and...
    mywibox = {}
    mypromptbox = {}
    mylayoutbox = {}
    mytaglist = {}
    mytaglist.buttons = { button({ }, 1, awful.tag.viewonly),
    button({ modkey }, 1, awful.client.movetotag),
    button({ }, 3, function (tag) tag.selected = not tag.selected end),
    button({ modkey }, 3, awful.client.toggletag),
    button({ }, 4, awful.tag.viewnext),
    button({ }, 5, awful.tag.viewprev) }
    -- ...add it to each screen
    for s = 1, screen.count() do
    -- Create a promptbox
    mypromptbox[s] = widget({ type = "textbox", align = "left" })
    -- Create an imagebox widget with icons indicating active layout
    mylayoutbox[s] = widget({ type = "imagebox", align = "left" })
    mylayoutbox[s]:buttons({ button({ }, 1, function () awful.layout.inc(layouts, 1) end),
    button({ }, 3, function () awful.layout.inc(layouts, -1) end),
    button({ }, 4, function () awful.layout.inc(layouts, 1) end),
    button({ }, 5, function () awful.layout.inc(layouts, -1) end) })
    -- Create the taglist
    mytaglist[s] = awful.widget.taglist.new(s, awful.widget.taglist.label.all, mytaglist.buttons)
    -- Create the wibox
    mywibox[s] = wibox({ position = "top", height = "14", fg = beautiful.fg_normal, bg = beautiful.bg_normal })
    -- Add widgets to the wibox (order matters)
    mywibox[s].widgets = { mylayoutbox[s],
    mytaglist[s],
    mypromptbox[s],
    myspace,
    mydateicon, mydatewidget,
    myspace,
    s == screen.count() and mysystray or nil
    mywibox[s].screen = s
    end
    -- {{{ Mouse bindings
    root.buttons({
    button({ }, 4, awful.tag.viewnext),
    button({ }, 5, awful.tag.viewprev)
    -- {{{ Key bindings
    globalkeys = {
    -- Applications
    key({ modkey }, "Return",function () awful.util.spawn("uxterm") end),
    -- Prompt menus
    key({ modkey }, "F2", function () awful.prompt.run({ prompt = "Run: " }, mypromptbox[mouse.screen],
    awful.util.spawn, awful.completion.shell, awful.util.getdir("cache") .. "/history")
    end),
    -- Awesome controls
    key({ modkey, "Shift" }, "q", awesome.quit),
    key({ modkey, "Shift" }, "r", function () mypromptbox[mouse.screen].text = awful.util.escape(awful.util.restart()) end),
    -- Layout manipulation
    key({ modkey, "Shift" }, "Plus", function () awful.client.incwfact(-0.05) end),
    key({ modkey, "Shift" }, "Minus", function () awful.client.incwfact(0.05) end),
    key({ modkey }, "space", function () awful.layout.inc(layouts, 1) end),
    key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
    -- Focus controls
    key({ modkey }, "Tab", function () awful.client.focus.history.previous(); if client.focus then client.focus:raise() end end),
    key({ modkey }, "Down", function () awful.client.focus.bydirection("down"); if client.focus then client.focus:raise() end end),
    key({ modkey }, "Up", function () awful.client.focus.bydirection("up"); if client.focus then client.focus:raise() end end),
    key({ modkey }, "Left", function () awful.client.focus.bydirection("left"); if client.focus then client.focus:raise() end end),
    key({ modkey }, "Right", function () awful.client.focus.bydirection("right");if client.focus then client.focus:raise() end end),
    key({ modkey, "Shift" }, "Down", function () awful.client.swap.bydirection("down") end),
    key({ modkey, "Shift" }, "Up", function () awful.client.swap.bydirection("up") end),
    key({ modkey, "Shift" }, "Left", function () awful.client.swap.bydirection("left") end),
    key({ modkey, "Shift" }, "Right", function () awful.client.swap.bydirection("right") end),
    -- Client manipulation
    clientkeys = {
    key({ modkey, "Control" }, "space", awful.client.floating.toggle),
    -- Bind keyboard digits
    keynumber = 0
    for s = 1, screen.count() do
    keynumber = math.min(9, math.max(#tags[s], keynumber));
    end
    -- Tag controls
    for i = 1, keynumber do
    table.insert(globalkeys,
    key({ modkey }, i,
    function ()
    local screen = mouse.screen
    if tags[screen][i] then
    awful.tag.viewonly(tags[screen][i])
    end
    end))
    table.insert(globalkeys,
    key({ modkey, "Shift" }, i,
    function ()
    if client.focus and tags[client.focus.screen][i] then
    awful.client.movetotag(tags[client.focus.screen][i])
    end
    end))
    end
    -- Set keys
    root.keys(globalkeys)
    -- {{{ Hooks
    -- Hook function to execute when focusing a client
    awful.hooks.focus.register(function (c)
    if not awful.client.ismarked(c) then
    c.border_color = beautiful.border_focus
    end
    end)
    -- Hook function to execute when unfocusing a client
    awful.hooks.unfocus.register(function (c)
    if not awful.client.ismarked(c) then
    c.border_color = beautiful.border_normal
    end
    end)
    -- Hook function to execute when marking a client
    awful.hooks.marked.register(function (c)
    c.border_color = beautiful.border_marked
    end)
    -- Hook function to execute when unmarking a client
    awful.hooks.unmarked.register(function (c)
    c.border_color = beautiful.border_focus
    end)
    -- Hook function to execute when the mouse enters a client
    awful.hooks.mouse_enter.register(function (c)
    -- Sloppy focus (but disabled for magnifier layout)
    if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
    and awful.client.focus.filter(c) then
    client.focus = c
    end
    end)
    -- Hook function to execute when a new client appears
    awful.hooks.manage.register(function (c)
    -- If we are not managing this application at startup, move it to the screen where the mouse is
    if not startup and awful.client.focus.filter(c) then
    c.screen = mouse.screen
    end
    -- Add a titlebar to each client
    if use_titlebar then
    awful.titlebar.add(c, { modkey = modkey })
    end
    -- Set client mouse bindings
    c:buttons({
    button({ }, 1, function (c) client.focus = c; c:raise() end),
    button({ modkey }, 1, awful.mouse.client.move),
    button({ modkey }, 3, awful.mouse.client.resize)
    -- New clients may not receive focus if they're not focusable, so set the border anyway
    c.border_width = beautiful.border_width
    c.border_color = beautiful.border_normal
    -- Check application->screen/tag mappings and floating state
    local target_screen
    local target_tag
    local target_float
    for index, rule in pairs(apprules) do
    if (((rule[1] == nil) or (c.class and c.class == rule[1]))
    and ((rule[2] == nil) or (c.instance and c.instance == rule[2]))
    and ((rule[3] == nil) or (c.name and string.find(c.name, rule[3], 1, true)))) then
    target_screen = rule[4]
    target_tag = rule[5]
    target_float = rule[6]
    end
    end
    -- Apply mappings, if any
    if target_float then
    awful.client.floating.set(c, target_float)
    end
    if target_screen then
    c.screen = target_screen
    awful.client.movetotag(tags[target_screen][target_tag], c)
    end
    -- Focus after tag mapping
    client.focus = c
    -- Set client key bindings
    c:keys(clientkeys)
    -- Put windows at the end of others instead of setting them as a master
    --awful.client.setslave(c)
    -- ...or do it selectively for certain tags
    if awful.tag.getproperty(awful.tag.selected(mouse.screen), "setslave") then
    awful.client.setslave(c)
    end
    -- New floating windows don't cover the wibox and don't overlap until it's unavoidable
    awful.placement.no_offscreen(c)
    --awful.placement.no_overlap(c)
    -- Honoring size hints: false to remove gaps between windows
    c.size_hints_honor = false
    end)
    -- Hook function to execute when arranging the screen
    awful.hooks.arrange.register(function (screen)
    -- Update layout imagebox widget with an icon indicating active layout
    local layout = awful.layout.getname(awful.layout.get(screen))
    if layout and beautiful["layout_" ..layout] then
    mylayoutbox[screen].image = image(beautiful["layout_" .. layout])
    else
    mylayoutbox[screen].image = nil
    end
    -- Give focus to the latest client in history if no window has focus
    -- or if the current window is a desktop or a dock one
    if not client.focus then
    local c = awful.client.focus.history.get(screen, 0)
    if c then client.focus = c end
    end
    -- Fine grained border controls
    local visible_clients = awful.client.visible(screen)
    if #visible_clients > 0 then
    for unused, current in pairs(visible_clients) do
    -- Floating clients always have borders
    if awful.client.floating.get(current) or (layout == 'floating') then
    current.border_width = beautiful.border_width
    -- Floating clients always on top
    if not current.fullscreen then
    current.ontop = true
    end
    -- Don't draw the border if there is only one tiled client visible
    elseif (#visible_clients == 1) or (layout == 'max') then
    visible_clients[1].border_width = 0
    else
    current.border_width = beautiful.border_width
    end
    end
    end
    end)
    I added "xrandr --output DVI-1 -- right-of DVI-0" to the .xinitrc to get the extended desktop i want.
    Any suggestions?
    Last edited by Wishes (2009-03-29 10:52:00)

    Still the same
    Edit: i deleted my ~/.mozilla folder. Now firefox starts not overlapping with the wibox, but still a bit overlapping to the other screen, so hat my keystrokes toggle both screens. it seems that it start in floating mode, because i can move it with the mouse. When i move it a bit towarts the wibox and a bit right, it seems to get stuck in the chosen tile-layout and everything is fine... until i quit firefox and start it again.
    Edit2: Hmmm, ok, i think i found it... or at least something:
    -- New floating windows don't cover the wibox and don't overlap until it's unavoidable
        --awful.placement.no_offscreen(c)  //THIS was first uncommented
        awful.placement.no_overlap(c)  //THIS was first commented
    So now with no_overlap it seems to work finde (although i cannot move gedit between the screens with the mouse, but i dont know if this isn't normal. Firefox is moveable between the screens.), no overlapping anymore with the wibox or to the other screen.
    When i uncomment both lines, firefox and gedit are starting both on the 2nd screen (the left one), and gedit cannot be moved to the right one (although firefox can be moved.).
    Last edited by Wishes (2009-03-28 20:24:52)

  • [SOLVED] dual booting windows 7 with btrfs on grub-bios -- core.img

    I am trying to install arch in a dual boot configuration with an existing windows 7 partition. I have everything from the beginner's guide done but the bootloader. When I run grub-install it tells me that core.img is too big.
    Some googling tells me that this is relatively common with btrfs, and it seems the only work around is to switch to gpt mode and use a grub bios partition. But the info I've seen indicates that I need to use MBR mode to dual boot windows.
    Is it safe to do this with windows? Is there another workaround? Or will I have to settle for ext4?
    Last edited by jorenko (2013-06-09 03:53:24)

    Well there's your problem, your first partition starts at sector 63.  With recent versions of windows and fdisk (and every other partitioning tool I can think of off the top of my head) things now align themselves correctly.  Also because there is now GPT, the first partition typically starts later as the GPT partition table will typically sit between the MBR and the first partition. 
    On a MBR partitioned system, grub2 will actually use the first 446 bytes like normal, but will then also use the space that is empty where GPT would sit.  This is why when you have a GPT partitioned system, it will require you to create a 1-2MB grub boot partition, as it needs somewhere else to put its bloat.  GPT actually still uses the MBR section, but simply creates one large partition covering the whole disk.  This is so that tools that are not GPT aware will not think that they have a whole free disk to use as they please.
    For comparison, here is whe I get from fdisk:
    # fdisk -l /dev/sda
    sudo fdisk -l /dev/sda
    [sudo] password for curtisshima:
    WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
    Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 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 label type: gpt
    # Start End Size Type Name
    1 2048 2099199 1G EFI System EFI System
    2 2099200 252166798 119.2G Linux filesyste arch-btrfs-1
    3 252168192 488397134 112.7G Linux filesyste arch-btrfs-3
    Note that I do use GPT.  But that is not the point here. What I am trying to show is where my first partition starts.  This is also where fdisk will start partitions these days.  This is to ensure compatibility with 4k advanced format disks.
    If you are not dead set on Grub2, you could try using syslinux.  I really like it much better, though if you are booting more than one Linux, you need to either employ chainloading to various partition boot records, or have a shared /boot.  Having a windows partition doens't really matter, as you are simply chainloading to that funky reserved partition anyway. 
    The other option is to use grub-legacy, which can still be found in the AUR.  I actually liked the orginal Grub, as it provided a nice feature set, but was still configurable by hand and it actually fit into the MBR.

  • HOW TO DUAL BOOT W540 with windows 8.1 / 7

    I got my W540 recently with windows 8.1 pro on it. but as all engineers worst nightmare windows 8 has hard time with engineering softwares (for my case TIA Portal for  PLC programming software which only support windows 7). so i need to have a windows 7. i prefer to keep my windows 8 and have dual boot system with windows 7 added. But i can't install windows 7. initially due to disk type (GPT), then i changed it to MBR without losing my files (which only was possible if i had deleted the recovery partition- now my recovery is on my flash drive). But there are already 4 partitions on the system (1 for C: drive and 3 for recovery and system files which came originally with the product) , how can i install a windows 7? i can't add another partition because that makes my disk a Dynamic disk (which i don't really know what is). all in all, i really need windows 7 on my system ASAP.  If anyone know how to fix this please reply. Thanks guys.
    Solved!
    Go to Solution.

    You are limited to four PRIMARY partitions on an MBR disk.
    But other than the "active" partition (i.e. the small 100MB "system reserved" partition where Boot Manager is placed from doing a cold Windows install on an empty drive, or the 1.4GB equivalent Boot Manager partition that Lenovo provides along with other tools and utilities), all other partitions on the drive can be "logical".  They are not required to be PRIMARY, although Lenovo delivers its partitions that way.  But you can change that.
    You can have up to 120 LOGICAL partitions on a drive (all of which live inside an originally PRIMARY partition which gets converted to an "extended partition" which houses all of the logical partitions.  So if you have at least one logical partition (and thus have to give up one primary partition in order to build that required "extended partitions"), that means you can have up to three remaining primary partitions and up to 120 logical partitions... all on an MBR disk.  No "dynamic", and no GPT.
    Yes, that means even the Windows system partition itself (i.e. "C") can be on a LOGICAL partition.  It's only that one "active" partition (where the BIOS goes to find Boot Manager and its menu, and kick off the rest of the system boot process) which truly must be PRIMARY.  That's the only requirement.
    So, if you want to use MiniTool's Partition Wizard to carve out sufficient free space for your second Windows 7 partition (by shrinking your existing Win8 partition), you can create one or more logical partitions inside that new free space, and do the Win7 install to one of those empty logical partitions.  You can then use a second logical partition in that same free space for "data", if you want.
    Note that Partition Wizard can even convert one of your existing primary partitions to logical (i.e. convert it to an "extended partition", inside of which will be then be the original primary partition now converted to logical).  You can then shrink or move/resize the partitions on the drive (both primary and logical) however you want, to perhaps make room for additional "logical" partitions inside of that now present "extended partition" which can hold up to 120.  You can even convert ALL of your primary partitions except for the one "active" partition (which MUST BE PRIMARY) to logical partitions, which gives you maximum flexibility in having even more than just two bootable OS's along with one or more data partitions, etc., up to 120 logical partitions... plus the one "active" primary Boot Manager "system reserved" partition which must be kept.

  • [SOLVED] Dual Boot Window 7 & Arch on a Uefi system.

    From the Wiki
    Windows 7 x86_64 versions support booting in x86_64 UEFI mode from GPT disk only, OR in BIOS mode from MBR/msdos disk only. They do not support IA32 (x86 32-bit) UEFI boot from GPT/MBR disk, x86_64 UEFI boot from MBR/msdos disk, or BIOS boot from GPT disk.
    I don't understand this. As stated in the title I have a ueif system so that means I have to create a GPT disk ? I already have a gpt disk which I confirmed by running Arch Live USB. Under type it said GPT. I don't understand this at all
    However if Arch is installed in BIOS-GPT in one disk and Windows is installed in BIOS-MBR mode in another disk,  then the BIOS bootloader used by Arch CAN boot the Windows in the other disk, if the bootloader itself has the ability to chainload from another disk.
    Note: If Arch and Windows are dual-booting from same disk, then Arch SHOULD follow the same firmware boot mode and partitioning combination used by the installed Windows in the disk.
    In the Note above it says both Arch and Windows follow the same boot mode if they are dual booting from same disk. I DO NOT want to do this. I have already decided to partition  my drive with 200 Gb going to Windows and 500 Gb going to Arch. Does this mean that I should install both in different modes i.e. Arch in Bios-GPT and Windows in Bios-MBR.
    The recommended way to setup a Linux/Windows dual booting system is to first install Windows, only using part of the disk for its partitions. When you have finished the Windows setup, boot into the Linux install environment where you can create additional partitions for Linux while leaving the existing Windows partitions untouched.
    UEFI systems
    Both Gummiboot and rEFInd autodetect Windows Boot Manager \EFI\Microsoft\Boot\bootmgfw.efi and show it in their boot menu, so there is no manual config required.
    For GRUB(2) follow GRUB#Windows_Installed_in_UEFI-GPT_Mode_menu_entry.
    Syslinux (as of version 6.02 and 6.03-pre9) and ELILO do not support chainloading other EFI applications, so they cannot be used to chainload \EFI\Microsoft\Boot\bootmgfw.efi .
    Computers that come with newer versions of Windows often have secure boot enabled. You will need to take extra steps to either disable secure boot or to make your installation media compatible with secure boot.
    Being a beginner should I go with Gummiboot then. GRUB made a mess last time.
    Also my secure boot is NOT enabled so is that good.
    I have read the FAQs, Beginner's guide, Installation Guide, Dual Boot wiki entry but I just don't understand the above concepts. But it looks this this is the main thing in dual booting. Almost everything else is doable but this I have to get right on account of what happened the last time I installed Arch without getting the above right.
    Last edited by Some Arch Lovin (2014-06-14 08:53:14)

    A few issues with the dual boot setup
    Hello again, I lost my dual factor authentication grid from lastpass. Opensuse was acutally overwriting new pdf files over my old pdf files so now that grid pdf is actually an Arch cheat cheet with the name last_pass_grid.pdf. And the gmail account I used to register to Arch forums is also in last pass.
    This is why I created another account. I am some arch lovin.
    The installation went smoothly but I could not dual boot Windows7 with Arch because my Win7 image is not UEFI bootable so had to dual boot win8(not a fan at all) and arch.
    Almost everything is working correctly. I have a few issues that aren't affecting how the system is working but they still need sorting out.
    I'll do them one at a time but I want to know from the admins if I should start a new thread? Because in a way this thread accomplished it job i.e. win7 and arch dual booting in uefi system.
    If the answer is yes I should create a new thread depending upon the issue then I will do that but in case its a no since I have only 2-3 problems I am going to ask help for the first one.
    My gummiboot is not working on startup. I have to press f12 and use bios booting menu to boot. The problem with that is if I put Windows at the top of the boot priority the bios does not show F12 and F2 at the time of booting up so I can't access the boot menu. I have to boot into Windows and crash it by holding the power button and then the F12 options shows up and I am able to boot into Arch. If I put Arch at the top then Windows keeps restoring back to an earlier version due to start up options.
    NOTE : I can't be sure but one it did work(only once). I checked the images online to compare with what I saw and its very similar. An all black screen with three bootloading options
    Windows
    Arch
    Opensuse(don't know why I created a completely new GPT partition table)
    This is what I did while installing Gummiboot
    # mount -t efivarfs efivarfs /sys/firmware/efi/efivars
    # pacman -S gummiboot
    # gummiboot install
    I tried going through the gummiboot to see if I can do something but it very difficult to comprehend as a beginner. All I get is the characters gummiboot understands but thats all.
    Last edited by Archer61 (2014-06-11 13:48:56)

  • Poll: Do you have cold boot problem with SB X-FI Fatal1t

    Hi guys:
    I have post a thread regarding the cold boot problem with SB X-FI Fatalty and OCZ GameXStream 600W SLI power supply combination. Apparently, no one has answer to that . In addition, I have recently RMA'd my psu and received a brand-new unit. The same problem still exists. If the problem is really with the power supply, doesn't matter what kind of the setup I have, I should still have the cold-boot problem. However, it doesn't seem like that. Doesn't matter what kind of cards I put on the motherboard, as long as the SB X-FI Fatalty card is there, there is cold boot problem (even with the setup of cpu, mother, ram, and the sound card only, WITHOUT video card and harddri've). And for other different setup without the SB X-FI Fatalty card, there is no cold boot. The cpu and memory are running at stock speed.
    My post regarding the cold boot issue:
    http://forums.creative.com/creativelabs/board/message?board.id=soundblaster&message.id=79753
    There is one user on the forum saying he has the same problem. Therefore, I think it might be the imcompatibility between the X-FI Fatalty and OCZ GameXStream PSU.
    I would like to know how many people that has the same problem that I am having. So I can possibly narrow down the problem and contact OCZ tech support or creative tech support with more information. It would also be benefitical to those who have the same problem as I do.
    Please post your system setup as well in the thread.
    Greatly appreciate your opinions. Message Edited by White_Hair on 2-02-200604:58 AM
    Message Edited by White_Hair on 2-02-200603:22 PM

    I would venture to say that it isn't your powersupply, but more likely the X-Fi. I had troubles with my system, until I pulled out my X-Fi and replaced it with a non Creative Labs sound card. One of my troubles, which I incorrectly blamed on my powersupply was the ASUS A8R-MVP motherboard I had and the X-Fi XtremeMusic card, was after gaming for 4 hours, was the?sudden reboot of my system. Powersupply before, was an Antec TrueControl 2 550watt PSU. As it stands right now, I no longer have the parts mentioned and have a decent 700watt powersupply in my system, along with an ABIT AT8 32X motherboard. As you have probably seen there are a lot of problems with the X-Fi soundcards, and I in my right mind can't blame the motherboard, powersupply, motherboard chipset, ram, or any other component in ones system, if one is having trouble other than the X-Fi itself. I'll be honest, there is something quite frankly wrong with the X-Fi, and exactly what that is, I'll probably never know like most people.

  • K8N NEO4 Platinum cold boot problem with 165 opteron?

    I have this board and have a cold boot problem with my opteron. Is there anything I can do to fix this? Its starting to get very anooying.
    K8N NEO4 Platinum
    165 opty dual core
    2X1GB Ballistix PC4000
    160GB sata2
    7800GTX
    X-Fi platinum
    600 watt seasonic PSU

    Well I am running them at the rated speed of 250 and the rated timings of 3-4-4-10 on the rated 2.8 volts. Ballistix have been known to die quickly when you throw to many volts at them for some reason. I dont get the cold boot problem with the OCZ. Once I finally get it to boot with the Ballistix it works just fine but the next morning I play hell to get it to boot again. I dont even get the main screen to let me get into bios. It just stays black. I have done all kinds of stress testing and ran memtest with no problems. I am really at a loss here. 

  • Can I dual boot Mac with Windows?

    Hi all,
    At the moment I have Windows 7 32 bit OS. I've always wanted either an iMac, or atleast the Mac OS. I've recently found out it's only £20.99, and i've always thought it was a lot more than that, which is a bargain! The only thing which is stopping me from buying it at the moment, is that certain programs which I use reguarlarly won't work on Mac, and I really need those programs. Is their anyway I could dual-boot it with Windows 7, so I give Windows 7 say only 8gb of my hard drive, and Mac the rest?
    I will appreciate any answers, and thanks for tackling this for me!

    ryanroks1 wrote:
    Thanks for helping
    Is an Intel Mac just an Intel Processor, with Mac OS?
    Yes Macs changed to Intel Processors in about 2007. You can upgrade as far as Lion with a Core2Duel Processor or better. CoreDuos will only update as far as Snow Leopard.
    Hope this helps
    Pete

  • Can Tiger run a dual boot system with the two internal hard drives

    Can Mac run a dual boot system with the two internal hard drives both running Tiger?
    Dual 2.5GHz G5
    I am wanting to use one hard drive with Tiger to run my graphics stuff and then reboot and use the other hard drive for video.

    Yes, you can set that configuration up.
    (26293)

  • Hello I'm having problems with the installation of EFI 2.2 my macbook shutdown every time I try to install the actualization is this normal?

    Hello I'm having problems with the installation of EFI 2.2 my macbook shuts down every time I try to install the actualization is this normal?

    Hello I'm having problems with the installation of EFI 2.2 my macbook shuts down every time I try to install the actualization is this normal?

  • [SOLVED] Dual boot with Windows 8, problems after updating Windows

    Hi all,
    I have been maintaining a dual boot of arch and Windows 8 for some time. I recently updated Windows to 8.1, and found that the update process had two side effects:
    1) The update added a new partition in the middle of my file table, so my /etc/fstab which referenced "/dev/sda6" was wrong because that partition is now "/dev/sda7."
    2) The default boot device was switched to the Windows Boot Loader instead of grub. But, this is not a problem because I can work around this by using the "Choose boot device" feature of my bios at start up.
    So, neither of these problems are critical for me at the moment. I can fix my fstab and just press a hotkey at startup.
    EDIT: I have avoided the /etc/fstab issue by referencing my partitions using UUID as specified in https://wiki.archlinux.org/index.php/Fstab.
    How do I set the default boot device back to grub? There is some weirdness here, I think windows is using UEFI booting and my grub uses the old booting system.
    Last edited by bjmnbraun (2014-05-14 19:00:36)

    Rex: I tried that command, got some warning messages regarding blocklists, but no dice.
    Loqs: You are right about windows using a ESP and UEFI while my linux is not booting using UEFI. My bios is configured to try "Legacy boot" first before trying UEFI. Getting linux to boot using UEFI seemed like a pain, so...
    I went into my BIOS settings and found that the Windows Boot Manager boot device was listed in front of my hard disk (which boots linux). I don't think this used to be the case, so something about the update caused my BIOS to reorder the boot devices (probably because the partitions changed).
    Switching my hard disk to be above the Windows Boot Manager in the boot device list now makes me boot into linux by default, and I can boot into windows by pressing a hotkey at bootup and selecting the windows boot manager.

  • [SOLVED] Dual boot windows 7 and arch Linux with seperate hard drives

    Ok so I'm stuck trying to get my computer to dual boot windows 7 and arch. They are installed on different hard drives and I have grub 2 as the boot loader. I can't find any tutorials on how to do it with seperate hard drives I know how to do it if they are on the same hard drive. Also I want windows on the "first" hard drive how do I check to see which one it considers the first?
    Last edited by bdawg (2012-09-21 23:15:37)

    DSpider wrote:
    drobole wrote:If you want to change it so that sda becomes sdb and sdb becomes sda, you should be able to do that in BIOS.
    Not from the BIOS. He would need to physically open up the computer and switch the cables between them (or add another drive).
    There's no actual performance increase in changing this order. Performance increase is when you have the partitions as close to the beginning of a HDD as possible, where the platters spin faster (basic mechanics, not to be confused with CD/DVD, which are being written from the inside-out to prevent errors after extended usage), and it especially doesn't apply to SSDs whatsoever.
    You may be right about that. I remember I had to do this a while back but I probably switched the cables. It also messed up the drive mapping in Windows 98 if I remember correctly.

  • Boot problems with K8N NEO Platinum(no video). SOLVED

    I have this board for a few months now, but this week, when powering the system, it gave me no video.
    It reads the HD and after a  little while all the lights in the D-Bracket go green. But still no video.
    There are other simptoms that can help the diagnosis: sometimes i do get video, the system powers up perfectly. This happens when I repeatedly press the reset button, or try powering on and off, on and off...
    I don't think it is cold boot problem, since when I successfully turn on the system and then turn it off, the same boot problem occurs I I try turning it on again.
    Another thing is that when I turn it off through Windows, it doesnt actually turn off: the screen ges black, but the HD leds still blink for a looong time. I have to turn it off manually, then. Sometimes it actually turns off, but turn itself on again after 1 second.
    So if the D-Bracket sais its all good, then what is bad?
    My System specs are
    Athlon 64 Venice 3000
    1 Gb Corsair DDR
    Leadtek Geforce 6600GT

    Quote from: cyberoll on 19-April-06, 19:18:18
    Its solved now. There was a short circuit. The rouded isolators were placed in the upside of the board, and they should have been under the board. I changed it and all the problems are gone.
    Such a little thing... :D
    What is a "rouded isolator" and where is it located.  I would like to see if this will fix my problem.  The same thing is happening to me.
    Thanks

  • [SOLVED] Dual boot with ubuntu w/o installing GRUB? (YES)

    Hi all -
    This is my first shot at arch, tho I've installed a few other linux distros.
    So far I really appreciate the excellent documentation, especially compared to other linuxes!
    But I can't find a good answer to this question:
    I already have ubuntu installed and would like to dual-boot with arch.  (I also have Win7 but boot it from a separate disk selected via BIOS, and usually leave this disk disconnected anyway, so it's not an issue; grub doesn't know it exists).
    Q:  Before installing, can I make a new LOGICAL ext4 partition (say /dev/sda7),
    - then install arch on that **w/o installing grub** and **without messing with the MBR**,
    - then edit ubuntu's existing menu.lst to add arch to the boot options?
    Current $ fdisk -l
    /dev/sda1    ext4 primary/boot (/ for ubuntu)
    /dev/sda2    extended
    --/dev/sda6  linux-swap
    --/dev/sda5  NTFS (data - mp3s, etc)
    unallocated  480GB  --> Create new ext4 partition /dev/sda7,  (logical or primary? Prefer logical)
    Current menu.lst entry that I normally boot:
    title       Ubuntu 12.04 LTS, kernel 3.2.0-24-generic REGULAR
    uuid        UUIDforSDA1 (file has actual UUID number...)
    kernel      /boot/vmlinuz-3.2.0-24-generic root=UUID=UUIDforSDA1 ro
    initrd      /boot/initrd.img-3.2.0-24-generic
    and add something like this to menu.lst:
    title  Arch Linux
    uuid  UUIDforSDA7
    kernel /boot/vmlinuz-linux root=/dev/sda7/ARCH ro  (??? - from example in arch docs)
    initrd /boot/initramfs-linux.img
    or
    kernel /boot/vmlinuz-linux root=UUID=UUIDforSDA7 ro  (??? - like the ubuntu entry)
    I'd really like to NOT mess up booting ubuntu!  (Another option might be install arch to a separate disk with the ubuntu disk disconnected, then copy the whole install over via a USB adapter...I've done worse!)
    TIA for any help!
    Edit: so I guess there's three questions:
    1 - Can I install arch w/o installing grub & MBR messing-wth?
    2 - What's the correct syntax for menu.lst to access and boot arch?
    3 - Will this work?
    Last edited by Flemur (2012-05-25 15:24:18)

    Well, it worked and booted up first time - no grub install.
    The main hassle was merely creating a new ext4 partitions because "Partition Wizard" boot CD screwed up and I kept getting "Unable to update kernel until reboot" messages until I deleted and rebuilt all the partitions in the extended partition with puppy linux & gparted instead of Partition Wizard.
    In case others stumble upon this trhread, here's some info:
    The entry in the ubuntu (original) menu.lst was this:
       title           Arch Linux
       uuid          af7...etc...9f3c
       kernel        /boot/vmlinuz-linux root=UUID=af7...etc.f3c ro
       initrd          /boot/initramfs-linux.img
    I'm even posting this from arch/fluxbox/Firefox, although getting X set up with nvidia (PITA!) apparently required using a different pacman source:
    File "mirrorlist" now points to
        Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
    which wasn't in the original file.
    Then
    $ pacman -Su --> "/etc/mtab exists" --> delete it and something else broke,
    so
    $ pacman -Su --force --> worked fine (against official advice)
    Also: needed to install nvidia-utils and xorg-xinit
    Thanks again!

  • Is there any possible way I can dual boot Windows with OSX 10.7.2 on a MacBook Pro 15' from 2006?

    Hello,
    I am new to this forums.
    I have searched about dual boot win/mac, but couldn't find a clear answer, so I decided to post this now.
    I run a MacBook Pro 15' from 2006 (Intel based) and have upgraded it to OSX 10.7.2 Lion.
    I have tried to install windows 7 on a small (20GB) partition by using Bootcamp, but then I've received a notice saying that there was no windows support software available. However, I did install Windows 7 Professional by unchecking that box. After the installation I have downloaded the windows support software and tried to install it but then I've received a notice saying that I can't install it on this machine.
    Could you please give me any suggestions on how to dual boot win/mac, if it is possible at all using this machine? And how to safely go back to where I was before (with a single mac OSX 10.7.2 partition)?
    Thanks.

    This problem has been solved as I just needed to download Boot Camp 4.
    Can I delete this post?

Maybe you are looking for

  • Extracting Data from SAP ERP using BODI/Data Services 4.0

    HI, I am trying to extract data from SAP ERP via SAP extractors using BODI/Data Services 4.0. I do not have my own ERP system so I am renting remote access from one of the many available on the internet. I am able to connect BODI to the ERP system an

  • Hyperlinks in emails fail to work

    When I receive an email in my mail client (Outlook or Windows Live Mail) if I click a hyperlink in the message it shows an error "There was a problem sending the command to the program" all previous versions of Firefox have worked fine with hyperlink

  • How do i change margins in numbers in 3.0.1

    How do i change the margins. everything in printing off the page. Why would they take away margins and Print View

  • How do I transfer windows mail to imail?

    I am switching from my Windows PC to my new MacBook Air and I would like to transfer my windows mail files to imail.  Is this possible?  If so, please proide instructions. Thanks,

  • Insert br/ in c:out...

    Hi there, I'd like to know any recommended and stilish way to parse string variables in <c:out...> and insert tag for every carriage return. I am trying to avoid making special get()'s to make the javabean return the text in HTML only for that reason