Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

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

#1 Post by Hallvor »

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.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

peter_irich
Posts: 1403
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

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

#2 Post by peter_irich »

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.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

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

#3 Post by Hallvor »

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!
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

Post Reply