Posts: 54
SaminBare
Joined: 30 May 2010
#1
Here's hdd info on a Dell Inspiron 530 I'm working on for a friend:
root@xxxxxxx:/etc# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x596dfeb6

Device Boot Start End Blocks Id System

/dev/sda1 43287 44353 8570677+ 83 Linux
/dev/sda2 1 1917 15398271 7 HPFS/NTFS
/dev/sda3 * 1918 43286 332286996 7 HPFS/NTFS
/dev/sda4 44354 60801 132118560 5 Extended
/dev/sda5 44354 60018 125829081 83 Linux
/dev/sda6 60019 60618 4819468+ 83 Linux
/dev/sda7 60619 60801 1469916 82 Linux swap / Solaris

Partition table entries are not in disk order
------------------------------------------------------------------
/etc/fstab
# Pluggable devices are handled by uDev, they are not in fstab

/dev/sda1 / auto defaults,noatime 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
/dev/sda7 swap swap sw, 0 0
/dev/sda5 /mnt/sda5 ext4 auto,users,exec,relatime 0 0

# Dynamic entries below

/dev/sda2 /mnt/sda2 ntfs-3g noauto,users,noexec,uid=1000,gid=users,dmask=002,fmask=113,relatime 0 0
/dev/sda3 /mnt/sda3 ntfs-3g noauto,users,noexec,uid=1000,gid=users,dmask=002,fmask=113,relatime 0 0
/dev/sda6 /mnt/sda6 reiserfs noauto,users,exec,relatime,notail 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/sr0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
------------------------------------------------------------------
PROBLEM: User needs Windows Vista 64-bit to boot first on dual-boot; antiX now boots first after installing GRUB to MBR.
User wants to use EasyBCD as boot loader

How do I make it so? I'm on the road visiting and do not have all my usual resources. I need to learn to do this.

BTW, antiX keeps looking and functioning better all the time! I hear about it more and more in the GNU/Linux forums -- Great work anti, et al!

It's good to be back after some months. Why I wander, I don't know. Like my present home in south-central WA, I keep coming back to it. I'll stay.

Thanks in for past help and now in advance to OHH, secipola, Erie Fisher, that one from below Carlsbad, and others . . .
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
User wants to use EasyBCD as boot loader
Why?

Then let him edit/install/whatever easybcd menu list __{{emoticon}}__ .

/boot/grub/menu.lst is pretty simple to edit by moving Windows entry in list by copy and paste to top of boot order. I would just comment out=# , original entry below to keep as a backup (for the syntax).

In next post. Post his /boot/grub/menu.lst in code tags

Code: Select all

like this
and I am sure we can move Windows to the top of list in grub.

EasyBCD. __{{emoticon}}__

I have no clue. Same same for Windows.ini.

A

Code: Select all

#fdisk -l
and a

Code: Select all

#bklid
won't hurt to post in next post also.
Posts: 54
SaminBare
Joined: 30 May 2010
#3
As seen from the below, rokytnji,"Windows Vista" is not found anywhere in the outputs requested.

Code: Select all

root@xxxxxxx:~# cat /boot/grub/menu.lst
timeout 10
color cyan/blue white/blue
foreground ffffff
background 0639a1
gfxmenu /boot/grub/message

title antiX M11
root (hd0,0)
kernel /boot/vmlinuz-2.6.36-1-mepis-smp root=/dev/sda1 vga=791 quiet nosplash nouveau.modeset=0 
initrd /boot/initrd.img-2.6.36-1-mepis-smp
boot
### 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=280be774-2452-49ea-8fd4-ab18563e455a ro
# kopt_2_6=root=UUID=280be774-2452-49ea-8fd4-ab18563e455a ro nosplash quiet nouveau.modeset=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## 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=

## 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=(single-user) single
# altoptions=(init-3) 3

## 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

## 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        antiX-M11, kernel 2.6.36-1-mepis-smp
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.36-1-mepis-smp root=UUID=280be774-2452-49ea-8fd4-ab18563e455a ro nosplash quiet nouveau.modeset=0 
initrd        /boot/initrd.img-2.6.36-1-mepis-smp

title        antiX-M11, kernel 2.6.36-1-mepis-smp (init-3)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.36-1-mepis-smp root=UUID=280be774-2452-49ea-8fd4-ab18563e455a ro nosplash quiet nouveau.modeset=0 3
initrd        /boot/initrd.img-2.6.36-1-mepis-smp

title        antiX-M11, kernel memtest86+
root        (hd0,0)
kernel        /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

root@xxxxxxx:~# bklid
-su: bklid: command not found

root@xxxxxxx:~# blkid
/dev/sda1: LABEL="/" UUID="280be774-2452-49ea-8fd4-ab18563e455a" TYPE="ext4" 
/dev/sda2: LABEL="RECOVERY" UUID="B874D42D74D3EBDE" TYPE="ntfs" 
/dev/sda3: LABEL="OS" UUID="B8C4D651C4D6118C" TYPE="ntfs" 
/dev/sda5: UUID="020b3780-24e9-4f83-8a0e-5f3032cd5418" TYPE="ext4" 
/dev/sda6: LABEL="/tmp" UUID="17ad0fd3-bda3-44b3-a600-5c374230dd58" TYPE="reiserfs" 
/dev/sda7: UUID="4b6662fe-5a42-49c2-878a-06d822224d54" TYPE="swap" 

Overwriting the MBR appears to be a primary mistake.
Posts: 54
SaminBare
Joined: 30 May 2010
#4
Added this to /boot/grub/menu.lst per suggestion

Code: Select all

title vista
rootnoverify (hd0,2)
chainloader +1
and it did the trick! :D