Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> Finding A partition, finding partition to use in grub
post Mar 13 2009, 04:46 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 4
Joined: 13-March 09
Member No.: 14,163

Hi, I have recently have made some space to install a xp partition, after installing xp on the free space I messed up my bootloader, I have managed to fix it so I can access the grub boot menu and boot into ubuntu.

I need to find out how to find what partition my xp is installed on so I can enter the correct entry in the /grub/menu.lst file.


title Ubuntu 8.10, kernel 2.6.27-11-generic
uuid c69aa91d-d9b9-4054-8ef5-01b3c1dc20cd
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=c69aa91d-d9b9-4054-8ef5-01b3c1dc20cd ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic


title Windows
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader +1

is there any commands I can use so I can choose the correct "hd0, hd1" I dont really know what the map commands are as well.

Edit here is the command which may list something useful
sudo 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: 0xb8e74969

Device Boot Start End Blocks Id System
/dev/sda1 1 15562 125001733+ 83 Linux
/dev/sda2 * 15563 18701 25214017+ 7 HPFS/NTFS
/dev/sda3 18702 19457 6072570 5 Extended
/dev/sda5 18702 19457 6072538+ 82 Linux swap / Solaris

Thanks, any help is appreciated.
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 17th July 2018 - 12:23 AM