(Solved) Dual boot on netbook "A disk read error occurred"

If none of the more specific forums is the right place to ask

(Solved) Dual boot on netbook "A disk read error occurred"

Postby Hallvor » 2010-01-30 19:13

I bought a netbook (Acer Aspire One A150) and tried setting up a dual boot with Windows and Debian Lenny. Shrinked the Windows partition to 20 GB after defrag and used the rest for Lenny.

The Linux partition boots just fine, but not Windows. Here is what I get:

Code: Select all
Booting 'windows'

rootnoverify (hd0,1)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1

A disk read error occurred
Press Ctrl+Alt+Del to restart


I did not test if Windows worked after I shrinked it, but I was able to run a system recovery with no errors just in case there was any corruption.

Here is the output of fdisk -l:

Code: Select all
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x11a8ba38


 Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         764     6136798+  12  Compaq diagnostics
/dev/sdb2             765        3240    19888470    7  HPFS/NTFS
/dev/sdb3            3241       19457   130263052+   5  Extended
/dev/sdb5            3241        3514     2200873+  82  Linux swap / Solaris
/dev/sdb6            3515        6112    20868403+  83  Linux
/dev/sdb7            6113       19457   107193681   83  Linux


sdb1 is probably the recovery partition, sdb2 is the Windows partition I am trying to boot into.

Any ideas what to do?
Last edited by Hallvor on 2010-01-30 21:29, edited 1 time in total.
Laptop: Intel Core i5 3210-M CPU @ 2.50 GHz, 16 GB RAM, Intel HD 4000 graphics, 128 GB SSD + 1 TB HDD, Debian Wheezy (KDE)
Media center/seedbox: Raspberry Pi, Raspbian (LXDE)
User avatar
Hallvor
 
Posts: 472
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway

Re: Dual boot on netbook "A disk read error occurred"

Postby peter_irich » 2010-01-30 20:17

Where is /dev/sda and what is on it?
Is grub installed and in what partition?
Show your grub.conf (menu.lst).
I have Acer with one hdd IDE interface, partition with Windows (/dev/hda2) is active,
grub is installed in /dev/hda2, the rest of the menu.lst is

title Microsoft Windows
root (hd0,1)
savedefault
makeactive
chainloader +1

Peter.
peter_irich
 
Posts: 921
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russia

Re: Dual boot on netbook "A disk read error occurred"

Postby Hallvor » 2010-01-30 20:54

Sorry for the confusion. sda was just my usb memstick. I`ll give you the new data:

[root@localhost hallvor]# /sbin/fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x11a8ba38

Device Boot Start End Blocks Id System
/dev/sda1 * 1 764 6136798+ 12 Compaq diagnostics
/dev/sda2 765 3240 19888470 7 HPFS/NTFS
/dev/sda3 3241 19457 130263052+ 5 Extended
/dev/sda5 3241 3514 2200873+ 82 Linux swap / Solaris
/dev/sda6 3515 6112 20868403+ 83 Linux
/dev/sda7 6113 19457 107193681 83 Linux
[root@localhost hallvor]#

Grub is installed on /dev/sda I think.

Here is the output of menu.lst:

[root@localhost hallvor]# cat /boot/grub/menu.lst
timeout 10
color black/cyan yellow/cyan
default 0

title linux
kernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=9c67842c-d28c-4cfc-80ec-65b6df5746e4 acpi=on resume=UUID=2f230b89-7587-4654-8d08-3de676d34398
initrd (hd0,5)/boot/initrd.img

title failsafe
kernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=9c67842c-d28c-4cfc-80ec-65b6df5746e4 failsafe acpi=on
initrd (hd0,5)/boot/initrd.img

title windows
rootnoverify (hd0,1)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1

title windows1
root (hd0,0)
makeactive
chainloader +1
[root@localhost hallvor]#



Edit: I changed the entry for Windows XP in /boot/grub/menu.lst to

title Microsoft Windows
root (hd0,1)
savedefault
makeactive
chainloader +1

AND IT WORKED!!!!!!!! :)))))))

Thanks a lot!
Laptop: Intel Core i5 3210-M CPU @ 2.50 GHz, 16 GB RAM, Intel HD 4000 graphics, 128 GB SSD + 1 TB HDD, Debian Wheezy (KDE)
Media center/seedbox: Raspberry Pi, Raspbian (LXDE)
User avatar
Hallvor
 
Posts: 472
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway


Return to General Questions

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable