Results 1 to 10 of 15
Hi
I just pArtitioned my acer one netbook and installed fedora 12 to half my disk.
Fedora is working just fine but when I try to boot I into 2 ...
- 05-02-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 8
Booting into windows with partition
Hi
I just pArtitioned my acer one netbook and installed fedora 12 to half my disk.
Fedora is working just fine but when I try to boot I into 2 options.
" completely restore system to factory defaults" and "restore operating system and
retain user data". Should I do Any of these or should I reinstall windows? Thanks for your help!
TomLast edited by Thomasf45; 05-02-2010 at 01:10 AM. Reason: When I try to open windows partition is where the problem lies
- 05-02-2010 #2
Hi and Welcome !
We have to check partition structure of your Hard disk first. Boot up Fedora and execute fdisk -l command in Terminal.
Post output here.Code:su - /sbin/fdisk -l
* Its small L in fdisk -l command.
Post the contents of /boot/grub/grub.conf file too.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-02-2010 #3Just Joined!
- Join Date
- Apr 2010
- Posts
- 8
/sbin/fdisk: invalid option -- '1'
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
thanks for a speedy reply!!
- 05-02-2010 #4
As I mentioned in last post, its small L in fdisk -l not One.
Code:su - /sbin/fdisk -l
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-02-2010 #5Just Joined!
- Join Date
- Apr 2010
- Posts
- 8
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9a0d38ea
Device Boot Start End Blocks Id System
/dev/sda1 1 914 7341673+ 12 Compaq diagnostics
/dev/sda2 * 915 9838 71681655 7 HPFS/NTFS
/dev/sda3 9839 9966 1024000 83 Linux
/dev/sda4 9967 19457 76236457+ 5 Extended
/dev/sda5 9967 18253 66560000 83 Linux
/dev/sda6 18253 18699 3583999+ 82 Linux swap / Solaris
You have mail in /var/spool/mail/root
sorry : (
- 05-02-2010 #6
There is only one NTFS Partition, 2 Linux partitions and 1 SWAP. Did you create separate /home partition?
Post the contents of /boot/grub/grub.conf and /etc/fstab files here.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-02-2010 #7Just Joined!
- Join Date
- Apr 2010
- Posts
- 8
if i type in /boot/grub/grub.conf or /etc/fstab its says no file or directory when i am in root.... what do i have to type to show whats in them... sorry for not knowing....
- 05-02-2010 #8
You can use less or cat command to check contents of these files.
Or Navigate to /boot/grub folder in Nautilus ( Gnome ) or Konqueror ( KDE ).Code:less /boot/grub/grub.conf
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-02-2010 #9Just Joined!
- Join Date
- Apr 2010
- Posts
- 8
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/sda5
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.32.11-99.fc12.i686)
root (hd0,2)
kernel /vmlinuz-2.6.32.11-99.fc12.i686 ro root=UUID=970fb0b3-75bf-475f-afe9-0d6cb26ef147 noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.32.11-99.fc12.i686.img
title Fedora (2.6.31.5-127.fc12.i686)
root (hd0,2)
kernel /vmlinuz-2.6.31.5-127.fc12.i686 ro root=UUID=970fb0b3-75bf-475f-afe9-0d6cb26ef147 noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.31.5-127.fc12.i686.img
title Other
rootnoverify (hd0,0)
chainloader +1
(END)
#
# /etc/fstab
# Created by anaconda on Thu Apr 8 10:41:31 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(
, mount(
and/or blkid(
for more info
#
UUID=970fb0b3-75bf-475f-afe9-0d6cb26ef147 / ext4 defaults 1 1
UUID=1de43e35-5a4b-4dba-857b-3bb5f587196b /boot ext4 defaults 1 2
UUID=bfdc44a2-2e1a-4466-904e-904e597aa3bd swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/etc/fstab (END)
- 05-02-2010 #10
Execute this
Above command will open grub.conf file in nano editor. Put # sign before hiddenmenu line and replace (hd0,0) with (hd0,1) in rootnoverify line.Code:su - nano /boot/grub/grub.conf
Replace title other with anything you want.Code:#hiddenmenu
Press Ctrl+X, Y and hit Enter key to save file. Reboot machine.Code:title Windows OS rootnoverify (hd0,1) chainloader +1
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
